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/ComponentType.h>
11#include <aws/imagebuilder/model/ComponentFormat.h>
12#include <aws/imagebuilder/model/Platform.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
69 inline void SetSemanticVersion(
const char* value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion.assign(value); }
84 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
100 inline void SetChangeDescription(
const char* value) { m_changeDescriptionHasBeenSet =
true; m_changeDescription.assign(value); }
153 inline void SetData(
const char* value) { m_dataHasBeenSet =
true; m_data.assign(value); }
170 inline void SetUri(
const char* value) { m_uriHasBeenSet =
true; m_uri.assign(value); }
184 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
220 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
228 bool m_nameHasBeenSet =
false;
231 bool m_semanticVersionHasBeenSet =
false;
234 bool m_descriptionHasBeenSet =
false;
237 bool m_changeDescriptionHasBeenSet =
false;
240 bool m_typeHasBeenSet =
false;
243 bool m_formatHasBeenSet =
false;
246 bool m_platformHasBeenSet =
false;
249 bool m_dataHasBeenSet =
false;
252 bool m_uriHasBeenSet =
false;
255 bool m_kmsKeyIdHasBeenSet =
false;
258 bool m_tagsHasBeenSet =
false;
261 bool m_clientTokenHasBeenSet =
false;
ImportComponentRequest & WithType(ComponentType &&value)
const Aws::String & GetSemanticVersion() const
ImportComponentRequest & WithData(const Aws::String &value)
bool ClientTokenHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetName(const char *value)
ImportComponentRequest & AddTags(const Aws::String &key, Aws::String &&value)
ImportComponentRequest & WithUri(const char *value)
const Aws::String & GetKmsKeyId() const
void SetUri(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetData() const
ImportComponentRequest & WithFormat(const ComponentFormat &value)
void SetData(Aws::String &&value)
ImportComponentRequest & WithSemanticVersion(const char *value)
void SetUri(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool TagsHasBeenSet() const
ImportComponentRequest & WithName(Aws::String &&value)
ImportComponentRequest & WithClientToken(Aws::String &&value)
ImportComponentRequest & AddTags(const char *key, Aws::String &&value)
void SetFormat(ComponentFormat &&value)
ImportComponentRequest & WithName(const Aws::String &value)
void SetChangeDescription(Aws::String &&value)
ImportComponentRequest & WithDescription(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ImportComponentRequest & WithName(const char *value)
void SetChangeDescription(const Aws::String &value)
ImportComponentRequest & WithKmsKeyId(Aws::String &&value)
ImportComponentRequest & WithSemanticVersion(Aws::String &&value)
ImportComponentRequest & WithChangeDescription(const Aws::String &value)
void SetChangeDescription(const char *value)
const Platform & GetPlatform() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetDescription(const char *value)
const Aws::String & GetChangeDescription() const
bool DataHasBeenSet() const
bool FormatHasBeenSet() const
ImportComponentRequest & WithDescription(const char *value)
bool PlatformHasBeenSet() const
void SetData(const char *value)
ImportComponentRequest & WithClientToken(const Aws::String &value)
ImportComponentRequest & WithPlatform(const Platform &value)
ImportComponentRequest & WithChangeDescription(const char *value)
void SetKmsKeyId(const char *value)
ImportComponentRequest & AddTags(const char *key, const char *value)
ImportComponentRequest & WithType(const ComponentType &value)
void SetUri(const char *value)
void SetSemanticVersion(const Aws::String &value)
ImportComponentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ImportComponentRequest & WithUri(const Aws::String &value)
ImportComponentRequest & AddTags(Aws::String &&key, Aws::String &&value)
ImportComponentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetType(const ComponentType &value)
void SetKmsKeyId(Aws::String &&value)
bool KmsKeyIdHasBeenSet() const
ImportComponentRequest & WithPlatform(Platform &&value)
void SetClientToken(Aws::String &&value)
ImportComponentRequest & AddTags(const Aws::String &key, const Aws::String &value)
ImportComponentRequest & AddTags(Aws::String &&key, const char *value)
void SetClientToken(const char *value)
void SetPlatform(Platform &&value)
void SetSemanticVersion(const char *value)
ImportComponentRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ComponentType & GetType() const
void SetPlatform(const Platform &value)
ImportComponentRequest & WithData(Aws::String &&value)
ImportComponentRequest & WithFormat(ComponentFormat &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
bool SemanticVersionHasBeenSet() const
ImportComponentRequest & WithChangeDescription(Aws::String &&value)
void SetFormat(const ComponentFormat &value)
AWS_IMAGEBUILDER_API ImportComponentRequest()
void SetData(const Aws::String &value)
ImportComponentRequest & WithKmsKeyId(const Aws::String &value)
void SetSemanticVersion(Aws::String &&value)
bool UriHasBeenSet() const
const ComponentFormat & GetFormat() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
ImportComponentRequest & WithClientToken(const char *value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUri() const
ImportComponentRequest & WithKmsKeyId(const char *value)
ImportComponentRequest & WithDescription(Aws::String &&value)
ImportComponentRequest & WithData(const char *value)
ImportComponentRequest & WithUri(Aws::String &&value)
ImportComponentRequest & WithSemanticVersion(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
void SetType(ComponentType &&value)
bool ChangeDescriptionHasBeenSet() const
bool TypeHasBeenSet() const
void SetName(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