7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
47 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetSemanticVersion(
const char* value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion.assign(value); }
85 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
101 inline void SetChangeDescription(
const char* value) { m_changeDescriptionHasBeenSet =
true; m_changeDescription.assign(value); }
147 inline void SetData(
const char* value) { m_dataHasBeenSet =
true; m_data.assign(value); }
166 inline void SetUri(
const char* value) { m_uriHasBeenSet =
true; m_uri.assign(value); }
180 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
216 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
224 bool m_nameHasBeenSet =
false;
227 bool m_semanticVersionHasBeenSet =
false;
230 bool m_descriptionHasBeenSet =
false;
233 bool m_changeDescriptionHasBeenSet =
false;
236 bool m_platformHasBeenSet =
false;
239 bool m_supportedOsVersionsHasBeenSet =
false;
242 bool m_dataHasBeenSet =
false;
245 bool m_uriHasBeenSet =
false;
248 bool m_kmsKeyIdHasBeenSet =
false;
251 bool m_tagsHasBeenSet =
false;
254 bool m_clientTokenHasBeenSet =
false;
void SetSemanticVersion(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
void SetDescription(const char *value)
void SetPlatform(Platform &&value)
void SetChangeDescription(const Aws::String &value)
const Aws::String & GetChangeDescription() const
CreateComponentRequest & WithSupportedOsVersions(Aws::Vector< Aws::String > &&value)
void SetClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateComponentRequest & WithPlatform(Platform &&value)
void SetChangeDescription(Aws::String &&value)
CreateComponentRequest & WithClientToken(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
bool DataHasBeenSet() const
void SetData(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSupportedOsVersions() const
CreateComponentRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateComponentRequest & WithData(Aws::String &&value)
bool TagsHasBeenSet() const
void SetUri(const char *value)
CreateComponentRequest & WithKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(Aws::String &&value)
CreateComponentRequest & WithUri(const char *value)
CreateComponentRequest & AddTags(const char *key, const char *value)
void SetSupportedOsVersions(const Aws::Vector< Aws::String > &value)
CreateComponentRequest & WithChangeDescription(Aws::String &&value)
CreateComponentRequest & WithSemanticVersion(Aws::String &&value)
AWS_IMAGEBUILDER_API CreateComponentRequest()
bool SupportedOsVersionsHasBeenSet() const
void SetUri(Aws::String &&value)
CreateComponentRequest & WithDescription(Aws::String &&value)
const Aws::String & GetUri() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateComponentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateComponentRequest & WithClientToken(const Aws::String &value)
CreateComponentRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateComponentRequest & WithDescription(const Aws::String &value)
CreateComponentRequest & WithChangeDescription(const char *value)
void SetPlatform(const Platform &value)
CreateComponentRequest & WithName(const Aws::String &value)
void SetKmsKeyId(const char *value)
void SetSemanticVersion(const char *value)
bool DescriptionHasBeenSet() const
CreateComponentRequest & WithSemanticVersion(const Aws::String &value)
CreateComponentRequest & AddSupportedOsVersions(const char *value)
bool NameHasBeenSet() const
const Aws::String & GetSemanticVersion() const
void SetClientToken(const Aws::String &value)
CreateComponentRequest & WithPlatform(const Platform &value)
const Aws::String & GetData() const
bool KmsKeyIdHasBeenSet() const
void SetDescription(const Aws::String &value)
CreateComponentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSupportedOsVersions(Aws::Vector< Aws::String > &&value)
const Aws::String & GetClientToken() const
void SetChangeDescription(const char *value)
CreateComponentRequest & WithName(const char *value)
const Platform & GetPlatform() const
CreateComponentRequest & AddSupportedOsVersions(Aws::String &&value)
void SetUri(const Aws::String &value)
CreateComponentRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetName(const Aws::String &value)
bool SemanticVersionHasBeenSet() const
const Aws::String & GetName() const
CreateComponentRequest & WithSupportedOsVersions(const Aws::Vector< Aws::String > &value)
void SetData(const char *value)
CreateComponentRequest & WithName(Aws::String &&value)
CreateComponentRequest & WithData(const char *value)
bool UriHasBeenSet() const
void SetData(const Aws::String &value)
void SetName(const char *value)
CreateComponentRequest & WithKmsKeyId(const char *value)
void SetSemanticVersion(const Aws::String &value)
CreateComponentRequest & AddTags(Aws::String &&key, const char *value)
bool ChangeDescriptionHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClientToken(const char *value)
CreateComponentRequest & WithDescription(const char *value)
const Aws::String & GetDescription() const
CreateComponentRequest & WithUri(Aws::String &&value)
CreateComponentRequest & WithChangeDescription(const Aws::String &value)
CreateComponentRequest & WithUri(const Aws::String &value)
CreateComponentRequest & WithKmsKeyId(const Aws::String &value)
CreateComponentRequest & WithData(const Aws::String &value)
bool ClientTokenHasBeenSet() const
CreateComponentRequest & AddTags(const char *key, Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
bool PlatformHasBeenSet() const
CreateComponentRequest & WithClientToken(const char *value)
CreateComponentRequest & AddSupportedOsVersions(const Aws::String &value)
CreateComponentRequest & WithSemanticVersion(const char *value)
CreateComponentRequest & AddTags(const Aws::String &key, const 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