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 {
50 template <
typename ArnT = Aws::String>
52 m_arnHasBeenSet =
true;
53 m_arn = std::forward<ArnT>(value);
55 template <
typename ArnT = Aws::String>
57 SetArn(std::forward<ArnT>(value));
68 template <
typename NameT = Aws::String>
70 m_nameHasBeenSet =
true;
71 m_name = std::forward<NameT>(value);
73 template <
typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
86 template <
typename DescriptionT = Aws::String>
88 m_descriptionHasBeenSet =
true;
89 m_description = std::forward<DescriptionT>(value);
91 template <
typename DescriptionT = Aws::String>
105 m_platformHasBeenSet =
true;
124 m_enhancedImageMetadataEnabledHasBeenSet =
true;
125 m_enhancedImageMetadataEnabled = value;
140 template <
typename ImageRecipeArnT = Aws::String>
142 m_imageRecipeArnHasBeenSet =
true;
143 m_imageRecipeArn = std::forward<ImageRecipeArnT>(value);
145 template <
typename ImageRecipeArnT = Aws::String>
159 template <
typename ContainerRecipeArnT = Aws::String>
161 m_containerRecipeArnHasBeenSet =
true;
162 m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value);
164 template <
typename ContainerRecipeArnT = Aws::String>
178 template <
typename InfrastructureConfigurationArnT = Aws::String>
180 m_infrastructureConfigurationArnHasBeenSet =
true;
181 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
183 template <
typename InfrastructureConfigurationArnT = Aws::String>
197 template <
typename DistributionConfigurationArnT = Aws::String>
199 m_distributionConfigurationArnHasBeenSet =
true;
200 m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value);
202 template <
typename DistributionConfigurationArnT = Aws::String>
215 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
217 m_imageTestsConfigurationHasBeenSet =
true;
218 m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value);
220 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
233 template <
typename ScheduleT = Schedule>
235 m_scheduleHasBeenSet =
true;
236 m_schedule = std::forward<ScheduleT>(value);
238 template <
typename ScheduleT = Schedule>
252 m_statusHasBeenSet =
true;
267 template <
typename DateCreatedT = Aws::String>
269 m_dateCreatedHasBeenSet =
true;
270 m_dateCreated = std::forward<DateCreatedT>(value);
272 template <
typename DateCreatedT = Aws::String>
285 template <
typename DateUpdatedT = Aws::String>
287 m_dateUpdatedHasBeenSet =
true;
288 m_dateUpdated = std::forward<DateUpdatedT>(value);
290 template <
typename DateUpdatedT = Aws::String>
303 template <
typename DateLastRunT = Aws::String>
305 m_dateLastRunHasBeenSet =
true;
306 m_dateLastRun = std::forward<DateLastRunT>(value);
308 template <
typename DateLastRunT = Aws::String>
324 m_lastRunStatusHasBeenSet =
true;
325 m_lastRunStatus = value;
339 template <
typename DateNextRunT = Aws::String>
341 m_dateNextRunHasBeenSet =
true;
342 m_dateNextRun = std::forward<DateNextRunT>(value);
344 template <
typename DateNextRunT = Aws::String>
357 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
359 m_tagsHasBeenSet =
true;
360 m_tags = std::forward<TagsT>(value);
362 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
364 SetTags(std::forward<TagsT>(value));
367 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
369 m_tagsHasBeenSet =
true;
370 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
381 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
383 m_imageScanningConfigurationHasBeenSet =
true;
384 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
386 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
400 template <
typename ExecutionRoleT = Aws::String>
402 m_executionRoleHasBeenSet =
true;
403 m_executionRole = std::forward<ExecutionRoleT>(value);
405 template <
typename ExecutionRoleT = Aws::String>
418 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
420 m_workflowsHasBeenSet =
true;
421 m_workflows = std::forward<WorkflowsT>(value);
423 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
428 template <
typename WorkflowsT = WorkflowConfiguration>
430 m_workflowsHasBeenSet =
true;
431 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
442 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
444 m_loggingConfigurationHasBeenSet =
true;
445 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
447 template <
typename LoggingConfigurationT = PipelineLoggingConfiguration>
472 m_consecutiveFailuresHasBeenSet =
true;
473 m_consecutiveFailures = value;
489 bool m_enhancedImageMetadataEnabled{
false};
499 ImageTestsConfiguration m_imageTestsConfiguration;
517 ImageScanningConfiguration m_imageScanningConfiguration;
523 PipelineLoggingConfiguration m_loggingConfiguration;
525 int m_consecutiveFailures{0};
526 bool m_arnHasBeenSet =
false;
527 bool m_nameHasBeenSet =
false;
528 bool m_descriptionHasBeenSet =
false;
529 bool m_platformHasBeenSet =
false;
530 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
531 bool m_imageRecipeArnHasBeenSet =
false;
532 bool m_containerRecipeArnHasBeenSet =
false;
533 bool m_infrastructureConfigurationArnHasBeenSet =
false;
534 bool m_distributionConfigurationArnHasBeenSet =
false;
535 bool m_imageTestsConfigurationHasBeenSet =
false;
536 bool m_scheduleHasBeenSet =
false;
537 bool m_statusHasBeenSet =
false;
538 bool m_dateCreatedHasBeenSet =
false;
539 bool m_dateUpdatedHasBeenSet =
false;
540 bool m_dateLastRunHasBeenSet =
false;
541 bool m_lastRunStatusHasBeenSet =
false;
542 bool m_dateNextRunHasBeenSet =
false;
543 bool m_tagsHasBeenSet =
false;
544 bool m_imageScanningConfigurationHasBeenSet =
false;
545 bool m_executionRoleHasBeenSet =
false;
546 bool m_workflowsHasBeenSet =
false;
547 bool m_loggingConfigurationHasBeenSet =
false;
548 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 & 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 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)
ImagePipeline & WithConsecutiveFailures(int value)
ImageStatus GetLastRunStatus() const
ImagePipeline & WithLastRunStatus(ImageStatus value)
ImagePipeline & WithLoggingConfiguration(LoggingConfigurationT &&value)
bool ImageScanningConfigurationHasBeenSet() const
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)
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