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

Information that regards this specific recommendation set.

*/ inline const SavingsPlansPurchaseRecommendationMetadata& GetMetadata() const{ return m_metadata; } /** *

Information that regards this specific recommendation set.

*/ inline void SetMetadata(const SavingsPlansPurchaseRecommendationMetadata& value) { m_metadata = value; } /** *

Information that regards this specific recommendation set.

*/ inline void SetMetadata(SavingsPlansPurchaseRecommendationMetadata&& value) { m_metadata = std::move(value); } /** *

Information that regards this specific recommendation set.

*/ inline GetSavingsPlansPurchaseRecommendationResult& WithMetadata(const SavingsPlansPurchaseRecommendationMetadata& value) { SetMetadata(value); return *this;} /** *

Information that regards this specific recommendation set.

*/ inline GetSavingsPlansPurchaseRecommendationResult& WithMetadata(SavingsPlansPurchaseRecommendationMetadata&& value) { SetMetadata(std::move(value)); return *this;} /** *

Contains your request parameters, Savings Plan Recommendations Summary, and * Details.

*/ inline const SavingsPlansPurchaseRecommendation& GetSavingsPlansPurchaseRecommendation() const{ return m_savingsPlansPurchaseRecommendation; } /** *

Contains your request parameters, Savings Plan Recommendations Summary, and * Details.

*/ inline void SetSavingsPlansPurchaseRecommendation(const SavingsPlansPurchaseRecommendation& value) { m_savingsPlansPurchaseRecommendation = value; } /** *

Contains your request parameters, Savings Plan Recommendations Summary, and * Details.

*/ inline void SetSavingsPlansPurchaseRecommendation(SavingsPlansPurchaseRecommendation&& value) { m_savingsPlansPurchaseRecommendation = std::move(value); } /** *

Contains your request parameters, Savings Plan Recommendations Summary, and * Details.

*/ inline GetSavingsPlansPurchaseRecommendationResult& WithSavingsPlansPurchaseRecommendation(const SavingsPlansPurchaseRecommendation& value) { SetSavingsPlansPurchaseRecommendation(value); return *this;} /** *

Contains your request parameters, Savings Plan Recommendations Summary, and * Details.

*/ inline GetSavingsPlansPurchaseRecommendationResult& WithSavingsPlansPurchaseRecommendation(SavingsPlansPurchaseRecommendation&& value) { SetSavingsPlansPurchaseRecommendation(std::move(value)); return *this;} /** *

The token for the next set of retrievable results. Amazon Web Services * provides the token when the response from a previous call has more results than * the maximum page size.

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

The token for the next set of retrievable results. Amazon Web Services * provides the token when the response from a previous call has more results than * the maximum page size.

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

The token for the next set of retrievable results. Amazon Web Services * provides the token when the response from a previous call has more results than * the maximum page size.

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

The token for the next set of retrievable results. Amazon Web Services * provides the token when the response from a previous call has more results than * the maximum page size.

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

The token for the next set of retrievable results. Amazon Web Services * provides the token when the response from a previous call has more results than * the maximum page size.

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

The token for the next set of retrievable results. Amazon Web Services * provides the token when the response from a previous call has more results than * the maximum page size.

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

The token for the next set of retrievable results. Amazon Web Services * provides the token when the response from a previous call has more results than * the maximum page size.

*/ inline GetSavingsPlansPurchaseRecommendationResult& 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 GetSavingsPlansPurchaseRecommendationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSavingsPlansPurchaseRecommendationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSavingsPlansPurchaseRecommendationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: SavingsPlansPurchaseRecommendationMetadata m_metadata; SavingsPlansPurchaseRecommendation m_savingsPlansPurchaseRecommendation; Aws::String m_nextPageToken; Aws::String m_requestId; }; } // namespace Model } // namespace CostExplorer } // namespace Aws