7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ComponentType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/imagebuilder/model/ComponentState.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/imagebuilder/model/ComponentParameterDetail.h>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
96 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
111 inline void SetChangeDescription(
const char* value) { m_changeDescriptionHasBeenSet =
true; m_changeDescription.assign(value); }
195 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
209 inline void SetData(
const char* value) { m_dataHasBeenSet =
true; m_data.assign(value); }
223 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
235 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
247 inline void SetDateCreated(
const char* value) { m_dateCreatedHasBeenSet =
true; m_dateCreated.assign(value); }
269 inline Component&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
281 inline void SetPublisher(
const char* value) { m_publisherHasBeenSet =
true; m_publisher.assign(value); }
294 inline void SetObfuscate(
bool value) { m_obfuscateHasBeenSet =
true; m_obfuscate = value; }
300 bool m_arnHasBeenSet =
false;
303 bool m_nameHasBeenSet =
false;
306 bool m_versionHasBeenSet =
false;
309 bool m_descriptionHasBeenSet =
false;
312 bool m_changeDescriptionHasBeenSet =
false;
315 bool m_typeHasBeenSet =
false;
318 bool m_platformHasBeenSet =
false;
321 bool m_supportedOsVersionsHasBeenSet =
false;
324 bool m_stateHasBeenSet =
false;
327 bool m_parametersHasBeenSet =
false;
330 bool m_ownerHasBeenSet =
false;
333 bool m_dataHasBeenSet =
false;
336 bool m_kmsKeyIdHasBeenSet =
false;
339 bool m_encryptedHasBeenSet =
false;
342 bool m_dateCreatedHasBeenSet =
false;
345 bool m_tagsHasBeenSet =
false;
348 bool m_publisherHasBeenSet =
false;
351 bool m_obfuscateHasBeenSet =
false;
const ComponentType & GetType() const
Component & WithVersion(Aws::String &&value)
Component & WithPlatform(Platform &&value)
Component & WithName(Aws::String &&value)
bool ParametersHasBeenSet() const
void SetVersion(const char *value)
Component & AddParameters(ComponentParameterDetail &&value)
const Aws::String & GetName() const
void SetOwner(const Aws::String &value)
bool ArnHasBeenSet() const
void SetData(const char *value)
Component & WithVersion(const Aws::String &value)
Component & WithOwner(const char *value)
void SetType(ComponentType &&value)
bool SupportedOsVersionsHasBeenSet() const
AWS_IMAGEBUILDER_API Component & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSupportedOsVersions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSupportedOsVersions() const
Component & WithChangeDescription(const char *value)
AWS_IMAGEBUILDER_API Component()
const Aws::String & GetDescription() const
void SetName(const Aws::String &value)
Component & WithKmsKeyId(const Aws::String &value)
Component & WithSupportedOsVersions(const Aws::Vector< Aws::String > &value)
Component & AddTags(const char *key, const char *value)
Component & WithPublisher(const Aws::String &value)
bool DateCreatedHasBeenSet() const
Component & AddTags(Aws::String &&key, const char *value)
void SetPlatform(Platform &&value)
void SetObfuscate(bool value)
Component & WithData(const Aws::String &value)
Component & WithData(const char *value)
Component & AddTags(const char *key, Aws::String &&value)
Component & WithDateCreated(const Aws::String &value)
Component & WithVersion(const char *value)
Component & WithParameters(Aws::Vector< ComponentParameterDetail > &&value)
void SetPublisher(const Aws::String &value)
Component & WithKmsKeyId(const char *value)
Component & WithChangeDescription(const Aws::String &value)
const Platform & GetPlatform() const
void SetName(const char *value)
Component & AddParameters(const ComponentParameterDetail &value)
Component & WithData(Aws::String &&value)
Component & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetArn() const
bool TypeHasBeenSet() const
bool ObfuscateHasBeenSet() const
void SetEncrypted(bool value)
bool StateHasBeenSet() const
void SetArn(const Aws::String &value)
Component & WithDescription(const Aws::String &value)
Component & WithType(const ComponentType &value)
Component & WithEncrypted(bool value)
const Aws::String & GetDateCreated() const
bool NameHasBeenSet() const
Component & AddTags(Aws::String &&key, const Aws::String &value)
void SetName(Aws::String &&value)
bool DataHasBeenSet() const
Component & WithArn(Aws::String &&value)
Component & WithPlatform(const Platform &value)
void SetPlatform(const Platform &value)
void SetKmsKeyId(const Aws::String &value)
Component & WithOwner(Aws::String &&value)
Component & AddSupportedOsVersions(const char *value)
void SetDescription(const char *value)
Component & WithType(ComponentType &&value)
bool DescriptionHasBeenSet() const
void SetDescription(Aws::String &&value)
Component & WithState(const ComponentState &value)
Component & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParameters(Aws::Vector< ComponentParameterDetail > &&value)
Component & WithPublisher(const char *value)
void SetVersion(const Aws::String &value)
Component & AddSupportedOsVersions(const Aws::String &value)
Component & WithDescription(const char *value)
Component & WithObfuscate(bool value)
Component & WithChangeDescription(Aws::String &&value)
Component & WithName(const Aws::String &value)
Component & AddTags(const Aws::String &key, const Aws::String &value)
Component & WithArn(const Aws::String &value)
const Aws::String & GetPublisher() const
bool EncryptedHasBeenSet() const
bool PlatformHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(const Aws::String &value)
void SetDateCreated(const char *value)
void SetVersion(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
void SetOwner(Aws::String &&value)
const Aws::String & GetChangeDescription() const
Component & WithState(ComponentState &&value)
void SetChangeDescription(const char *value)
Component & WithOwner(const Aws::String &value)
const Aws::String & GetVersion() const
Component & WithPublisher(Aws::String &&value)
const Aws::String & GetData() const
bool VersionHasBeenSet() const
const Aws::String & GetOwner() const
bool GetEncrypted() const
void SetKmsKeyId(const char *value)
void SetArn(Aws::String &&value)
Component & AddSupportedOsVersions(Aws::String &&value)
void SetDateCreated(Aws::String &&value)
Component & WithDescription(Aws::String &&value)
void SetChangeDescription(const Aws::String &value)
const Aws::Vector< ComponentParameterDetail > & GetParameters() const
bool ChangeDescriptionHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API Component(Aws::Utils::Json::JsonView jsonValue)
void SetPublisher(Aws::String &&value)
bool TagsHasBeenSet() const
Component & WithDateCreated(Aws::String &&value)
Component & WithArn(const char *value)
void SetData(const Aws::String &value)
Component & WithName(const char *value)
Component & AddTags(const Aws::String &key, Aws::String &&value)
Component & WithParameters(const Aws::Vector< ComponentParameterDetail > &value)
Component & AddTags(Aws::String &&key, Aws::String &&value)
bool PublisherHasBeenSet() const
Component & WithSupportedOsVersions(Aws::Vector< Aws::String > &&value)
void SetParameters(const Aws::Vector< ComponentParameterDetail > &value)
void SetData(Aws::String &&value)
void SetPublisher(const char *value)
void SetOwner(const char *value)
void SetDateCreated(const Aws::String &value)
void SetState(const ComponentState &value)
void SetChangeDescription(Aws::String &&value)
Component & WithDateCreated(const char *value)
void SetState(ComponentState &&value)
bool OwnerHasBeenSet() const
Component & WithKmsKeyId(Aws::String &&value)
const ComponentState & GetState() const
bool GetObfuscate() const
void SetType(const ComponentType &value)
void SetArn(const char *value)
void SetSupportedOsVersions(const Aws::Vector< Aws::String > &value)
bool KmsKeyIdHasBeenSet() const
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