7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/ImagebuilderRequest.h>
11#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
12#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
13#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
14#include <aws/imagebuilder/model/PipelineLoggingConfiguration.h>
15#include <aws/imagebuilder/model/PipelineStatus.h>
16#include <aws/imagebuilder/model/Schedule.h>
17#include <aws/imagebuilder/model/WorkflowConfiguration.h>
22namespace imagebuilder {
46 template <
typename ImagePipelineArnT = Aws::String>
48 m_imagePipelineArnHasBeenSet =
true;
49 m_imagePipelineArn = std::forward<ImagePipelineArnT>(value);
51 template <
typename ImagePipelineArnT = Aws::String>
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>
101 template <
typename ContainerRecipeArnT = Aws::String>
103 m_containerRecipeArnHasBeenSet =
true;
104 m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value);
106 template <
typename ContainerRecipeArnT = Aws::String>
120 template <
typename InfrastructureConfigurationArnT = Aws::String>
122 m_infrastructureConfigurationArnHasBeenSet =
true;
123 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
125 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;
232 template <
typename ClientTokenT = Aws::String>
234 m_clientTokenHasBeenSet =
true;
235 m_clientToken = std::forward<ClientTokenT>(value);
237 template <
typename ClientTokenT = Aws::String>
250 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
252 m_imageScanningConfigurationHasBeenSet =
true;
253 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
255 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
268 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
270 m_workflowsHasBeenSet =
true;
271 m_workflows = std::forward<WorkflowsT>(value);
273 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
278 template <
typename WorkflowsT = WorkflowConfiguration>
280 m_workflowsHasBeenSet =
true;
281 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
293 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
295 m_loggingConfigurationHasBeenSet =
true;
296 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
298 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
312 template <
typename ExecutionRoleT = Aws::String>
314 m_executionRoleHasBeenSet =
true;
315 m_executionRole = std::forward<ExecutionRoleT>(value);
317 template <
typename ExecutionRoleT = Aws::String>
336 ImageTestsConfiguration m_imageTestsConfiguration;
338 bool m_enhancedImageMetadataEnabled{
false};
346 ImageScanningConfiguration m_imageScanningConfiguration;
350 PipelineLoggingConfiguration m_loggingConfiguration;
353 bool m_imagePipelineArnHasBeenSet =
false;
354 bool m_descriptionHasBeenSet =
false;
355 bool m_imageRecipeArnHasBeenSet =
false;
356 bool m_containerRecipeArnHasBeenSet =
false;
357 bool m_infrastructureConfigurationArnHasBeenSet =
false;
358 bool m_distributionConfigurationArnHasBeenSet =
false;
359 bool m_imageTestsConfigurationHasBeenSet =
false;
360 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
361 bool m_scheduleHasBeenSet =
false;
362 bool m_statusHasBeenSet =
false;
363 bool m_clientTokenHasBeenSet =
true;
364 bool m_imageScanningConfigurationHasBeenSet =
false;
365 bool m_workflowsHasBeenSet =
false;
366 bool m_loggingConfigurationHasBeenSet =
false;
367 bool m_executionRoleHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
void SetEnhancedImageMetadataEnabled(bool value)
const ImageTestsConfiguration & GetImageTestsConfiguration() const
UpdateImagePipelineRequest & AddWorkflows(WorkflowsT &&value)
void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
const Aws::String & GetDistributionConfigurationArn() const
bool WorkflowsHasBeenSet() const
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
bool ImageScanningConfigurationHasBeenSet() const
bool ImageRecipeArnHasBeenSet() const
UpdateImagePipelineRequest & WithStatus(PipelineStatus value)
UpdateImagePipelineRequest & WithImagePipelineArn(ImagePipelineArnT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
bool ImagePipelineArnHasBeenSet() const
bool ExecutionRoleHasBeenSet() const
const Aws::String & GetInfrastructureConfigurationArn() const
void SetWorkflows(WorkflowsT &&value)
bool StatusHasBeenSet() const
UpdateImagePipelineRequest & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
void SetClientToken(ClientTokenT &&value)
bool ImageTestsConfigurationHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
void SetContainerRecipeArn(ContainerRecipeArnT &&value)
bool GetEnhancedImageMetadataEnabled() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
UpdateImagePipelineRequest & WithEnhancedImageMetadataEnabled(bool value)
UpdateImagePipelineRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
UpdateImagePipelineRequest & WithExecutionRole(ExecutionRoleT &&value)
const Aws::String & GetImageRecipeArn() const
UpdateImagePipelineRequest & WithSchedule(ScheduleT &&value)
void SetDescription(DescriptionT &&value)
bool InfrastructureConfigurationArnHasBeenSet() const
UpdateImagePipelineRequest & WithContainerRecipeArn(ContainerRecipeArnT &&value)
UpdateImagePipelineRequest & WithImageRecipeArn(ImageRecipeArnT &&value)
UpdateImagePipelineRequest & WithWorkflows(WorkflowsT &&value)
UpdateImagePipelineRequest & WithDescription(DescriptionT &&value)
UpdateImagePipelineRequest & WithDistributionConfigurationArn(DistributionConfigurationArnT &&value)
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
void SetDistributionConfigurationArn(DistributionConfigurationArnT &&value)
void SetStatus(PipelineStatus value)
bool EnhancedImageMetadataEnabledHasBeenSet() const
const Aws::String & GetContainerRecipeArn() const
bool LoggingConfigurationHasBeenSet() const
void SetSchedule(ScheduleT &&value)
UpdateImagePipelineRequest & WithClientToken(ClientTokenT &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
const Schedule & GetSchedule() const
const Aws::String & GetExecutionRole() const
const Aws::String & GetClientToken() const
PipelineStatus GetStatus() const
bool ScheduleHasBeenSet() const
void SetImagePipelineArn(ImagePipelineArnT &&value)
AWS_IMAGEBUILDER_API UpdateImagePipelineRequest()=default
UpdateImagePipelineRequest & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
const Aws::String & GetImagePipelineArn() const
UpdateImagePipelineRequest & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
const PipelineLoggingConfiguration & GetLoggingConfiguration() const
bool DescriptionHasBeenSet() const
bool ContainerRecipeArnHasBeenSet() const
void SetImageRecipeArn(ImageRecipeArnT &&value)
bool DistributionConfigurationArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector