/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ECRPublic { namespace Model { /** *

An object that contains the catalog data for a repository. This data is * publicly visible in the Amazon ECR Public Gallery.

See Also:

AWS * API Reference

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

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

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

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

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

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

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

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

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

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

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

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

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

A short description of the contents of the repository. This text appears in * both the image details and also when searching for repositories on the Amazon * ECR Public Gallery.

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

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline const Aws::Vector& GetArchitectures() const{ return m_architectures; } /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; } /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline void SetArchitectures(const Aws::Vector& value) { m_architecturesHasBeenSet = true; m_architectures = value; } /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline void SetArchitectures(Aws::Vector&& value) { m_architecturesHasBeenSet = true; m_architectures = std::move(value); } /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline RepositoryCatalogDataInput& WithArchitectures(const Aws::Vector& value) { SetArchitectures(value); return *this;} /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline RepositoryCatalogDataInput& WithArchitectures(Aws::Vector&& value) { SetArchitectures(std::move(value)); return *this;} /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline RepositoryCatalogDataInput& AddArchitectures(const Aws::String& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; } /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline RepositoryCatalogDataInput& AddArchitectures(Aws::String&& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(std::move(value)); return *this; } /** *

The system architecture that the images in the repository are compatible * with. On the Amazon ECR Public Gallery, the following supported architectures * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * ARM

  • ARM 64

  • * x86

  • x86-64

*/ inline RepositoryCatalogDataInput& AddArchitectures(const char* value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; } /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline const Aws::Vector& GetOperatingSystems() const{ return m_operatingSystems; } /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline bool OperatingSystemsHasBeenSet() const { return m_operatingSystemsHasBeenSet; } /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline void SetOperatingSystems(const Aws::Vector& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems = value; } /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline void SetOperatingSystems(Aws::Vector&& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems = std::move(value); } /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline RepositoryCatalogDataInput& WithOperatingSystems(const Aws::Vector& value) { SetOperatingSystems(value); return *this;} /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline RepositoryCatalogDataInput& WithOperatingSystems(Aws::Vector&& value) { SetOperatingSystems(std::move(value)); return *this;} /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline RepositoryCatalogDataInput& AddOperatingSystems(const Aws::String& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems.push_back(value); return *this; } /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline RepositoryCatalogDataInput& AddOperatingSystems(Aws::String&& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems.push_back(std::move(value)); return *this; } /** *

The operating systems that the images in the repository are compatible with. * On the Amazon ECR Public Gallery, the following supported operating systems * appear as badges on the repository and are used as search filters.

*

If an unsupported tag is added to your repository catalog data, it's * associated with the repository and can be retrieved using the API but isn't * discoverable in the Amazon ECR Public Gallery.

  • * Linux

  • Windows

*/ inline RepositoryCatalogDataInput& AddOperatingSystems(const char* value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems.push_back(value); return *this; } /** *

The base64-encoded repository logo payload.

The repository logo * is only publicly visible in the Amazon ECR Public Gallery for verified * accounts.

*/ inline const Aws::Utils::ByteBuffer& GetLogoImageBlob() const{ return m_logoImageBlob; } /** *

The base64-encoded repository logo payload.

The repository logo * is only publicly visible in the Amazon ECR Public Gallery for verified * accounts.

*/ inline bool LogoImageBlobHasBeenSet() const { return m_logoImageBlobHasBeenSet; } /** *

The base64-encoded repository logo payload.

The repository logo * is only publicly visible in the Amazon ECR Public Gallery for verified * accounts.

*/ inline void SetLogoImageBlob(const Aws::Utils::ByteBuffer& value) { m_logoImageBlobHasBeenSet = true; m_logoImageBlob = value; } /** *

The base64-encoded repository logo payload.

The repository logo * is only publicly visible in the Amazon ECR Public Gallery for verified * accounts.

*/ inline void SetLogoImageBlob(Aws::Utils::ByteBuffer&& value) { m_logoImageBlobHasBeenSet = true; m_logoImageBlob = std::move(value); } /** *

The base64-encoded repository logo payload.

The repository logo * is only publicly visible in the Amazon ECR Public Gallery for verified * accounts.

*/ inline RepositoryCatalogDataInput& WithLogoImageBlob(const Aws::Utils::ByteBuffer& value) { SetLogoImageBlob(value); return *this;} /** *

The base64-encoded repository logo payload.

The repository logo * is only publicly visible in the Amazon ECR Public Gallery for verified * accounts.

*/ inline RepositoryCatalogDataInput& WithLogoImageBlob(Aws::Utils::ByteBuffer&& value) { SetLogoImageBlob(std::move(value)); return *this;} /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline const Aws::String& GetAboutText() const{ return m_aboutText; } /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline bool AboutTextHasBeenSet() const { return m_aboutTextHasBeenSet; } /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline void SetAboutText(const Aws::String& value) { m_aboutTextHasBeenSet = true; m_aboutText = value; } /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline void SetAboutText(Aws::String&& value) { m_aboutTextHasBeenSet = true; m_aboutText = std::move(value); } /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline void SetAboutText(const char* value) { m_aboutTextHasBeenSet = true; m_aboutText.assign(value); } /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline RepositoryCatalogDataInput& WithAboutText(const Aws::String& value) { SetAboutText(value); return *this;} /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline RepositoryCatalogDataInput& WithAboutText(Aws::String&& value) { SetAboutText(std::move(value)); return *this;} /** *

A detailed description of the contents of the repository. It's publicly * visible in the Amazon ECR Public Gallery. The text must be in markdown * format.

*/ inline RepositoryCatalogDataInput& WithAboutText(const char* value) { SetAboutText(value); return *this;} /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline const Aws::String& GetUsageText() const{ return m_usageText; } /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline bool UsageTextHasBeenSet() const { return m_usageTextHasBeenSet; } /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline void SetUsageText(const Aws::String& value) { m_usageTextHasBeenSet = true; m_usageText = value; } /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline void SetUsageText(Aws::String&& value) { m_usageTextHasBeenSet = true; m_usageText = std::move(value); } /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline void SetUsageText(const char* value) { m_usageTextHasBeenSet = true; m_usageText.assign(value); } /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline RepositoryCatalogDataInput& WithUsageText(const Aws::String& value) { SetUsageText(value); return *this;} /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline RepositoryCatalogDataInput& WithUsageText(Aws::String&& value) { SetUsageText(std::move(value)); return *this;} /** *

Detailed information about how to use the contents of the repository. It's * publicly visible in the Amazon ECR Public Gallery. The usage text provides * context, support information, and additional usage details for users of the * repository. The text must be in markdown format.

*/ inline RepositoryCatalogDataInput& WithUsageText(const char* value) { SetUsageText(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_architectures; bool m_architecturesHasBeenSet = false; Aws::Vector m_operatingSystems; bool m_operatingSystemsHasBeenSet = false; Aws::Utils::ByteBuffer m_logoImageBlob; bool m_logoImageBlobHasBeenSet = false; Aws::String m_aboutText; bool m_aboutTextHasBeenSet = false; Aws::String m_usageText; bool m_usageTextHasBeenSet = false; }; } // namespace Model } // namespace ECRPublic } // namespace Aws