7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
12#include <aws/imagebuilder/model/ImageStatus.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/Platform.h>
17#include <aws/imagebuilder/model/Schedule.h>
18#include <aws/imagebuilder/model/WorkflowConfiguration.h>
29namespace imagebuilder {
54 template <
typename ArnT = Aws::String>
56 m_arnHasBeenSet =
true;
57 m_arn = std::forward<ArnT>(value);
59 template <
typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
72 template <
typename NameT = Aws::String>
74 m_nameHasBeenSet =
true;
75 m_name = std::forward<NameT>(value);
77 template <
typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
90 template <
typename DescriptionT = Aws::String>
92 m_descriptionHasBeenSet =
true;
93 m_description = std::forward<DescriptionT>(value);
95 template <
typename DescriptionT = Aws::String>
110 m_platformHasBeenSet =
true;
128 m_enhancedImageMetadataEnabledHasBeenSet =
true;
129 m_enhancedImageMetadataEnabled = value;
144 template <
typename ImageRecipeArnT = Aws::String>
146 m_imageRecipeArnHasBeenSet =
true;
147 m_imageRecipeArn = std::forward<ImageRecipeArnT>(value);
149 template <
typename ImageRecipeArnT = Aws::String>
163 template <
typename ContainerRecipeArnT = Aws::String>
165 m_containerRecipeArnHasBeenSet =
true;
166 m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value);
168 template <
typename ContainerRecipeArnT = Aws::String>
182 template <
typename InfrastructureConfigurationArnT = Aws::String>
184 m_infrastructureConfigurationArnHasBeenSet =
true;
185 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
187 template <
typename InfrastructureConfigurationArnT = Aws::String>
201 template <
typename DistributionConfigurationArnT = Aws::String>
203 m_distributionConfigurationArnHasBeenSet =
true;
204 m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value);
206 template <
typename DistributionConfigurationArnT = Aws::String>
219 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
221 m_imageTestsConfigurationHasBeenSet =
true;
222 m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value);
224 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
237 template <
typename ScheduleT = Schedule>
239 m_scheduleHasBeenSet =
true;
240 m_schedule = std::forward<ScheduleT>(value);
242 template <
typename ScheduleT = Schedule>
258 m_statusHasBeenSet =
true;
273 template <
typename DateCreatedT = Aws::String>
275 m_dateCreatedHasBeenSet =
true;
276 m_dateCreated = std::forward<DateCreatedT>(value);
278 template <
typename DateCreatedT = Aws::String>
291 template <
typename DateUpdatedT = Aws::String>
293 m_dateUpdatedHasBeenSet =
true;
294 m_dateUpdated = std::forward<DateUpdatedT>(value);
296 template <
typename DateUpdatedT = Aws::String>
309 template <
typename DateLastRunT = Aws::String>
311 m_dateLastRunHasBeenSet =
true;
312 m_dateLastRun = std::forward<DateLastRunT>(value);
314 template <
typename DateLastRunT = Aws::String>
330 m_lastRunStatusHasBeenSet =
true;
331 m_lastRunStatus = value;
345 template <
typename DateNextRunT = Aws::String>
347 m_dateNextRunHasBeenSet =
true;
348 m_dateNextRun = std::forward<DateNextRunT>(value);
350 template <
typename DateNextRunT = Aws::String>
363 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
365 m_tagsHasBeenSet =
true;
366 m_tags = std::forward<TagsT>(value);
368 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
370 SetTags(std::forward<TagsT>(value));
373 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
375 m_tagsHasBeenSet =
true;
376 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
388 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
390 m_imageScanningConfigurationHasBeenSet =
true;
391 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
393 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
410 template <
typename ImageTagsT = Aws::Map<Aws::String, Aws::String>>
412 m_imageTagsHasBeenSet =
true;
413 m_imageTags = std::forward<ImageTagsT>(value);
415 template <
typename ImageTagsT = Aws::Map<Aws::String, Aws::String>>
420 template <
typename ImageTagsKeyT = Aws::String,
typename ImageTagsValueT = Aws::String>
422 m_imageTagsHasBeenSet =
true;
423 m_imageTags.emplace(std::forward<ImageTagsKeyT>(key), std::forward<ImageTagsValueT>(value));
435 template <
typename ExecutionRoleT = Aws::String>
437 m_executionRoleHasBeenSet =
true;
438 m_executionRole = std::forward<ExecutionRoleT>(value);
440 template <
typename ExecutionRoleT = Aws::String>
453 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
455 m_workflowsHasBeenSet =
true;
456 m_workflows = std::forward<WorkflowsT>(value);
458 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
463 template <
typename WorkflowsT = WorkflowConfiguration>
465 m_workflowsHasBeenSet =
true;
466 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
478 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
480 m_loggingConfigurationHasBeenSet =
true;
481 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
483 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
508 m_consecutiveFailuresHasBeenSet =
true;
509 m_consecutiveFailures = value;
525 bool m_enhancedImageMetadataEnabled{
false};
535 ImageTestsConfiguration m_imageTestsConfiguration;
553 ImageScanningConfiguration m_imageScanningConfiguration;
561 PipelineLoggingConfiguration m_loggingConfiguration;
563 int m_consecutiveFailures{0};
564 bool m_arnHasBeenSet =
false;
565 bool m_nameHasBeenSet =
false;
566 bool m_descriptionHasBeenSet =
false;
567 bool m_platformHasBeenSet =
false;
568 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
569 bool m_imageRecipeArnHasBeenSet =
false;
570 bool m_containerRecipeArnHasBeenSet =
false;
571 bool m_infrastructureConfigurationArnHasBeenSet =
false;
572 bool m_distributionConfigurationArnHasBeenSet =
false;
573 bool m_imageTestsConfigurationHasBeenSet =
false;
574 bool m_scheduleHasBeenSet =
false;
575 bool m_statusHasBeenSet =
false;
576 bool m_dateCreatedHasBeenSet =
false;
577 bool m_dateUpdatedHasBeenSet =
false;
578 bool m_dateLastRunHasBeenSet =
false;
579 bool m_lastRunStatusHasBeenSet =
false;
580 bool m_dateNextRunHasBeenSet =
false;
581 bool m_tagsHasBeenSet =
false;
582 bool m_imageScanningConfigurationHasBeenSet =
false;
583 bool m_imageTagsHasBeenSet =
false;
584 bool m_executionRoleHasBeenSet =
false;
585 bool m_workflowsHasBeenSet =
false;
586 bool m_loggingConfigurationHasBeenSet =
false;
587 bool m_consecutiveFailuresHasBeenSet =
false;
ImagePipeline & WithDistributionConfigurationArn(DistributionConfigurationArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetContainerRecipeArn() const
bool ConsecutiveFailuresHasBeenSet() 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
void SetLastRunStatus(ImageStatus value)
ImagePipeline & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
bool TagsHasBeenSet() const
const Schedule & GetSchedule() const
bool StatusHasBeenSet() const
ImagePipeline & AddImageTags(ImageTagsKeyT &&key, ImageTagsValueT &&value)
ImagePipeline & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
void SetTags(TagsT &&value)
void SetLoggingConfiguration(LoggingConfigurationT &&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 SetImageTags(ImageTagsT &&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)
bool ImageTagsHasBeenSet() const
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)
ImagePipeline & WithConsecutiveFailures(int value)
ImageStatus GetLastRunStatus() const
ImagePipeline & WithLastRunStatus(ImageStatus value)
ImagePipeline & WithLoggingConfiguration(LoggingConfigurationT &&value)
bool ImageScanningConfigurationHasBeenSet() const
ImagePipeline & WithImageTags(ImageTagsT &&value)
bool ContainerRecipeArnHasBeenSet() const
void SetConsecutiveFailures(int value)
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 LastRunStatusHasBeenSet() const
bool ImageTestsConfigurationHasBeenSet() const
void SetDateCreated(DateCreatedT &&value)
const Aws::String & GetDateNextRun() const
void SetDateUpdated(DateUpdatedT &&value)
ImagePipeline & WithImageRecipeArn(ImageRecipeArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetImageTags() const
bool LoggingConfigurationHasBeenSet() const
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
int GetConsecutiveFailures() const
void SetDateNextRun(DateNextRunT &&value)
void SetImageRecipeArn(ImageRecipeArnT &&value)
ImagePipeline & WithName(NameT &&value)
const PipelineLoggingConfiguration & GetLoggingConfiguration() const
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