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

The description of the registry.

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

The description of the registry.

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

The description of the registry.

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

The description of the registry.

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

The description of the registry.

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

The description of the registry.

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

The description of the registry.

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

The ARN of the registry.

*/ inline const Aws::String& GetRegistryArn() const{ return m_registryArn; } /** *

The ARN of the registry.

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

The ARN of the registry.

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

The ARN of the registry.

*/ inline void SetRegistryArn(const char* value) { m_registryArn.assign(value); } /** *

The ARN of the registry.

*/ inline CreateRegistryResult& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;} /** *

The ARN of the registry.

*/ inline CreateRegistryResult& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;} /** *

The ARN of the registry.

*/ inline CreateRegistryResult& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;} /** *

The name of the registry.

*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *

The name of the registry.

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

The name of the registry.

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

The name of the registry.

*/ inline void SetRegistryName(const char* value) { m_registryName.assign(value); } /** *

The name of the registry.

*/ inline CreateRegistryResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

The name of the registry.

*/ inline CreateRegistryResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *

The name of the registry.

*/ inline CreateRegistryResult& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} /** *

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

*/ inline CreateRegistryResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 CreateRegistryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRegistryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRegistryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_description; Aws::String m_registryArn; Aws::String m_registryName; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace Schemas } // namespace Aws