7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
19namespace CostOptimizationHub
45 inline void SetSavingsPlansDiscount(
double value) { m_savingsPlansDiscountHasBeenSet =
true; m_savingsPlansDiscount = value; }
67 inline void SetOtherDiscount(
double value) { m_otherDiscountHasBeenSet =
true; m_otherDiscount = value; }
72 double m_savingsPlansDiscount;
73 bool m_savingsPlansDiscountHasBeenSet =
false;
75 double m_reservedInstancesDiscount;
76 bool m_reservedInstancesDiscountHasBeenSet =
false;
78 double m_otherDiscount;
79 bool m_otherDiscountHasBeenSet =
false;
void SetSavingsPlansDiscount(double value)
bool SavingsPlansDiscountHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API EstimatedDiscounts()
void SetReservedInstancesDiscount(double value)
EstimatedDiscounts & WithOtherDiscount(double value)
bool OtherDiscountHasBeenSet() const
void SetOtherDiscount(double value)
AWS_COSTOPTIMIZATIONHUB_API EstimatedDiscounts(Aws::Utils::Json::JsonView jsonValue)
double GetReservedInstancesDiscount() const
double GetOtherDiscount() const
EstimatedDiscounts & WithReservedInstancesDiscount(double value)
AWS_COSTOPTIMIZATIONHUB_API EstimatedDiscounts & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetSavingsPlansDiscount() const
EstimatedDiscounts & WithSavingsPlansDiscount(double value)
bool ReservedInstancesDiscountHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue