7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
19namespace CostOptimizationHub
65 inline void SetSavingsPercentage(
double value) { m_savingsPercentageHasBeenSet =
true; m_savingsPercentage = value; }
75 inline void SetEstimatedOnDemandCost(
double value) { m_estimatedOnDemandCostHasBeenSet =
true; m_estimatedOnDemandCost = value; }
80 double m_monthlySavingsPlansEligibleCost;
81 bool m_monthlySavingsPlansEligibleCostHasBeenSet =
false;
83 double m_estimatedMonthlyCommitment;
84 bool m_estimatedMonthlyCommitmentHasBeenSet =
false;
86 double m_savingsPercentage;
87 bool m_savingsPercentageHasBeenSet =
false;
89 double m_estimatedOnDemandCost;
90 bool m_estimatedOnDemandCostHasBeenSet =
false;
void SetSavingsPercentage(double value)
AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing()
void SetEstimatedOnDemandCost(double value)
SavingsPlansPricing & WithEstimatedOnDemandCost(double value)
bool EstimatedOnDemandCostHasBeenSet() const
SavingsPlansPricing & WithEstimatedMonthlyCommitment(double value)
SavingsPlansPricing & WithMonthlySavingsPlansEligibleCost(double value)
SavingsPlansPricing & WithSavingsPercentage(double value)
bool EstimatedMonthlyCommitmentHasBeenSet() const
bool SavingsPercentageHasBeenSet() const
void SetMonthlySavingsPlansEligibleCost(double value)
double GetEstimatedMonthlyCommitment() const
bool MonthlySavingsPlansEligibleCostHasBeenSet() const
double GetMonthlySavingsPlansEligibleCost() const
AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetSavingsPercentage() const
void SetEstimatedMonthlyCommitment(double value)
AWS_COSTOPTIMIZATIONHUB_API SavingsPlansPricing(Aws::Utils::Json::JsonView jsonValue)
double GetEstimatedOnDemandCost() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue