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 {
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
67 template <
typename DescriptionT = Aws::String>
69 m_descriptionHasBeenSet =
true;
70 m_description = std::forward<DescriptionT>(value);
72 template <
typename DescriptionT = Aws::String>
87 template <
typename ImageRecipeArnT = Aws::String>
89 m_imageRecipeArnHasBeenSet =
true;
90 m_imageRecipeArn = std::forward<ImageRecipeArnT>(value);
92 template <
typename ImageRecipeArnT = Aws::String>
107 template <
typename ContainerRecipeArnT = Aws::String>
109 m_containerRecipeArnHasBeenSet =
true;
110 m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value);
112 template <
typename ContainerRecipeArnT = Aws::String>
126 template <
typename InfrastructureConfigurationArnT = Aws::String>
128 m_infrastructureConfigurationArnHasBeenSet =
true;
129 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
131 template <
typename InfrastructureConfigurationArnT = Aws::String>
145 template <
typename DistributionConfigurationArnT = Aws::String>
147 m_distributionConfigurationArnHasBeenSet =
true;
148 m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value);
150 template <
typename DistributionConfigurationArnT = Aws::String>
165 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
167 m_imageTestsConfigurationHasBeenSet =
true;
168 m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value);
170 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
186 m_enhancedImageMetadataEnabledHasBeenSet =
true;
187 m_enhancedImageMetadataEnabled = value;
202 template <
typename ScheduleT = Schedule>
204 m_scheduleHasBeenSet =
true;
205 m_schedule = std::forward<ScheduleT>(value);
207 template <
typename ScheduleT = Schedule>
223 m_statusHasBeenSet =
true;
238 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
240 m_tagsHasBeenSet =
true;
241 m_tags = std::forward<TagsT>(value);
243 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
245 SetTags(std::forward<TagsT>(value));
248 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
250 m_tagsHasBeenSet =
true;
251 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
265 template <
typename ImageTagsT = Aws::Map<Aws::String, Aws::String>>
267 m_imageTagsHasBeenSet =
true;
268 m_imageTags = std::forward<ImageTagsT>(value);
270 template <
typename ImageTagsT = Aws::Map<Aws::String, Aws::String>>
275 template <
typename ImageTagsKeyT = Aws::String,
typename ImageTagsValueT = Aws::String>
277 m_imageTagsHasBeenSet =
true;
278 m_imageTags.emplace(std::forward<ImageTagsKeyT>(key), std::forward<ImageTagsValueT>(value));
294 template <
typename ClientTokenT = Aws::String>
296 m_clientTokenHasBeenSet =
true;
297 m_clientToken = std::forward<ClientTokenT>(value);
299 template <
typename ClientTokenT = Aws::String>
313 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
315 m_imageScanningConfigurationHasBeenSet =
true;
316 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
318 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
333 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
335 m_workflowsHasBeenSet =
true;
336 m_workflows = std::forward<WorkflowsT>(value);
338 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
343 template <
typename WorkflowsT = WorkflowConfiguration>
345 m_workflowsHasBeenSet =
true;
346 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
358 template <
typename ExecutionRoleT = Aws::String>
360 m_executionRoleHasBeenSet =
true;
361 m_executionRole = std::forward<ExecutionRoleT>(value);
363 template <
typename ExecutionRoleT = Aws::String>
381 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
383 m_loggingConfigurationHasBeenSet =
true;
384 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
386 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
402 m_dryRunHasBeenSet =
true;
423 ImageTestsConfiguration m_imageTestsConfiguration;
425 bool m_enhancedImageMetadataEnabled{
false};
437 ImageScanningConfiguration m_imageScanningConfiguration;
443 PipelineLoggingConfiguration m_loggingConfiguration;
445 bool m_dryRun{
false};
446 bool m_nameHasBeenSet =
false;
447 bool m_descriptionHasBeenSet =
false;
448 bool m_imageRecipeArnHasBeenSet =
false;
449 bool m_containerRecipeArnHasBeenSet =
false;
450 bool m_infrastructureConfigurationArnHasBeenSet =
false;
451 bool m_distributionConfigurationArnHasBeenSet =
false;
452 bool m_imageTestsConfigurationHasBeenSet =
false;
453 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
454 bool m_scheduleHasBeenSet =
false;
455 bool m_statusHasBeenSet =
false;
456 bool m_tagsHasBeenSet =
false;
457 bool m_imageTagsHasBeenSet =
false;
458 bool m_clientTokenHasBeenSet =
true;
459 bool m_imageScanningConfigurationHasBeenSet =
false;
460 bool m_workflowsHasBeenSet =
false;
461 bool m_executionRoleHasBeenSet =
false;
462 bool m_loggingConfigurationHasBeenSet =
false;
463 bool m_dryRunHasBeenSet =
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
CreateImagePipelineRequest & WithDryRun(bool value)
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
void SetDryRun(bool value)
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 DryRunHasBeenSet() const
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