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

The amount of spend that your Savings Plans covered.

*/ inline const Aws::Vector& GetSavingsPlansCoverages() const{ return m_savingsPlansCoverages; } /** *

The amount of spend that your Savings Plans covered.

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

The amount of spend that your Savings Plans covered.

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

The amount of spend that your Savings Plans covered.

*/ inline GetSavingsPlansCoverageResult& WithSavingsPlansCoverages(const Aws::Vector& value) { SetSavingsPlansCoverages(value); return *this;} /** *

The amount of spend that your Savings Plans covered.

*/ inline GetSavingsPlansCoverageResult& WithSavingsPlansCoverages(Aws::Vector&& value) { SetSavingsPlansCoverages(std::move(value)); return *this;} /** *

The amount of spend that your Savings Plans covered.

*/ inline GetSavingsPlansCoverageResult& AddSavingsPlansCoverages(const SavingsPlansCoverage& value) { m_savingsPlansCoverages.push_back(value); return *this; } /** *

The amount of spend that your Savings Plans covered.

*/ inline GetSavingsPlansCoverageResult& AddSavingsPlansCoverages(SavingsPlansCoverage&& value) { m_savingsPlansCoverages.push_back(std::move(value)); return *this; } /** *

The token to retrieve the next set of 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& GetNextToken() const{ return m_nextToken; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline GetSavingsPlansCoverageResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_savingsPlansCoverages; Aws::String m_nextToken; }; } // namespace Model } // namespace CostExplorer } // namespace Aws