/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ECRPublic { namespace Model { /** *

The metadata for a public registry.

See Also:

AWS * API Reference

*/ class RegistryCatalogData { public: AWS_ECRPUBLIC_API RegistryCatalogData(); AWS_ECRPUBLIC_API RegistryCatalogData(Aws::Utils::Json::JsonView jsonValue); AWS_ECRPUBLIC_API RegistryCatalogData& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline RegistryCatalogData& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline RegistryCatalogData& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The display name for a public registry. This appears on the Amazon ECR Public * Gallery.

Only accounts that have the verified account badge * can have a registry display name.

*/ inline RegistryCatalogData& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} private: Aws::String m_displayName; bool m_displayNameHasBeenSet = false; }; } // namespace Model } // namespace ECRPublic } // namespace Aws