679 lines
22 KiB
C++
679 lines
22 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/imagebuilder/model/ComponentType.h>
|
|
#include <aws/imagebuilder/model/Platform.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace imagebuilder
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>A detailed view of a component.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Component">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_IMAGEBUILDER_API Component
|
|
{
|
|
public:
|
|
Component();
|
|
Component(Aws::Utils::Json::JsonView jsonValue);
|
|
Component& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline Component& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline Component& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
*/
|
|
inline Component& WithArn(const char* value) { SetArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline Component& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline Component& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the component.</p>
|
|
*/
|
|
inline Component& WithName(const char* value) { SetName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline const Aws::String& GetVersion() const{ return m_version; }
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline Component& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline Component& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The version of the component.</p>
|
|
*/
|
|
inline Component& WithVersion(const char* value) { SetVersion(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline Component& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline Component& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the component.</p>
|
|
*/
|
|
inline Component& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline const Aws::String& GetChangeDescription() const{ return m_changeDescription; }
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline bool ChangeDescriptionHasBeenSet() const { return m_changeDescriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline void SetChangeDescription(const Aws::String& value) { m_changeDescriptionHasBeenSet = true; m_changeDescription = value; }
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline void SetChangeDescription(Aws::String&& value) { m_changeDescriptionHasBeenSet = true; m_changeDescription = std::move(value); }
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline void SetChangeDescription(const char* value) { m_changeDescriptionHasBeenSet = true; m_changeDescription.assign(value); }
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline Component& WithChangeDescription(const Aws::String& value) { SetChangeDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline Component& WithChangeDescription(Aws::String&& value) { SetChangeDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The change description of the component.</p>
|
|
*/
|
|
inline Component& WithChangeDescription(const char* value) { SetChangeDescription(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The type of the component denotes whether the component is used to build the
|
|
* image or only to test it.</p>
|
|
*/
|
|
inline const ComponentType& GetType() const{ return m_type; }
|
|
|
|
/**
|
|
* <p>The type of the component denotes whether the component is used to build the
|
|
* image or only to test it.</p>
|
|
*/
|
|
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The type of the component denotes whether the component is used to build the
|
|
* image or only to test it.</p>
|
|
*/
|
|
inline void SetType(const ComponentType& value) { m_typeHasBeenSet = true; m_type = value; }
|
|
|
|
/**
|
|
* <p>The type of the component denotes whether the component is used to build the
|
|
* image or only to test it.</p>
|
|
*/
|
|
inline void SetType(ComponentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
|
|
|
|
/**
|
|
* <p>The type of the component denotes whether the component is used to build the
|
|
* image or only to test it.</p>
|
|
*/
|
|
inline Component& WithType(const ComponentType& value) { SetType(value); return *this;}
|
|
|
|
/**
|
|
* <p>The type of the component denotes whether the component is used to build the
|
|
* image or only to test it.</p>
|
|
*/
|
|
inline Component& WithType(ComponentType&& value) { SetType(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The platform of the component.</p>
|
|
*/
|
|
inline const Platform& GetPlatform() const{ return m_platform; }
|
|
|
|
/**
|
|
* <p>The platform of the component.</p>
|
|
*/
|
|
inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The platform of the component.</p>
|
|
*/
|
|
inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
|
|
|
|
/**
|
|
* <p>The platform of the component.</p>
|
|
*/
|
|
inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
|
|
|
|
/**
|
|
* <p>The platform of the component.</p>
|
|
*/
|
|
inline Component& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
|
|
|
|
/**
|
|
* <p>The platform of the component.</p>
|
|
*/
|
|
inline Component& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline const Aws::Vector<Aws::String>& GetSupportedOsVersions() const{ return m_supportedOsVersions; }
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline bool SupportedOsVersionsHasBeenSet() const { return m_supportedOsVersionsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline void SetSupportedOsVersions(const Aws::Vector<Aws::String>& value) { m_supportedOsVersionsHasBeenSet = true; m_supportedOsVersions = value; }
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline void SetSupportedOsVersions(Aws::Vector<Aws::String>&& value) { m_supportedOsVersionsHasBeenSet = true; m_supportedOsVersions = std::move(value); }
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline Component& WithSupportedOsVersions(const Aws::Vector<Aws::String>& value) { SetSupportedOsVersions(value); return *this;}
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline Component& WithSupportedOsVersions(Aws::Vector<Aws::String>&& value) { SetSupportedOsVersions(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline Component& AddSupportedOsVersions(const Aws::String& value) { m_supportedOsVersionsHasBeenSet = true; m_supportedOsVersions.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline Component& AddSupportedOsVersions(Aws::String&& value) { m_supportedOsVersionsHasBeenSet = true; m_supportedOsVersions.push_back(std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The operating system (OS) version supported by the component. If the OS
|
|
* information is available, a prefix match is performed against the parent image
|
|
* OS version during image recipe creation. </p>
|
|
*/
|
|
inline Component& AddSupportedOsVersions(const char* value) { m_supportedOsVersionsHasBeenSet = true; m_supportedOsVersions.push_back(value); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline const Aws::String& GetOwner() const{ return m_owner; }
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline Component& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline Component& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The owner of the component.</p>
|
|
*/
|
|
inline Component& WithOwner(const char* value) { SetOwner(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline const Aws::String& GetData() const{ return m_data; }
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; }
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); }
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline Component& WithData(const Aws::String& value) { SetData(value); return *this;}
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline Component& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The data of the component.</p>
|
|
*/
|
|
inline Component& WithData(const char* value) { SetData(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline Component& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline Component& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The KMS key identifier used to encrypt the component.</p>
|
|
*/
|
|
inline Component& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The encryption status of the component.</p>
|
|
*/
|
|
inline bool GetEncrypted() const{ return m_encrypted; }
|
|
|
|
/**
|
|
* <p>The encryption status of the component.</p>
|
|
*/
|
|
inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The encryption status of the component.</p>
|
|
*/
|
|
inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
|
|
|
|
/**
|
|
* <p>The encryption status of the component.</p>
|
|
*/
|
|
inline Component& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline Component& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline Component& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The date that the component was created.</p>
|
|
*/
|
|
inline Component& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags associated with the component.</p>
|
|
*/
|
|
inline Component& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_arn;
|
|
bool m_arnHasBeenSet;
|
|
|
|
Aws::String m_name;
|
|
bool m_nameHasBeenSet;
|
|
|
|
Aws::String m_version;
|
|
bool m_versionHasBeenSet;
|
|
|
|
Aws::String m_description;
|
|
bool m_descriptionHasBeenSet;
|
|
|
|
Aws::String m_changeDescription;
|
|
bool m_changeDescriptionHasBeenSet;
|
|
|
|
ComponentType m_type;
|
|
bool m_typeHasBeenSet;
|
|
|
|
Platform m_platform;
|
|
bool m_platformHasBeenSet;
|
|
|
|
Aws::Vector<Aws::String> m_supportedOsVersions;
|
|
bool m_supportedOsVersionsHasBeenSet;
|
|
|
|
Aws::String m_owner;
|
|
bool m_ownerHasBeenSet;
|
|
|
|
Aws::String m_data;
|
|
bool m_dataHasBeenSet;
|
|
|
|
Aws::String m_kmsKeyId;
|
|
bool m_kmsKeyIdHasBeenSet;
|
|
|
|
bool m_encrypted;
|
|
bool m_encryptedHasBeenSet;
|
|
|
|
Aws::String m_dateCreated;
|
|
bool m_dateCreatedHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|
bool m_tagsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace imagebuilder
|
|
} // namespace Aws
|