/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ServiceCatalog { namespace Model { class DescribePortfolioSharesResult { public: AWS_SERVICECATALOG_API DescribePortfolioSharesResult(); AWS_SERVICECATALOG_API DescribePortfolioSharesResult(const Aws::AmazonWebServiceResult& result); AWS_SERVICECATALOG_API DescribePortfolioSharesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The page token to use to retrieve the next set of results. If there are no * additional results, this value is null.

*/ inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; } /** *

The page token to use to retrieve the next set of results. If there are no * additional results, this value is null.

*/ inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; } /** *

The page token to use to retrieve the next set of results. If there are no * additional results, this value is null.

*/ inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); } /** *

The page token to use to retrieve the next set of results. If there are no * additional results, this value is null.

*/ inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); } /** *

The page token to use to retrieve the next set of results. If there are no * additional results, this value is null.

*/ inline DescribePortfolioSharesResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;} /** *

The page token to use to retrieve the next set of results. If there are no * additional results, this value is null.

*/ inline DescribePortfolioSharesResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;} /** *

The page token to use to retrieve the next set of results. If there are no * additional results, this value is null.

*/ inline DescribePortfolioSharesResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;} /** *

Summaries about each of the portfolio shares.

*/ inline const Aws::Vector& GetPortfolioShareDetails() const{ return m_portfolioShareDetails; } /** *

Summaries about each of the portfolio shares.

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

Summaries about each of the portfolio shares.

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

Summaries about each of the portfolio shares.

*/ inline DescribePortfolioSharesResult& WithPortfolioShareDetails(const Aws::Vector& value) { SetPortfolioShareDetails(value); return *this;} /** *

Summaries about each of the portfolio shares.

*/ inline DescribePortfolioSharesResult& WithPortfolioShareDetails(Aws::Vector&& value) { SetPortfolioShareDetails(std::move(value)); return *this;} /** *

Summaries about each of the portfolio shares.

*/ inline DescribePortfolioSharesResult& AddPortfolioShareDetails(const PortfolioShareDetail& value) { m_portfolioShareDetails.push_back(value); return *this; } /** *

Summaries about each of the portfolio shares.

*/ inline DescribePortfolioSharesResult& AddPortfolioShareDetails(PortfolioShareDetail&& value) { m_portfolioShareDetails.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 DescribePortfolioSharesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribePortfolioSharesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribePortfolioSharesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextPageToken; Aws::Vector m_portfolioShareDetails; Aws::String m_requestId; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws