7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ImageType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/imagebuilder/model/ImageState.h>
12#include <aws/imagebuilder/model/ImageRecipe.h>
13#include <aws/imagebuilder/model/ContainerRecipe.h>
14#include <aws/imagebuilder/model/InfrastructureConfiguration.h>
15#include <aws/imagebuilder/model/DistributionConfiguration.h>
16#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
17#include <aws/imagebuilder/model/OutputResources.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/imagebuilder/model/BuildType.h>
20#include <aws/imagebuilder/model/ImageSource.h>
21#include <aws/imagebuilder/model/ImageScanState.h>
22#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
23#include <aws/core/utils/DateTime.h>
24#include <aws/core/utils/memory/stl/AWSVector.h>
25#include <aws/imagebuilder/model/WorkflowConfiguration.h>
75 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
76 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
88 inline void SetType(
const ImageType& value) { m_typeHasBeenSet =
true; m_type = value; }
89 inline void SetType(
ImageType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
102 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
129 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
167 inline void SetOsVersion(
const char* value) { m_osVersionHasBeenSet =
true; m_osVersion.assign(value); }
219 inline void SetSourcePipelineName(
const char* value) { m_sourcePipelineNameHasBeenSet =
true; m_sourcePipelineName.assign(value); }
234 inline void SetSourcePipelineArn(
const char* value) { m_sourcePipelineArnHasBeenSet =
true; m_sourcePipelineArn.assign(value); }
271 inline void SetImageTestsConfiguration(
const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = value; }
272 inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = std::move(value); }
285 inline void SetDateCreated(
const char* value) { m_dateCreatedHasBeenSet =
true; m_dateCreated.assign(value); }
317 inline Image&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
318 inline Image&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
319 inline Image&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
397 inline void SetLifecycleExecutionId(
const char* value) { m_lifecycleExecutionIdHasBeenSet =
true; m_lifecycleExecutionId.assign(value); }
412 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
434 bool m_arnHasBeenSet =
false;
437 bool m_typeHasBeenSet =
false;
440 bool m_nameHasBeenSet =
false;
443 bool m_versionHasBeenSet =
false;
446 bool m_platformHasBeenSet =
false;
448 bool m_enhancedImageMetadataEnabled;
449 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
452 bool m_osVersionHasBeenSet =
false;
455 bool m_stateHasBeenSet =
false;
458 bool m_imageRecipeHasBeenSet =
false;
461 bool m_containerRecipeHasBeenSet =
false;
464 bool m_sourcePipelineNameHasBeenSet =
false;
467 bool m_sourcePipelineArnHasBeenSet =
false;
470 bool m_infrastructureConfigurationHasBeenSet =
false;
473 bool m_distributionConfigurationHasBeenSet =
false;
475 ImageTestsConfiguration m_imageTestsConfiguration;
476 bool m_imageTestsConfigurationHasBeenSet =
false;
479 bool m_dateCreatedHasBeenSet =
false;
482 bool m_outputResourcesHasBeenSet =
false;
485 bool m_tagsHasBeenSet =
false;
488 bool m_buildTypeHasBeenSet =
false;
491 bool m_imageSourceHasBeenSet =
false;
494 bool m_scanStateHasBeenSet =
false;
497 bool m_imageScanningConfigurationHasBeenSet =
false;
500 bool m_deprecationTimeHasBeenSet =
false;
503 bool m_lifecycleExecutionIdHasBeenSet =
false;
506 bool m_executionRoleHasBeenSet =
false;
509 bool m_workflowsHasBeenSet =
false;
void SetType(const ImageType &value)
const Aws::String & GetVersion() const
const OutputResources & GetOutputResources() const
bool DeprecationTimeHasBeenSet() const
Image & WithSourcePipelineArn(Aws::String &&value)
Image & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
bool DistributionConfigurationHasBeenSet() const
Image & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
AWS_IMAGEBUILDER_API Image()
const Aws::String & GetOsVersion() const
Image & WithOsVersion(const Aws::String &value)
Image & WithImageTestsConfiguration(const ImageTestsConfiguration &value)
void SetSourcePipelineArn(Aws::String &&value)
const Aws::String & GetDateCreated() const
void SetBuildType(BuildType &&value)
void SetImageSource(ImageSource &&value)
bool ImageTestsConfigurationHasBeenSet() const
Image & WithExecutionRole(const Aws::String &value)
const Aws::Utils::DateTime & GetDeprecationTime() const
void SetScanState(const ImageScanState &value)
void SetImageTestsConfiguration(ImageTestsConfiguration &&value)
void SetSourcePipelineName(Aws::String &&value)
bool ImageRecipeHasBeenSet() const
void SetDistributionConfiguration(DistributionConfiguration &&value)
void SetDateCreated(Aws::String &&value)
bool SourcePipelineArnHasBeenSet() const
const Aws::String & GetArn() const
const DistributionConfiguration & GetDistributionConfiguration() const
void SetType(ImageType &&value)
void SetEnhancedImageMetadataEnabled(bool value)
Image & WithState(const ImageState &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourcePipelineArn(const Aws::String &value)
Image & WithImageRecipe(const ImageRecipe &value)
Image & WithSourcePipelineName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool ImageScanningConfigurationHasBeenSet() const
void SetWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
Image & AddTags(Aws::String &&key, const char *value)
Image & WithDateCreated(Aws::String &&value)
Image & WithType(const ImageType &value)
bool OsVersionHasBeenSet() const
Image & AddWorkflows(WorkflowConfiguration &&value)
const ImageScanState & GetScanState() const
Image & WithSourcePipelineName(const char *value)
const ImageState & GetState() const
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
void SetInfrastructureConfiguration(InfrastructureConfiguration &&value)
Image & WithName(const Aws::String &value)
void SetOsVersion(const char *value)
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
void SetExecutionRole(const char *value)
Image & WithSourcePipelineName(const Aws::String &value)
Image & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Image & WithVersion(const Aws::String &value)
void SetName(Aws::String &&value)
bool ScanStateHasBeenSet() const
Image & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Image & WithArn(const char *value)
bool ContainerRecipeHasBeenSet() const
bool DateCreatedHasBeenSet() const
void SetSourcePipelineName(const char *value)
bool WorkflowsHasBeenSet() const
bool SourcePipelineNameHasBeenSet() const
const ContainerRecipe & GetContainerRecipe() const
const Aws::String & GetSourcePipelineName() const
void SetName(const Aws::String &value)
void SetInfrastructureConfiguration(const InfrastructureConfiguration &value)
Image & WithType(ImageType &&value)
Image & WithArn(const Aws::String &value)
void SetDeprecationTime(Aws::Utils::DateTime &&value)
bool InfrastructureConfigurationHasBeenSet() const
Image & WithVersion(const char *value)
const Aws::String & GetName() const
Image & WithState(ImageState &&value)
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
void SetVersion(Aws::String &&value)
Image & WithSourcePipelineArn(const Aws::String &value)
bool ImageSourceHasBeenSet() const
void SetState(ImageState &&value)
Image & WithBuildType(const BuildType &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetState(const ImageState &value)
bool ArnHasBeenSet() const
void SetOsVersion(const Aws::String &value)
void SetDateCreated(const Aws::String &value)
Image & WithScanState(ImageScanState &&value)
Image & WithDeprecationTime(Aws::Utils::DateTime &&value)
void SetVersion(const Aws::String &value)
Image & WithDistributionConfiguration(const DistributionConfiguration &value)
Image & WithDistributionConfiguration(DistributionConfiguration &&value)
bool TagsHasBeenSet() const
const Aws::String & GetSourcePipelineArn() const
Image & WithExecutionRole(const char *value)
Image & WithImageTestsConfiguration(ImageTestsConfiguration &&value)
void SetArn(const char *value)
Image & WithContainerRecipe(const ContainerRecipe &value)
const ImageType & GetType() const
Image & WithDeprecationTime(const Aws::Utils::DateTime &value)
void SetLifecycleExecutionId(Aws::String &&value)
void SetName(const char *value)
const Platform & GetPlatform() const
bool PlatformHasBeenSet() const
void SetVersion(const char *value)
Image & WithWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
Image & WithInfrastructureConfiguration(InfrastructureConfiguration &&value)
Image & AddTags(const char *key, const char *value)
Image & WithImageSource(const ImageSource &value)
Image & WithName(Aws::String &&value)
Image & WithDateCreated(const Aws::String &value)
Image & WithOutputResources(OutputResources &&value)
bool BuildTypeHasBeenSet() const
void SetDeprecationTime(const Aws::Utils::DateTime &value)
void SetContainerRecipe(const ContainerRecipe &value)
Image & WithSourcePipelineArn(const char *value)
Image & WithVersion(Aws::String &&value)
Image & WithEnhancedImageMetadataEnabled(bool value)
void SetArn(Aws::String &&value)
void SetExecutionRole(const Aws::String &value)
const InfrastructureConfiguration & GetInfrastructureConfiguration() const
void SetDateCreated(const char *value)
void SetContainerRecipe(ContainerRecipe &&value)
Image & AddTags(Aws::String &&key, Aws::String &&value)
Image & WithLifecycleExecutionId(const Aws::String &value)
Image & WithWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
void SetSourcePipelineName(const Aws::String &value)
Image & AddWorkflows(const WorkflowConfiguration &value)
void SetOutputResources(OutputResources &&value)
void SetOsVersion(Aws::String &&value)
void SetWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
Image & WithLifecycleExecutionId(const char *value)
void SetImageSource(const ImageSource &value)
void SetBuildType(const BuildType &value)
void SetImageRecipe(const ImageRecipe &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Image & WithLifecycleExecutionId(Aws::String &&value)
const ImageTestsConfiguration & GetImageTestsConfiguration() const
Image & WithInfrastructureConfiguration(const InfrastructureConfiguration &value)
bool TypeHasBeenSet() const
Image & WithImageSource(ImageSource &&value)
void SetPlatform(const Platform &value)
AWS_IMAGEBUILDER_API Image(Aws::Utils::Json::JsonView jsonValue)
const ImageSource & GetImageSource() const
bool EnhancedImageMetadataEnabledHasBeenSet() const
bool VersionHasBeenSet() const
bool StateHasBeenSet() const
Image & WithArn(Aws::String &&value)
void SetExecutionRole(Aws::String &&value)
Image & WithName(const char *value)
Image & WithPlatform(Platform &&value)
void SetLifecycleExecutionId(const char *value)
void SetSourcePipelineArn(const char *value)
Image & AddTags(const Aws::String &key, Aws::String &&value)
const ImageRecipe & GetImageRecipe() const
void SetPlatform(Platform &&value)
void SetDistributionConfiguration(const DistributionConfiguration &value)
const Aws::String & GetLifecycleExecutionId() const
const Aws::String & GetExecutionRole() const
Image & WithDateCreated(const char *value)
void SetImageRecipe(ImageRecipe &&value)
void SetScanState(ImageScanState &&value)
bool OutputResourcesHasBeenSet() const
Image & AddTags(const Aws::String &key, const Aws::String &value)
Image & AddTags(Aws::String &&key, const Aws::String &value)
Image & WithPlatform(const Platform &value)
const BuildType & GetBuildType() const
Image & WithScanState(const ImageScanState &value)
Image & WithOutputResources(const OutputResources &value)
void SetOutputResources(const OutputResources &value)
Image & WithImageRecipe(ImageRecipe &&value)
bool ExecutionRoleHasBeenSet() const
Image & WithExecutionRole(Aws::String &&value)
Image & WithContainerRecipe(ContainerRecipe &&value)
Image & WithOsVersion(Aws::String &&value)
bool NameHasBeenSet() const
void SetLifecycleExecutionId(const Aws::String &value)
bool LifecycleExecutionIdHasBeenSet() const
void SetArn(const Aws::String &value)
void SetImageTestsConfiguration(const ImageTestsConfiguration &value)
Image & WithOsVersion(const char *value)
Image & WithBuildType(BuildType &&value)
AWS_IMAGEBUILDER_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetEnhancedImageMetadataEnabled() const
Image & AddTags(const char *key, Aws::String &&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