7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/imagebuilder/ImagebuilderRequest.h>
12#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
13#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
14#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
15#include <aws/imagebuilder/model/PipelineLoggingConfiguration.h>
16#include <aws/imagebuilder/model/PipelineStatus.h>
17#include <aws/imagebuilder/model/Schedule.h>
18#include <aws/imagebuilder/model/WorkflowConfiguration.h>
23namespace imagebuilder {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
83 template <
typename ImageRecipeArnT = Aws::String>
85 m_imageRecipeArnHasBeenSet =
true;
86 m_imageRecipeArn = std::forward<ImageRecipeArnT>(value);
88 template <
typename ImageRecipeArnT = Aws::String>
102 template <
typename ContainerRecipeArnT = Aws::String>
104 m_containerRecipeArnHasBeenSet =
true;
105 m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value);
107 template <
typename ContainerRecipeArnT = Aws::String>
121 template <
typename InfrastructureConfigurationArnT = Aws::String>
123 m_infrastructureConfigurationArnHasBeenSet =
true;
124 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
126 template <
typename InfrastructureConfigurationArnT = Aws::String>
140 template <
typename DistributionConfigurationArnT = Aws::String>
142 m_distributionConfigurationArnHasBeenSet =
true;
143 m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value);
145 template <
typename DistributionConfigurationArnT = Aws::String>
158 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
160 m_imageTestsConfigurationHasBeenSet =
true;
161 m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value);
163 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
180 m_enhancedImageMetadataEnabledHasBeenSet =
true;
181 m_enhancedImageMetadataEnabled = value;
195 template <
typename ScheduleT = Schedule>
197 m_scheduleHasBeenSet =
true;
198 m_schedule = std::forward<ScheduleT>(value);
200 template <
typename ScheduleT = Schedule>
214 m_statusHasBeenSet =
true;
229 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
231 m_tagsHasBeenSet =
true;
232 m_tags = std::forward<TagsT>(value);
234 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
236 SetTags(std::forward<TagsT>(value));
239 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
241 m_tagsHasBeenSet =
true;
242 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
253 template <
typename ImageTagsT = Aws::Map<Aws::String, Aws::String>>
255 m_imageTagsHasBeenSet =
true;
256 m_imageTags = std::forward<ImageTagsT>(value);
258 template <
typename ImageTagsT = Aws::Map<Aws::String, Aws::String>>
263 template <
typename ImageTagsKeyT = Aws::String,
typename ImageTagsValueT = Aws::String>
265 m_imageTagsHasBeenSet =
true;
266 m_imageTags.emplace(std::forward<ImageTagsKeyT>(key), std::forward<ImageTagsValueT>(value));
280 template <
typename ClientTokenT = Aws::String>
282 m_clientTokenHasBeenSet =
true;
283 m_clientToken = std::forward<ClientTokenT>(value);
285 template <
typename ClientTokenT = Aws::String>
298 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
300 m_imageScanningConfigurationHasBeenSet =
true;
301 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
303 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
316 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
318 m_workflowsHasBeenSet =
true;
319 m_workflows = std::forward<WorkflowsT>(value);
321 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
326 template <
typename WorkflowsT = WorkflowConfiguration>
328 m_workflowsHasBeenSet =
true;
329 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
341 template <
typename ExecutionRoleT = Aws::String>
343 m_executionRoleHasBeenSet =
true;
344 m_executionRole = std::forward<ExecutionRoleT>(value);
346 template <
typename ExecutionRoleT = Aws::String>
359 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
361 m_loggingConfigurationHasBeenSet =
true;
362 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
364 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
383 ImageTestsConfiguration m_imageTestsConfiguration;
385 bool m_enhancedImageMetadataEnabled{
false};
397 ImageScanningConfiguration m_imageScanningConfiguration;
403 PipelineLoggingConfiguration m_loggingConfiguration;
404 bool m_nameHasBeenSet =
false;
405 bool m_descriptionHasBeenSet =
false;
406 bool m_imageRecipeArnHasBeenSet =
false;
407 bool m_containerRecipeArnHasBeenSet =
false;
408 bool m_infrastructureConfigurationArnHasBeenSet =
false;
409 bool m_distributionConfigurationArnHasBeenSet =
false;
410 bool m_imageTestsConfigurationHasBeenSet =
false;
411 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
412 bool m_scheduleHasBeenSet =
false;
413 bool m_statusHasBeenSet =
false;
414 bool m_tagsHasBeenSet =
false;
415 bool m_imageTagsHasBeenSet =
false;
416 bool m_clientTokenHasBeenSet =
true;
417 bool m_imageScanningConfigurationHasBeenSet =
false;
418 bool m_workflowsHasBeenSet =
false;
419 bool m_executionRoleHasBeenSet =
false;
420 bool m_loggingConfigurationHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
void SetDistributionConfigurationArn(DistributionConfigurationArnT &&value)
bool DistributionConfigurationArnHasBeenSet() const
bool ContainerRecipeArnHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
PipelineStatus GetStatus() const
const Aws::String & GetDescription() const
void SetStatus(PipelineStatus value)
bool DescriptionHasBeenSet() const
void SetImageTags(ImageTagsT &&value)
AWS_IMAGEBUILDER_API CreateImagePipelineRequest()=default
const Aws::String & GetDistributionConfigurationArn() const
void SetContainerRecipeArn(ContainerRecipeArnT &&value)
CreateImagePipelineRequest & WithImageTags(ImageTagsT &&value)
bool ImageTestsConfigurationHasBeenSet() const
CreateImagePipelineRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetClientToken(ClientTokenT &&value)
CreateImagePipelineRequest & WithWorkflows(WorkflowsT &&value)
CreateImagePipelineRequest & WithImageRecipeArn(ImageRecipeArnT &&value)
const Aws::String & GetExecutionRole() const
bool ImageScanningConfigurationHasBeenSet() const
bool ImageRecipeArnHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetImageTags() const
CreateImagePipelineRequest & WithExecutionRole(ExecutionRoleT &&value)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
void SetImageRecipeArn(ImageRecipeArnT &&value)
const Aws::String & GetName() const
CreateImagePipelineRequest & WithContainerRecipeArn(ContainerRecipeArnT &&value)
void SetSchedule(ScheduleT &&value)
CreateImagePipelineRequest & WithTags(TagsT &&value)
bool ScheduleHasBeenSet() const
void SetName(NameT &&value)
bool ClientTokenHasBeenSet() const
CreateImagePipelineRequest & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
CreateImagePipelineRequest & WithDistributionConfigurationArn(DistributionConfigurationArnT &&value)
CreateImagePipelineRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
CreateImagePipelineRequest & WithDescription(DescriptionT &&value)
bool WorkflowsHasBeenSet() const
bool InfrastructureConfigurationArnHasBeenSet() const
void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetContainerRecipeArn() const
bool LoggingConfigurationHasBeenSet() const
bool StatusHasBeenSet() const
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
bool ExecutionRoleHasBeenSet() const
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
bool TagsHasBeenSet() const
CreateImagePipelineRequest & AddWorkflows(WorkflowsT &&value)
CreateImagePipelineRequest & WithName(NameT &&value)
const Aws::String & GetImageRecipeArn() const
CreateImagePipelineRequest & AddImageTags(ImageTagsKeyT &&key, ImageTagsValueT &&value)
CreateImagePipelineRequest & WithEnhancedImageMetadataEnabled(bool value)
CreateImagePipelineRequest & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
CreateImagePipelineRequest & WithSchedule(ScheduleT &&value)
const Aws::String & GetInfrastructureConfigurationArn() const
bool EnhancedImageMetadataEnabledHasBeenSet() const
void SetExecutionRole(ExecutionRoleT &&value)
CreateImagePipelineRequest & WithStatus(PipelineStatus value)
void SetDescription(DescriptionT &&value)
const Schedule & GetSchedule() const
CreateImagePipelineRequest & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
const PipelineLoggingConfiguration & GetLoggingConfiguration() const
CreateImagePipelineRequest & WithClientToken(ClientTokenT &&value)
bool GetEnhancedImageMetadataEnabled() const
void SetTags(TagsT &&value)
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
const ImageTestsConfiguration & GetImageTestsConfiguration() const
void SetEnhancedImageMetadataEnabled(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ImageTagsHasBeenSet() const
bool NameHasBeenSet() const
void SetWorkflows(WorkflowsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector