7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/ImagebuilderRequest.h>
11#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
12#include <aws/imagebuilder/model/ImageLoggingConfiguration.h>
17namespace imagebuilder {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
59 template <
typename SemanticVersionT = Aws::String>
61 m_semanticVersionHasBeenSet =
true;
62 m_semanticVersion = std::forward<SemanticVersionT>(value);
64 template <
typename SemanticVersionT = Aws::String>
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
96 template <
typename PlatformT = Aws::String>
98 m_platformHasBeenSet =
true;
99 m_platform = std::forward<PlatformT>(value);
101 template <
typename PlatformT = Aws::String>
115 template <
typename OsVersionT = Aws::String>
117 m_osVersionHasBeenSet =
true;
118 m_osVersion = std::forward<OsVersionT>(value);
120 template <
typename OsVersionT = Aws::String>
135 template <
typename ExecutionRoleT = Aws::String>
137 m_executionRoleHasBeenSet =
true;
138 m_executionRole = std::forward<ExecutionRoleT>(value);
140 template <
typename ExecutionRoleT = Aws::String>
154 template <
typename InfrastructureConfigurationArnT = Aws::String>
156 m_infrastructureConfigurationArnHasBeenSet =
true;
157 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
159 template <
typename InfrastructureConfigurationArnT = Aws::String>
172 template <
typename UriT = Aws::String>
174 m_uriHasBeenSet =
true;
175 m_uri = std::forward<UriT>(value);
177 template <
typename UriT = Aws::String>
179 SetUri(std::forward<UriT>(value));
190 template <
typename LoggingConfigurationT = ImageLoggingConfiguration>
192 m_loggingConfigurationHasBeenSet =
true;
193 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
195 template <
typename LoggingConfigurationT = ImageLoggingConfiguration>
208 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 m_tagsHasBeenSet =
true;
211 m_tags = std::forward<TagsT>(value);
213 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 SetTags(std::forward<TagsT>(value));
218 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
220 m_tagsHasBeenSet =
true;
221 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
235 template <
typename ClientTokenT = Aws::String>
237 m_clientTokenHasBeenSet =
true;
238 m_clientToken = std::forward<ClientTokenT>(value);
240 template <
typename ClientTokenT = Aws::String>
268 bool m_nameHasBeenSet =
false;
269 bool m_semanticVersionHasBeenSet =
false;
270 bool m_descriptionHasBeenSet =
false;
271 bool m_platformHasBeenSet =
false;
272 bool m_osVersionHasBeenSet =
false;
273 bool m_executionRoleHasBeenSet =
false;
274 bool m_infrastructureConfigurationArnHasBeenSet =
false;
275 bool m_uriHasBeenSet =
false;
276 bool m_loggingConfigurationHasBeenSet =
false;
277 bool m_tagsHasBeenSet =
false;
278 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
bool OsVersionHasBeenSet() const
void SetExecutionRole(ExecutionRoleT &&value)
const Aws::String & GetPlatform() const
bool ExecutionRoleHasBeenSet() const
void SetSemanticVersion(SemanticVersionT &&value)
void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
ImportDiskImageRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
void SetOsVersion(OsVersionT &&value)
const Aws::String & GetUri() const
ImportDiskImageRequest & WithOsVersion(OsVersionT &&value)
void SetUri(UriT &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const Aws::String & GetOsVersion() const
ImportDiskImageRequest & WithPlatform(PlatformT &&value)
AWS_IMAGEBUILDER_API ImportDiskImageRequest()=default
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
bool SemanticVersionHasBeenSet() const
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
ImportDiskImageRequest & WithSemanticVersion(SemanticVersionT &&value)
const Aws::String & GetSemanticVersion() const
const Aws::String & GetExecutionRole() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImportDiskImageRequest & WithName(NameT &&value)
const ImageLoggingConfiguration & GetLoggingConfiguration() const
ImportDiskImageRequest & WithExecutionRole(ExecutionRoleT &&value)
ImportDiskImageRequest & WithClientToken(ClientTokenT &&value)
ImportDiskImageRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
ImportDiskImageRequest & WithUri(UriT &&value)
void SetClientToken(ClientTokenT &&value)
ImportDiskImageRequest & WithTags(TagsT &&value)
ImportDiskImageRequest & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
bool InfrastructureConfigurationArnHasBeenSet() const
void SetLoggingConfiguration(LoggingConfigurationT &&value)
const Aws::String & GetName() const
bool UriHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ImportDiskImageRequest & WithDescription(DescriptionT &&value)
void SetPlatform(PlatformT &&value)
const Aws::String & GetInfrastructureConfigurationArn() const
bool PlatformHasBeenSet() const
bool LoggingConfigurationHasBeenSet() const
void SetName(NameT &&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