/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ServiceCatalog { namespace Model { class CreatePortfolioResult { public: AWS_SERVICECATALOG_API CreatePortfolioResult(); AWS_SERVICECATALOG_API CreatePortfolioResult(const Aws::AmazonWebServiceResult& result); AWS_SERVICECATALOG_API CreatePortfolioResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the portfolio.

*/ inline const PortfolioDetail& GetPortfolioDetail() const{ return m_portfolioDetail; } /** *

Information about the portfolio.

*/ inline void SetPortfolioDetail(const PortfolioDetail& value) { m_portfolioDetail = value; } /** *

Information about the portfolio.

*/ inline void SetPortfolioDetail(PortfolioDetail&& value) { m_portfolioDetail = std::move(value); } /** *

Information about the portfolio.

*/ inline CreatePortfolioResult& WithPortfolioDetail(const PortfolioDetail& value) { SetPortfolioDetail(value); return *this;} /** *

Information about the portfolio.

*/ inline CreatePortfolioResult& WithPortfolioDetail(PortfolioDetail&& value) { SetPortfolioDetail(std::move(value)); return *this;} /** *

Information about the tags associated with the portfolio.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Information about the tags associated with the portfolio.

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

Information about the tags associated with the portfolio.

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

Information about the tags associated with the portfolio.

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

Information about the tags associated with the portfolio.

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

Information about the tags associated with the portfolio.

*/ inline CreatePortfolioResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

Information about the tags associated with the portfolio.

*/ inline CreatePortfolioResult& AddTags(Tag&& value) { m_tags.push_back(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 CreatePortfolioResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreatePortfolioResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreatePortfolioResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: PortfolioDetail m_portfolioDetail; Aws::Vector m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws