7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/AmiDistributionConfiguration.h>
11#include <aws/imagebuilder/model/ContainerDistributionConfiguration.h>
12#include <aws/imagebuilder/model/FastLaunchConfiguration.h>
13#include <aws/imagebuilder/model/LaunchTemplateConfiguration.h>
14#include <aws/imagebuilder/model/S3ExportConfiguration.h>
15#include <aws/imagebuilder/model/SsmParameterConfiguration.h>
26namespace imagebuilder {
47 template <
typename RegionT = Aws::String>
49 m_regionHasBeenSet =
true;
50 m_region = std::forward<RegionT>(value);
52 template <
typename RegionT = Aws::String>
65 template <
typename AmiDistributionConfigurationT = AmiDistributionConfiguration>
67 m_amiDistributionConfigurationHasBeenSet =
true;
68 m_amiDistributionConfiguration = std::forward<AmiDistributionConfigurationT>(value);
70 template <
typename AmiDistributionConfigurationT = AmiDistributionConfiguration>
83 return m_containerDistributionConfiguration;
86 template <
typename ContainerDistributionConfigurationT = ContainerDistributionConfiguration>
88 m_containerDistributionConfigurationHasBeenSet =
true;
89 m_containerDistributionConfiguration = std::forward<ContainerDistributionConfigurationT>(value);
91 template <
typename ContainerDistributionConfigurationT = ContainerDistributionConfiguration>
105 template <
typename LicenseConfigurationArnsT = Aws::Vector<Aws::String>>
107 m_licenseConfigurationArnsHasBeenSet =
true;
108 m_licenseConfigurationArns = std::forward<LicenseConfigurationArnsT>(value);
110 template <
typename LicenseConfigurationArnsT = Aws::Vector<Aws::String>>
115 template <
typename LicenseConfigurationArnsT = Aws::String>
117 m_licenseConfigurationArnsHasBeenSet =
true;
118 m_licenseConfigurationArns.emplace_back(std::forward<LicenseConfigurationArnsT>(value));
130 template <
typename LaunchTemplateConfigurationsT = Aws::Vector<LaunchTemplateConfiguration>>
132 m_launchTemplateConfigurationsHasBeenSet =
true;
133 m_launchTemplateConfigurations = std::forward<LaunchTemplateConfigurationsT>(value);
135 template <
typename LaunchTemplateConfigurationsT = Aws::Vector<LaunchTemplateConfiguration>>
140 template <
typename LaunchTemplateConfigurationsT = LaunchTemplateConfiguration>
142 m_launchTemplateConfigurationsHasBeenSet =
true;
143 m_launchTemplateConfigurations.emplace_back(std::forward<LaunchTemplateConfigurationsT>(value));
155 template <
typename S3ExportConfigurationT = S3ExportConfiguration>
157 m_s3ExportConfigurationHasBeenSet =
true;
158 m_s3ExportConfiguration = std::forward<S3ExportConfigurationT>(value);
160 template <
typename S3ExportConfigurationT = S3ExportConfiguration>
173 template <
typename FastLaunchConfigurationsT = Aws::Vector<FastLaunchConfiguration>>
175 m_fastLaunchConfigurationsHasBeenSet =
true;
176 m_fastLaunchConfigurations = std::forward<FastLaunchConfigurationsT>(value);
178 template <
typename FastLaunchConfigurationsT = Aws::Vector<FastLaunchConfiguration>>
183 template <
typename FastLaunchConfigurationsT = FastLaunchConfiguration>
185 m_fastLaunchConfigurationsHasBeenSet =
true;
186 m_fastLaunchConfigurations.emplace_back(std::forward<FastLaunchConfigurationsT>(value));
199 template <
typename SsmParameterConfigurationsT = Aws::Vector<SsmParameterConfiguration>>
201 m_ssmParameterConfigurationsHasBeenSet =
true;
202 m_ssmParameterConfigurations = std::forward<SsmParameterConfigurationsT>(value);
204 template <
typename SsmParameterConfigurationsT = Aws::Vector<SsmParameterConfiguration>>
209 template <
typename SsmParameterConfigurationsT = SsmParameterConfiguration>
211 m_ssmParameterConfigurationsHasBeenSet =
true;
212 m_ssmParameterConfigurations.emplace_back(std::forward<SsmParameterConfigurationsT>(value));
232 bool m_regionHasBeenSet =
false;
233 bool m_amiDistributionConfigurationHasBeenSet =
false;
234 bool m_containerDistributionConfigurationHasBeenSet =
false;
235 bool m_licenseConfigurationArnsHasBeenSet =
false;
236 bool m_launchTemplateConfigurationsHasBeenSet =
false;
237 bool m_s3ExportConfigurationHasBeenSet =
false;
238 bool m_fastLaunchConfigurationsHasBeenSet =
false;
239 bool m_ssmParameterConfigurationsHasBeenSet =
false;
Distribution & WithAmiDistributionConfiguration(AmiDistributionConfigurationT &&value)
bool ContainerDistributionConfigurationHasBeenSet() const
Distribution & AddLicenseConfigurationArns(LicenseConfigurationArnsT &&value)
Distribution & WithSsmParameterConfigurations(SsmParameterConfigurationsT &&value)
AWS_IMAGEBUILDER_API Distribution()=default
Distribution & AddLaunchTemplateConfigurations(LaunchTemplateConfigurationsT &&value)
const S3ExportConfiguration & GetS3ExportConfiguration() const
const Aws::String & GetRegion() const
void SetRegion(RegionT &&value)
const AmiDistributionConfiguration & GetAmiDistributionConfiguration() const
void SetSsmParameterConfigurations(SsmParameterConfigurationsT &&value)
Distribution & WithContainerDistributionConfiguration(ContainerDistributionConfigurationT &&value)
bool AmiDistributionConfigurationHasBeenSet() const
void SetS3ExportConfiguration(S3ExportConfigurationT &&value)
void SetAmiDistributionConfiguration(AmiDistributionConfigurationT &&value)
void SetFastLaunchConfigurations(FastLaunchConfigurationsT &&value)
void SetLaunchTemplateConfigurations(LaunchTemplateConfigurationsT &&value)
AWS_IMAGEBUILDER_API Distribution(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseConfigurationArns(LicenseConfigurationArnsT &&value)
Distribution & WithLaunchTemplateConfigurations(LaunchTemplateConfigurationsT &&value)
bool LaunchTemplateConfigurationsHasBeenSet() const
const Aws::Vector< SsmParameterConfiguration > & GetSsmParameterConfigurations() const
Distribution & AddSsmParameterConfigurations(SsmParameterConfigurationsT &&value)
bool SsmParameterConfigurationsHasBeenSet() const
void SetContainerDistributionConfiguration(ContainerDistributionConfigurationT &&value)
Distribution & WithLicenseConfigurationArns(LicenseConfigurationArnsT &&value)
bool LicenseConfigurationArnsHasBeenSet() const
const ContainerDistributionConfiguration & GetContainerDistributionConfiguration() const
AWS_IMAGEBUILDER_API Distribution & operator=(Aws::Utils::Json::JsonView jsonValue)
bool S3ExportConfigurationHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RegionHasBeenSet() const
const Aws::Vector< FastLaunchConfiguration > & GetFastLaunchConfigurations() const
Distribution & AddFastLaunchConfigurations(FastLaunchConfigurationsT &&value)
Distribution & WithRegion(RegionT &&value)
Distribution & WithFastLaunchConfigurations(FastLaunchConfigurationsT &&value)
const Aws::Vector< Aws::String > & GetLicenseConfigurationArns() const
Distribution & WithS3ExportConfiguration(S3ExportConfigurationT &&value)
bool FastLaunchConfigurationsHasBeenSet() const
const Aws::Vector< LaunchTemplateConfiguration > & GetLaunchTemplateConfigurations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue