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

The token to use to advance to the next page of recommendation summaries.

*

This value is null when there are no more pages of recommendation summaries * to return.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token to use to advance to the next page of recommendation summaries.

*

This value is null when there are no more pages of recommendation summaries * to return.

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

The token to use to advance to the next page of recommendation summaries.

*

This value is null when there are no more pages of recommendation summaries * to return.

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

The token to use to advance to the next page of recommendation summaries.

*

This value is null when there are no more pages of recommendation summaries * to return.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token to use to advance to the next page of recommendation summaries.

*

This value is null when there are no more pages of recommendation summaries * to return.

*/ inline GetRecommendationSummariesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to use to advance to the next page of recommendation summaries.

*

This value is null when there are no more pages of recommendation summaries * to return.

*/ inline GetRecommendationSummariesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to use to advance to the next page of recommendation summaries.

*

This value is null when there are no more pages of recommendation summaries * to return.

*/ inline GetRecommendationSummariesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

An array of objects that summarize a recommendation.

*/ inline const Aws::Vector& GetRecommendationSummaries() const{ return m_recommendationSummaries; } /** *

An array of objects that summarize a recommendation.

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

An array of objects that summarize a recommendation.

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

An array of objects that summarize a recommendation.

*/ inline GetRecommendationSummariesResult& WithRecommendationSummaries(const Aws::Vector& value) { SetRecommendationSummaries(value); return *this;} /** *

An array of objects that summarize a recommendation.

*/ inline GetRecommendationSummariesResult& WithRecommendationSummaries(Aws::Vector&& value) { SetRecommendationSummaries(std::move(value)); return *this;} /** *

An array of objects that summarize a recommendation.

*/ inline GetRecommendationSummariesResult& AddRecommendationSummaries(const RecommendationSummary& value) { m_recommendationSummaries.push_back(value); return *this; } /** *

An array of objects that summarize a recommendation.

*/ inline GetRecommendationSummariesResult& AddRecommendationSummaries(RecommendationSummary&& value) { m_recommendationSummaries.push_back(std::move(value)); return *this; } private: Aws::String m_nextToken; Aws::Vector m_recommendationSummaries; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws