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

The list of historical recommendation generations.

*/ inline const Aws::Vector& GetGenerationSummaryList() const{ return m_generationSummaryList; } /** *

The list of historical recommendation generations.

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

The list of historical recommendation generations.

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

The list of historical recommendation generations.

*/ inline ListSavingsPlansPurchaseRecommendationGenerationResult& WithGenerationSummaryList(const Aws::Vector& value) { SetGenerationSummaryList(value); return *this;} /** *

The list of historical recommendation generations.

*/ inline ListSavingsPlansPurchaseRecommendationGenerationResult& WithGenerationSummaryList(Aws::Vector&& value) { SetGenerationSummaryList(std::move(value)); return *this;} /** *

The list of historical recommendation generations.

*/ inline ListSavingsPlansPurchaseRecommendationGenerationResult& AddGenerationSummaryList(const GenerationSummary& value) { m_generationSummaryList.push_back(value); return *this; } /** *

The list of historical recommendation generations.

*/ inline ListSavingsPlansPurchaseRecommendationGenerationResult& AddGenerationSummaryList(GenerationSummary&& value) { m_generationSummaryList.push_back(std::move(value)); return *this; } /** *

The token to retrieve the next set of results.

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

The token to retrieve the next set of results.

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

The token to retrieve the next set of results.

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

The token to retrieve the next set of results.

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

The token to retrieve the next set of results.

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

The token to retrieve the next set of results.

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

The token to retrieve the next set of results.

*/ inline ListSavingsPlansPurchaseRecommendationGenerationResult& WithNextPageToken(const char* value) { SetNextPageToken(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 ListSavingsPlansPurchaseRecommendationGenerationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSavingsPlansPurchaseRecommendationGenerationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSavingsPlansPurchaseRecommendationGenerationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_generationSummaryList; Aws::String m_nextPageToken; Aws::String m_requestId; }; } // namespace Model } // namespace CostExplorer } // namespace Aws