7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
16namespace CostOptimizationHub {
39 m_savingsPlansDiscountHasBeenSet =
true;
40 m_savingsPlansDiscount = value;
55 m_reservedInstancesDiscountHasBeenSet =
true;
56 m_reservedInstancesDiscount = value;
73 m_otherDiscountHasBeenSet =
true;
74 m_otherDiscount = value;
82 double m_savingsPlansDiscount{0.0};
84 double m_reservedInstancesDiscount{0.0};
86 double m_otherDiscount{0.0};
87 bool m_savingsPlansDiscountHasBeenSet =
false;
88 bool m_reservedInstancesDiscountHasBeenSet =
false;
89 bool m_otherDiscountHasBeenSet =
false;
void SetSavingsPlansDiscount(double value)
bool SavingsPlansDiscountHasBeenSet() const
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 EstimatedDiscounts()=default
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue