/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specific coverage percentage, On-Demand costs, and spend covered by Savings
* Plans, and total Savings Plans costs for an account.See Also:
* AWS
* API Reference
The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline const Aws::String& GetSpendCoveredBySavingsPlans() const{ return m_spendCoveredBySavingsPlans; } /** *The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline bool SpendCoveredBySavingsPlansHasBeenSet() const { return m_spendCoveredBySavingsPlansHasBeenSet; } /** *The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline void SetSpendCoveredBySavingsPlans(const Aws::String& value) { m_spendCoveredBySavingsPlansHasBeenSet = true; m_spendCoveredBySavingsPlans = value; } /** *The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline void SetSpendCoveredBySavingsPlans(Aws::String&& value) { m_spendCoveredBySavingsPlansHasBeenSet = true; m_spendCoveredBySavingsPlans = std::move(value); } /** *The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline void SetSpendCoveredBySavingsPlans(const char* value) { m_spendCoveredBySavingsPlansHasBeenSet = true; m_spendCoveredBySavingsPlans.assign(value); } /** *The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline SavingsPlansCoverageData& WithSpendCoveredBySavingsPlans(const Aws::String& value) { SetSpendCoveredBySavingsPlans(value); return *this;} /** *The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline SavingsPlansCoverageData& WithSpendCoveredBySavingsPlans(Aws::String&& value) { SetSpendCoveredBySavingsPlans(std::move(value)); return *this;} /** *The amount of your Amazon Web Services usage that's covered by a Savings * Plans.
*/ inline SavingsPlansCoverageData& WithSpendCoveredBySavingsPlans(const char* value) { SetSpendCoveredBySavingsPlans(value); return *this;} /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline const Aws::String& GetOnDemandCost() const{ return m_onDemandCost; } /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline bool OnDemandCostHasBeenSet() const { return m_onDemandCostHasBeenSet; } /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline void SetOnDemandCost(const Aws::String& value) { m_onDemandCostHasBeenSet = true; m_onDemandCost = value; } /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline void SetOnDemandCost(Aws::String&& value) { m_onDemandCostHasBeenSet = true; m_onDemandCost = std::move(value); } /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline void SetOnDemandCost(const char* value) { m_onDemandCostHasBeenSet = true; m_onDemandCost.assign(value); } /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline SavingsPlansCoverageData& WithOnDemandCost(const Aws::String& value) { SetOnDemandCost(value); return *this;} /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline SavingsPlansCoverageData& WithOnDemandCost(Aws::String&& value) { SetOnDemandCost(std::move(value)); return *this;} /** *The cost of your Amazon Web Services usage at the public On-Demand rate.
*/ inline SavingsPlansCoverageData& WithOnDemandCost(const char* value) { SetOnDemandCost(value); return *this;} /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline const Aws::String& GetTotalCost() const{ return m_totalCost; } /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline bool TotalCostHasBeenSet() const { return m_totalCostHasBeenSet; } /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline void SetTotalCost(const Aws::String& value) { m_totalCostHasBeenSet = true; m_totalCost = value; } /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline void SetTotalCost(Aws::String&& value) { m_totalCostHasBeenSet = true; m_totalCost = std::move(value); } /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline void SetTotalCost(const char* value) { m_totalCostHasBeenSet = true; m_totalCost.assign(value); } /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline SavingsPlansCoverageData& WithTotalCost(const Aws::String& value) { SetTotalCost(value); return *this;} /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline SavingsPlansCoverageData& WithTotalCost(Aws::String&& value) { SetTotalCost(std::move(value)); return *this;} /** *The total cost of your Amazon Web Services usage, regardless of your purchase * option.
*/ inline SavingsPlansCoverageData& WithTotalCost(const char* value) { SetTotalCost(value); return *this;} /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline const Aws::String& GetCoveragePercentage() const{ return m_coveragePercentage; } /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline bool CoveragePercentageHasBeenSet() const { return m_coveragePercentageHasBeenSet; } /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline void SetCoveragePercentage(const Aws::String& value) { m_coveragePercentageHasBeenSet = true; m_coveragePercentage = value; } /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline void SetCoveragePercentage(Aws::String&& value) { m_coveragePercentageHasBeenSet = true; m_coveragePercentage = std::move(value); } /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline void SetCoveragePercentage(const char* value) { m_coveragePercentageHasBeenSet = true; m_coveragePercentage.assign(value); } /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline SavingsPlansCoverageData& WithCoveragePercentage(const Aws::String& value) { SetCoveragePercentage(value); return *this;} /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline SavingsPlansCoverageData& WithCoveragePercentage(Aws::String&& value) { SetCoveragePercentage(std::move(value)); return *this;} /** *The percentage of your existing Savings Plans covered usage, divided by all * of your eligible Savings Plans usage in an account (or set of accounts).
*/ inline SavingsPlansCoverageData& WithCoveragePercentage(const char* value) { SetCoveragePercentage(value); return *this;} private: Aws::String m_spendCoveredBySavingsPlans; bool m_spendCoveredBySavingsPlansHasBeenSet = false; Aws::String m_onDemandCost; bool m_onDemandCostHasBeenSet = false; Aws::String m_totalCost; bool m_totalCostHasBeenSet = false; Aws::String m_coveragePercentage; bool m_coveragePercentageHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws