/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppRegistry { namespace Model { class GetAttributeGroupResult { public: AWS_APPREGISTRY_API GetAttributeGroupResult(); AWS_APPREGISTRY_API GetAttributeGroupResult(const Aws::AmazonWebServiceResult& result); AWS_APPREGISTRY_API GetAttributeGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the attribute group.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the attribute group.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The identifier of the attribute group.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The identifier of the attribute group.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The identifier of the attribute group.

*/ inline GetAttributeGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the attribute group.

*/ inline GetAttributeGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the attribute group.

*/ inline GetAttributeGroupResult& WithId(const char* value) { SetId(value); return *this;} /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline GetAttributeGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline GetAttributeGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline GetAttributeGroupResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the attribute group.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the attribute group.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the attribute group.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the attribute group.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the attribute group.

*/ inline GetAttributeGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the attribute group.

*/ inline GetAttributeGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the attribute group.

*/ inline GetAttributeGroupResult& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the attribute group that the user provides.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the attribute group that the user provides.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the attribute group that the user provides.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description of the attribute group that the user provides.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the attribute group that the user provides.

*/ inline GetAttributeGroupResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the attribute group that the user provides.

*/ inline GetAttributeGroupResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the attribute group that the user provides.

*/ inline GetAttributeGroupResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A JSON string in the form of nested key-value pairs that represent the * attributes in the group and describes an application and its components.

*/ inline const Aws::String& GetAttributes() const{ return m_attributes; } /** *

A JSON string in the form of nested key-value pairs that represent the * attributes in the group and describes an application and its components.

*/ inline void SetAttributes(const Aws::String& value) { m_attributes = value; } /** *

A JSON string in the form of nested key-value pairs that represent the * attributes in the group and describes an application and its components.

*/ inline void SetAttributes(Aws::String&& value) { m_attributes = std::move(value); } /** *

A JSON string in the form of nested key-value pairs that represent the * attributes in the group and describes an application and its components.

*/ inline void SetAttributes(const char* value) { m_attributes.assign(value); } /** *

A JSON string in the form of nested key-value pairs that represent the * attributes in the group and describes an application and its components.

*/ inline GetAttributeGroupResult& WithAttributes(const Aws::String& value) { SetAttributes(value); return *this;} /** *

A JSON string in the form of nested key-value pairs that represent the * attributes in the group and describes an application and its components.

*/ inline GetAttributeGroupResult& WithAttributes(Aws::String&& value) { SetAttributes(std::move(value)); return *this;} /** *

A JSON string in the form of nested key-value pairs that represent the * attributes in the group and describes an application and its components.

*/ inline GetAttributeGroupResult& WithAttributes(const char* value) { SetAttributes(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline GetAttributeGroupResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline GetAttributeGroupResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline GetAttributeGroupResult& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline GetAttributeGroupResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

Key-value pairs associated with the attribute group.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Key-value pairs associated with the attribute group.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Key-value pairs associated with the attribute group.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Key-value pairs associated with the attribute group.

*/ inline GetAttributeGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The service principal that created the attribute group.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The service principal that created the attribute group.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } /** *

The service principal that created the attribute group.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } /** *

The service principal that created the attribute group.

*/ inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } /** *

The service principal that created the attribute group.

*/ inline GetAttributeGroupResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The service principal that created the attribute group.

*/ inline GetAttributeGroupResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The service principal that created the attribute group.

*/ inline GetAttributeGroupResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetAttributeGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAttributeGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAttributeGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_arn; Aws::String m_name; Aws::String m_description; Aws::String m_attributes; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastUpdateTime; Aws::Map m_tags; Aws::String m_createdBy; Aws::String m_requestId; }; } // namespace Model } // namespace AppRegistry } // namespace Aws