7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/EstimatedDiscounts.h>
21namespace CostOptimizationHub
68 template<
typename EstimatedDiscountsT = EstimatedDiscounts>
69 void SetEstimatedDiscounts(EstimatedDiscountsT&& value) { m_estimatedDiscountsHasBeenSet =
true; m_estimatedDiscounts = std::forward<EstimatedDiscountsT>(value); }
70 template<
typename EstimatedDiscountsT = EstimatedDiscounts>
86 double m_estimatedCostBeforeDiscounts{0.0};
87 bool m_estimatedCostBeforeDiscountsHasBeenSet =
false;
89 double m_estimatedNetUnusedAmortizedCommitments{0.0};
90 bool m_estimatedNetUnusedAmortizedCommitmentsHasBeenSet =
false;
92 EstimatedDiscounts m_estimatedDiscounts;
93 bool m_estimatedDiscountsHasBeenSet =
false;
95 double m_estimatedCostAfterDiscounts{0.0};
96 bool m_estimatedCostAfterDiscountsHasBeenSet =
false;
double GetEstimatedNetUnusedAmortizedCommitments() const
bool EstimatedNetUnusedAmortizedCommitmentsHasBeenSet() const
ResourcePricing & WithEstimatedDiscounts(EstimatedDiscountsT &&value)
double GetEstimatedCostAfterDiscounts() const
ResourcePricing & WithEstimatedNetUnusedAmortizedCommitments(double value)
AWS_COSTOPTIMIZATIONHUB_API ResourcePricing()=default
void SetEstimatedDiscounts(EstimatedDiscountsT &&value)
void SetEstimatedCostBeforeDiscounts(double value)
AWS_COSTOPTIMIZATIONHUB_API ResourcePricing & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEstimatedNetUnusedAmortizedCommitments(double value)
bool EstimatedDiscountsHasBeenSet() const
bool EstimatedCostAfterDiscountsHasBeenSet() const
bool EstimatedCostBeforeDiscountsHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API ResourcePricing(Aws::Utils::Json::JsonView jsonValue)
ResourcePricing & WithEstimatedCostBeforeDiscounts(double value)
const EstimatedDiscounts & GetEstimatedDiscounts() const
double GetEstimatedCostBeforeDiscounts() const
ResourcePricing & WithEstimatedCostAfterDiscounts(double value)
void SetEstimatedCostAfterDiscounts(double value)
Aws::Utils::Json::JsonValue JsonValue