7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
11#include <aws/imagebuilder/model/Schedule.h>
12#include <aws/imagebuilder/model/PipelineStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/imagebuilder/model/WorkflowConfiguration.h>
18#include <aws/core/utils/UUID.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
74 template<
typename ImageRecipeArnT = Aws::String>
75 void SetImageRecipeArn(ImageRecipeArnT&& value) { m_imageRecipeArnHasBeenSet =
true; m_imageRecipeArn = std::forward<ImageRecipeArnT>(value); }
76 template<
typename ImageRecipeArnT = Aws::String>
87 template<
typename ContainerRecipeArnT = Aws::String>
88 void SetContainerRecipeArn(ContainerRecipeArnT&& value) { m_containerRecipeArnHasBeenSet =
true; m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value); }
89 template<
typename ContainerRecipeArnT = Aws::String>
100 template<
typename InfrastructureConfigurationArnT = Aws::String>
101 void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT&& value) { m_infrastructureConfigurationArnHasBeenSet =
true; m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value); }
102 template<
typename InfrastructureConfigurationArnT = Aws::String>
113 template<
typename DistributionConfigurationArnT = Aws::String>
114 void SetDistributionConfigurationArn(DistributionConfigurationArnT&& value) { m_distributionConfigurationArnHasBeenSet =
true; m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value); }
115 template<
typename DistributionConfigurationArnT = Aws::String>
125 template<
typename ImageTestsConfigurationT = ImageTestsConfiguration>
126 void SetImageTestsConfiguration(ImageTestsConfigurationT&& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value); }
127 template<
typename ImageTestsConfigurationT = ImageTestsConfiguration>
150 template<
typename ScheduleT = Schedule>
151 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
152 template<
typename ScheduleT = Schedule>
172 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
174 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
178 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
191 template<
typename ClientTokenT = Aws::String>
192 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
193 template<
typename ClientTokenT = Aws::String>
203 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
204 void SetImageScanningConfiguration(ImageScanningConfigurationT&& value) { m_imageScanningConfigurationHasBeenSet =
true; m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value); }
205 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
215 template<
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
216 void SetWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet =
true; m_workflows = std::forward<WorkflowsT>(value); }
217 template<
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
219 template<
typename WorkflowsT = WorkflowConfiguration>
230 template<
typename ExecutionRoleT = Aws::String>
231 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
232 template<
typename ExecutionRoleT = Aws::String>
238 bool m_nameHasBeenSet =
false;
241 bool m_descriptionHasBeenSet =
false;
244 bool m_imageRecipeArnHasBeenSet =
false;
247 bool m_containerRecipeArnHasBeenSet =
false;
250 bool m_infrastructureConfigurationArnHasBeenSet =
false;
253 bool m_distributionConfigurationArnHasBeenSet =
false;
255 ImageTestsConfiguration m_imageTestsConfiguration;
256 bool m_imageTestsConfigurationHasBeenSet =
false;
258 bool m_enhancedImageMetadataEnabled{
false};
259 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
262 bool m_scheduleHasBeenSet =
false;
265 bool m_statusHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
271 bool m_clientTokenHasBeenSet =
true;
273 ImageScanningConfiguration m_imageScanningConfiguration;
274 bool m_imageScanningConfigurationHasBeenSet =
false;
277 bool m_workflowsHasBeenSet =
false;
280 bool m_executionRoleHasBeenSet =
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
AWS_IMAGEBUILDER_API CreateImagePipelineRequest()=default
const Aws::String & GetDistributionConfigurationArn() const
void SetContainerRecipeArn(ContainerRecipeArnT &&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
CreateImagePipelineRequest & WithExecutionRole(ExecutionRoleT &&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 & 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 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 & 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)
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 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