7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/EstimatedMonthlySavings.h>
19namespace ComputeOptimizer {
58 m_savingsOpportunityPercentageHasBeenSet =
true;
59 m_savingsOpportunityPercentage = value;
75 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
77 m_estimatedMonthlySavingsHasBeenSet =
true;
78 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
80 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
87 double m_savingsOpportunityPercentage{0.0};
89 EstimatedMonthlySavings m_estimatedMonthlySavings;
90 bool m_savingsOpportunityPercentageHasBeenSet =
false;
91 bool m_estimatedMonthlySavingsHasBeenSet =
false;
void SetSavingsOpportunityPercentage(double value)
SavingsOpportunity & WithSavingsOpportunityPercentage(double value)
SavingsOpportunity & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZER_API SavingsOpportunity(Aws::Utils::Json::JsonView jsonValue)
double GetSavingsOpportunityPercentage() const
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool EstimatedMonthlySavingsHasBeenSet() const
bool SavingsOpportunityPercentageHasBeenSet() const
const EstimatedMonthlySavings & GetEstimatedMonthlySavings() const
AWS_COMPUTEOPTIMIZER_API SavingsOpportunity()=default
AWS_COMPUTEOPTIMIZER_API SavingsOpportunity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue