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

Information regarding this specific recommendation set.

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

Information regarding this specific recommendation set.

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

Information regarding this specific recommendation set.

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

Information regarding this specific recommendation set.

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

Information regarding 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. AWS 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. AWS 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. AWS 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. AWS 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. AWS 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. AWS 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. AWS 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;} private: SavingsPlansPurchaseRecommendationMetadata m_metadata; SavingsPlansPurchaseRecommendation m_savingsPlansPurchaseRecommendation; Aws::String m_nextPageToken; }; } // namespace Model } // namespace CostExplorer } // namespace Aws