7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/Platform.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>
54 template<
typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
56 template<
typename ArnT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
78 template<
typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
80 template<
typename DescriptionT = Aws::String>
114 template<
typename ImageRecipeArnT = Aws::String>
115 void SetImageRecipeArn(ImageRecipeArnT&& value) { m_imageRecipeArnHasBeenSet =
true; m_imageRecipeArn = std::forward<ImageRecipeArnT>(value); }
116 template<
typename ImageRecipeArnT = Aws::String>
127 template<
typename ContainerRecipeArnT = Aws::String>
128 void SetContainerRecipeArn(ContainerRecipeArnT&& value) { m_containerRecipeArnHasBeenSet =
true; m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value); }
129 template<
typename ContainerRecipeArnT = Aws::String>
140 template<
typename InfrastructureConfigurationArnT = Aws::String>
141 void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT&& value) { m_infrastructureConfigurationArnHasBeenSet =
true; m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value); }
142 template<
typename InfrastructureConfigurationArnT = Aws::String>
153 template<
typename DistributionConfigurationArnT = Aws::String>
154 void SetDistributionConfigurationArn(DistributionConfigurationArnT&& value) { m_distributionConfigurationArnHasBeenSet =
true; m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value); }
155 template<
typename DistributionConfigurationArnT = Aws::String>
165 template<
typename ImageTestsConfigurationT = ImageTestsConfiguration>
166 void SetImageTestsConfiguration(ImageTestsConfigurationT&& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value); }
167 template<
typename ImageTestsConfigurationT = ImageTestsConfiguration>
177 template<
typename ScheduleT = Schedule>
178 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
179 template<
typename ScheduleT = Schedule>
199 template<
typename DateCreatedT = Aws::String>
200 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet =
true; m_dateCreated = std::forward<DateCreatedT>(value); }
201 template<
typename DateCreatedT = Aws::String>
211 template<
typename DateUpdatedT = Aws::String>
212 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet =
true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
213 template<
typename DateUpdatedT = Aws::String>
223 template<
typename DateLastRunT = Aws::String>
224 void SetDateLastRun(DateLastRunT&& value) { m_dateLastRunHasBeenSet =
true; m_dateLastRun = std::forward<DateLastRunT>(value); }
225 template<
typename DateLastRunT = Aws::String>
235 template<
typename DateNextRunT = Aws::String>
236 void SetDateNextRun(DateNextRunT&& value) { m_dateNextRunHasBeenSet =
true; m_dateNextRun = std::forward<DateNextRunT>(value); }
237 template<
typename DateNextRunT = Aws::String>
247 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
248 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
249 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
251 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
253 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
263 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
264 void SetImageScanningConfiguration(ImageScanningConfigurationT&& value) { m_imageScanningConfigurationHasBeenSet =
true; m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value); }
265 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
276 template<
typename ExecutionRoleT = Aws::String>
277 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
278 template<
typename ExecutionRoleT = Aws::String>
288 template<
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
289 void SetWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet =
true; m_workflows = std::forward<WorkflowsT>(value); }
290 template<
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
292 template<
typename WorkflowsT = WorkflowConfiguration>
293 ImagePipeline&
AddWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet =
true; m_workflows.emplace_back(std::forward<WorkflowsT>(value));
return *
this; }
298 bool m_arnHasBeenSet =
false;
301 bool m_nameHasBeenSet =
false;
304 bool m_descriptionHasBeenSet =
false;
307 bool m_platformHasBeenSet =
false;
309 bool m_enhancedImageMetadataEnabled{
false};
310 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
313 bool m_imageRecipeArnHasBeenSet =
false;
316 bool m_containerRecipeArnHasBeenSet =
false;
319 bool m_infrastructureConfigurationArnHasBeenSet =
false;
322 bool m_distributionConfigurationArnHasBeenSet =
false;
324 ImageTestsConfiguration m_imageTestsConfiguration;
325 bool m_imageTestsConfigurationHasBeenSet =
false;
328 bool m_scheduleHasBeenSet =
false;
331 bool m_statusHasBeenSet =
false;
334 bool m_dateCreatedHasBeenSet =
false;
337 bool m_dateUpdatedHasBeenSet =
false;
340 bool m_dateLastRunHasBeenSet =
false;
343 bool m_dateNextRunHasBeenSet =
false;
346 bool m_tagsHasBeenSet =
false;
348 ImageScanningConfiguration m_imageScanningConfiguration;
349 bool m_imageScanningConfigurationHasBeenSet =
false;
352 bool m_executionRoleHasBeenSet =
false;
355 bool m_workflowsHasBeenSet =
false;
ImagePipeline & WithDistributionConfigurationArn(DistributionConfigurationArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetContainerRecipeArn() const
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
ImagePipeline & AddTags(TagsKeyT &&key, TagsValueT &&value)
ImagePipeline & WithTags(TagsT &&value)
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
bool DateLastRunHasBeenSet() const
bool ImageRecipeArnHasBeenSet() const
void SetEnhancedImageMetadataEnabled(bool value)
const Aws::String & GetDistributionConfigurationArn() const
ImagePipeline & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
bool TagsHasBeenSet() const
const Schedule & GetSchedule() const
bool StatusHasBeenSet() const
ImagePipeline & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
bool DistributionConfigurationArnHasBeenSet() const
AWS_IMAGEBUILDER_API ImagePipeline(Aws::Utils::Json::JsonView jsonValue)
bool DateNextRunHasBeenSet() const
PipelineStatus GetStatus() const
void SetDateLastRun(DateLastRunT &&value)
ImagePipeline & WithDateCreated(DateCreatedT &&value)
bool InfrastructureConfigurationArnHasBeenSet() const
void SetArn(ArnT &&value)
const ImageTestsConfiguration & GetImageTestsConfiguration() const
ImagePipeline & AddWorkflows(WorkflowsT &&value)
ImagePipeline & WithPlatform(Platform value)
void SetPlatform(Platform value)
void SetSchedule(ScheduleT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DescriptionHasBeenSet() const
ImagePipeline & WithWorkflows(WorkflowsT &&value)
bool NameHasBeenSet() const
ImagePipeline & WithDescription(DescriptionT &&value)
bool WorkflowsHasBeenSet() const
ImagePipeline & WithArn(ArnT &&value)
ImagePipeline & WithDateLastRun(DateLastRunT &&value)
const Aws::String & GetExecutionRole() const
const Aws::String & GetDateLastRun() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ExecutionRoleHasBeenSet() const
bool DateCreatedHasBeenSet() const
ImagePipeline & WithDateNextRun(DateNextRunT &&value)
bool ImageScanningConfigurationHasBeenSet() const
bool ContainerRecipeArnHasBeenSet() const
bool ScheduleHasBeenSet() const
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
ImagePipeline & WithContainerRecipeArn(ContainerRecipeArnT &&value)
const Aws::String & GetImageRecipeArn() const
bool EnhancedImageMetadataEnabledHasBeenSet() const
bool GetEnhancedImageMetadataEnabled() const
bool ImageTestsConfigurationHasBeenSet() const
void SetDateCreated(DateCreatedT &&value)
const Aws::String & GetDateNextRun() const
void SetDateUpdated(DateUpdatedT &&value)
ImagePipeline & WithImageRecipeArn(ImageRecipeArnT &&value)
const Aws::String & GetDateCreated() const
Platform GetPlatform() const
ImagePipeline & WithEnhancedImageMetadataEnabled(bool value)
bool PlatformHasBeenSet() const
void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
void SetStatus(PipelineStatus value)
ImagePipeline & WithStatus(PipelineStatus value)
void SetExecutionRole(ExecutionRoleT &&value)
AWS_IMAGEBUILDER_API ImagePipeline()=default
bool DateUpdatedHasBeenSet() const
void SetDateNextRun(DateNextRunT &&value)
void SetImageRecipeArn(ImageRecipeArnT &&value)
ImagePipeline & WithName(NameT &&value)
bool ArnHasBeenSet() const
AWS_IMAGEBUILDER_API ImagePipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDateUpdated() const
ImagePipeline & WithDateUpdated(DateUpdatedT &&value)
ImagePipeline & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
void SetWorkflows(WorkflowsT &&value)
ImagePipeline & WithExecutionRole(ExecutionRoleT &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
ImagePipeline & WithSchedule(ScheduleT &&value)
const Aws::String & GetName() const
const Aws::String & GetInfrastructureConfigurationArn() const
void SetContainerRecipeArn(ContainerRecipeArnT &&value)
void SetDistributionConfigurationArn(DistributionConfigurationArnT &&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
Aws::Utils::Json::JsonValue JsonValue