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

The ARN of the registry.

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

The ARN of the registry.

*/ inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; } /** *

The ARN of the registry.

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

The ARN of the registry.

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

The ARN of the registry.

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

The ARN of the registry.

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

The ARN of the registry.

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

The ARN of the registry.

*/ inline RegistrySummary& 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 bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; } /** *

The name of the registry.

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

The name of the registry.

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

The name of the registry.

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

The name of the registry.

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

The name of the registry.

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

The name of the registry.

*/ inline RegistrySummary& 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 bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

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

Tags associated with the registry.

*/ inline RegistrySummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_registryArn; bool m_registryArnHasBeenSet = false; Aws::String m_registryName; bool m_registryNameHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Schemas } // namespace Aws