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

Information about this catalog item.

*/ inline const CatalogItem& GetCatalogItem() const{ return m_catalogItem; } /** *

Information about this catalog item.

*/ inline void SetCatalogItem(const CatalogItem& value) { m_catalogItem = value; } /** *

Information about this catalog item.

*/ inline void SetCatalogItem(CatalogItem&& value) { m_catalogItem = std::move(value); } /** *

Information about this catalog item.

*/ inline GetCatalogItemResult& WithCatalogItem(const CatalogItem& value) { SetCatalogItem(value); return *this;} /** *

Information about this catalog item.

*/ inline GetCatalogItemResult& WithCatalogItem(CatalogItem&& value) { SetCatalogItem(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 GetCatalogItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCatalogItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCatalogItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CatalogItem m_catalogItem; Aws::String m_requestId; }; } // namespace Model } // namespace Outposts } // namespace Aws