/** * 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 ECRPublic { namespace Model { class GetRepositoryCatalogDataResult { public: AWS_ECRPUBLIC_API GetRepositoryCatalogDataResult(); AWS_ECRPUBLIC_API GetRepositoryCatalogDataResult(const Aws::AmazonWebServiceResult& result); AWS_ECRPUBLIC_API GetRepositoryCatalogDataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The catalog metadata for the repository.

*/ inline const RepositoryCatalogData& GetCatalogData() const{ return m_catalogData; } /** *

The catalog metadata for the repository.

*/ inline void SetCatalogData(const RepositoryCatalogData& value) { m_catalogData = value; } /** *

The catalog metadata for the repository.

*/ inline void SetCatalogData(RepositoryCatalogData&& value) { m_catalogData = std::move(value); } /** *

The catalog metadata for the repository.

*/ inline GetRepositoryCatalogDataResult& WithCatalogData(const RepositoryCatalogData& value) { SetCatalogData(value); return *this;} /** *

The catalog metadata for the repository.

*/ inline GetRepositoryCatalogDataResult& WithCatalogData(RepositoryCatalogData&& value) { SetCatalogData(std::move(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 GetRepositoryCatalogDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRepositoryCatalogDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRepositoryCatalogDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RepositoryCatalogData m_catalogData; Aws::String m_requestId; }; } // namespace Model } // namespace ECRPublic } // namespace Aws