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));
256 template <
typename ClientTokenT = Aws::String>
258 m_clientTokenHasBeenSet =
true;
259 m_clientToken = std::forward<ClientTokenT>(value);
261 template <
typename ClientTokenT = Aws::String>
274 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
276 m_imageScanningConfigurationHasBeenSet =
true;
277 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
279 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
292 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
294 m_workflowsHasBeenSet =
true;
295 m_workflows = std::forward<WorkflowsT>(value);
297 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
302 template <
typename WorkflowsT = WorkflowConfiguration>
304 m_workflowsHasBeenSet =
true;
305 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
317 template <
typename ExecutionRoleT = Aws::String>
319 m_executionRoleHasBeenSet =
true;
320 m_executionRole = std::forward<ExecutionRoleT>(value);
322 template <
typename ExecutionRoleT = Aws::String>
335 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
337 m_loggingConfigurationHasBeenSet =
true;
338 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
340 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
359 ImageTestsConfiguration m_imageTestsConfiguration;
361 bool m_enhancedImageMetadataEnabled{
false};
371 ImageScanningConfiguration m_imageScanningConfiguration;
377 PipelineLoggingConfiguration m_loggingConfiguration;
378 bool m_nameHasBeenSet =
false;
379 bool m_descriptionHasBeenSet =
false;
380 bool m_imageRecipeArnHasBeenSet =
false;
381 bool m_containerRecipeArnHasBeenSet =
false;
382 bool m_infrastructureConfigurationArnHasBeenSet =
false;
383 bool m_distributionConfigurationArnHasBeenSet =
false;
384 bool m_imageTestsConfigurationHasBeenSet =
false;
385 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
386 bool m_scheduleHasBeenSet =
false;
387 bool m_statusHasBeenSet =
false;
388 bool m_tagsHasBeenSet =
false;
389 bool m_clientTokenHasBeenSet =
true;
390 bool m_imageScanningConfigurationHasBeenSet =
false;
391 bool m_workflowsHasBeenSet =
false;
392 bool m_executionRoleHasBeenSet =
false;
393 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
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 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 & 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 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