7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/ComponentParameterDetail.h>
12#include <aws/imagebuilder/model/ComponentState.h>
13#include <aws/imagebuilder/model/ComponentType.h>
14#include <aws/imagebuilder/model/Platform.h>
15#include <aws/imagebuilder/model/ProductCodeListItem.h>
26namespace imagebuilder {
47 template <
typename ArnT = Aws::String>
49 m_arnHasBeenSet =
true;
50 m_arn = std::forward<ArnT>(value);
52 template <
typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
83 template <
typename VersionT = Aws::String>
85 m_versionHasBeenSet =
true;
86 m_version = std::forward<VersionT>(value);
88 template <
typename VersionT = Aws::String>
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
120 template <
typename ChangeDescriptionT = Aws::String>
122 m_changeDescriptionHasBeenSet =
true;
123 m_changeDescription = std::forward<ChangeDescriptionT>(value);
125 template <
typename ChangeDescriptionT = Aws::String>
140 m_typeHasBeenSet =
true;
156 m_platformHasBeenSet =
true;
173 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
175 m_supportedOsVersionsHasBeenSet =
true;
176 m_supportedOsVersions = std::forward<SupportedOsVersionsT>(value);
178 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
183 template <
typename SupportedOsVersionsT = Aws::String>
185 m_supportedOsVersionsHasBeenSet =
true;
186 m_supportedOsVersions.emplace_back(std::forward<SupportedOsVersionsT>(value));
197 template <
typename StateT = ComponentState>
199 m_stateHasBeenSet =
true;
200 m_state = std::forward<StateT>(value);
202 template <
typename StateT = ComponentState>
204 SetState(std::forward<StateT>(value));
216 template <
typename ParametersT = Aws::Vector<ComponentParameterDetail>>
218 m_parametersHasBeenSet =
true;
219 m_parameters = std::forward<ParametersT>(value);
221 template <
typename ParametersT = Aws::Vector<ComponentParameterDetail>>
226 template <
typename ParametersT = ComponentParameterDetail>
228 m_parametersHasBeenSet =
true;
229 m_parameters.emplace_back(std::forward<ParametersT>(value));
240 template <
typename OwnerT = Aws::String>
242 m_ownerHasBeenSet =
true;
243 m_owner = std::forward<OwnerT>(value);
245 template <
typename OwnerT = Aws::String>
247 SetOwner(std::forward<OwnerT>(value));
258 template <
typename DataT = Aws::String>
260 m_dataHasBeenSet =
true;
261 m_data = std::forward<DataT>(value);
263 template <
typename DataT = Aws::String>
265 SetData(std::forward<DataT>(value));
280 template <
typename KmsKeyIdT = Aws::String>
282 m_kmsKeyIdHasBeenSet =
true;
283 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
285 template <
typename KmsKeyIdT = Aws::String>
299 m_encryptedHasBeenSet =
true;
314 template <
typename DateCreatedT = Aws::String>
316 m_dateCreatedHasBeenSet =
true;
317 m_dateCreated = std::forward<DateCreatedT>(value);
319 template <
typename DateCreatedT = Aws::String>
332 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
334 m_tagsHasBeenSet =
true;
335 m_tags = std::forward<TagsT>(value);
337 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
339 SetTags(std::forward<TagsT>(value));
342 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
344 m_tagsHasBeenSet =
true;
345 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
357 template <
typename PublisherT = Aws::String>
359 m_publisherHasBeenSet =
true;
360 m_publisher = std::forward<PublisherT>(value);
362 template <
typename PublisherT = Aws::String>
377 m_obfuscateHasBeenSet =
true;
393 template <
typename ProductCodesT = Aws::Vector<ProductCodeListItem>>
395 m_productCodesHasBeenSet =
true;
396 m_productCodes = std::forward<ProductCodesT>(value);
398 template <
typename ProductCodesT = Aws::Vector<ProductCodeListItem>>
403 template <
typename ProductCodesT = ProductCodeListItem>
405 m_productCodesHasBeenSet =
true;
406 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
427 ComponentState m_state;
437 bool m_encrypted{
false};
445 bool m_obfuscate{
false};
448 bool m_arnHasBeenSet =
false;
449 bool m_nameHasBeenSet =
false;
450 bool m_versionHasBeenSet =
false;
451 bool m_descriptionHasBeenSet =
false;
452 bool m_changeDescriptionHasBeenSet =
false;
453 bool m_typeHasBeenSet =
false;
454 bool m_platformHasBeenSet =
false;
455 bool m_supportedOsVersionsHasBeenSet =
false;
456 bool m_stateHasBeenSet =
false;
457 bool m_parametersHasBeenSet =
false;
458 bool m_ownerHasBeenSet =
false;
459 bool m_dataHasBeenSet =
false;
460 bool m_kmsKeyIdHasBeenSet =
false;
461 bool m_encryptedHasBeenSet =
false;
462 bool m_dateCreatedHasBeenSet =
false;
463 bool m_tagsHasBeenSet =
false;
464 bool m_publisherHasBeenSet =
false;
465 bool m_obfuscateHasBeenSet =
false;
466 bool m_productCodesHasBeenSet =
false;
void SetName(NameT &&value)
bool ParametersHasBeenSet() const
const Aws::String & GetName() const
bool ArnHasBeenSet() const
bool SupportedOsVersionsHasBeenSet() const
AWS_IMAGEBUILDER_API Component & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSupportedOsVersions() const
const Aws::String & GetDescription() const
void SetState(StateT &&value)
bool DateCreatedHasBeenSet() const
void SetObfuscate(bool value)
bool ProductCodesHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
Component & WithPlatform(Platform value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetKmsKeyId() const
Component & WithType(ComponentType value)
const Aws::String & GetArn() const
bool TypeHasBeenSet() const
bool ObfuscateHasBeenSet() const
void SetEncrypted(bool value)
bool StateHasBeenSet() const
Component & WithName(NameT &&value)
Component & WithDescription(DescriptionT &&value)
Component & WithVersion(VersionT &&value)
Component & WithEncrypted(bool value)
const Aws::String & GetDateCreated() const
bool NameHasBeenSet() const
Component & WithTags(TagsT &&value)
bool DataHasBeenSet() const
Component & WithKmsKeyId(KmsKeyIdT &&value)
Component & WithArn(ArnT &&value)
Component & WithChangeDescription(ChangeDescriptionT &&value)
Component & WithOwner(OwnerT &&value)
Component & WithProductCodes(ProductCodesT &&value)
bool DescriptionHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
Component & WithState(StateT &&value)
Component & WithObfuscate(bool value)
void SetPublisher(PublisherT &&value)
Component & WithDateCreated(DateCreatedT &&value)
const Aws::String & GetPublisher() const
const Aws::Vector< ProductCodeListItem > & GetProductCodes() const
bool EncryptedHasBeenSet() const
bool PlatformHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetSupportedOsVersions(SupportedOsVersionsT &&value)
AWS_IMAGEBUILDER_API Component()=default
Component & WithParameters(ParametersT &&value)
ComponentType GetType() const
const Aws::String & GetChangeDescription() const
void SetDateCreated(DateCreatedT &&value)
const Aws::String & GetVersion() const
Component & WithData(DataT &&value)
const Aws::String & GetData() const
bool VersionHasBeenSet() const
const Aws::String & GetOwner() const
bool GetEncrypted() const
void SetPlatform(Platform value)
void SetTags(TagsT &&value)
const Aws::Vector< ComponentParameterDetail > & GetParameters() const
Component & AddProductCodes(ProductCodesT &&value)
bool ChangeDescriptionHasBeenSet() const
AWS_IMAGEBUILDER_API Component(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(ParametersT &&value)
bool TagsHasBeenSet() const
void SetType(ComponentType value)
void SetOwner(OwnerT &&value)
bool PublisherHasBeenSet() const
Platform GetPlatform() const
void SetChangeDescription(ChangeDescriptionT &&value)
void SetVersion(VersionT &&value)
Component & WithSupportedOsVersions(SupportedOsVersionsT &&value)
Component & AddParameters(ParametersT &&value)
Component & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetProductCodes(ProductCodesT &&value)
Component & WithPublisher(PublisherT &&value)
void SetData(DataT &&value)
bool OwnerHasBeenSet() const
const ComponentState & GetState() const
Component & AddSupportedOsVersions(SupportedOsVersionsT &&value)
bool GetObfuscate() const
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