7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/Currency.h>
21namespace ComputeOptimizer
50 inline void SetCurrency(
Currency&& value) { m_currencyHasBeenSet =
true; m_currency = std::move(value); }
59 inline double GetValue()
const{
return m_value; }
61 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
67 bool m_currencyHasBeenSet =
false;
70 bool m_valueHasBeenSet =
false;
InstanceEstimatedMonthlySavings & WithValue(double value)
void SetCurrency(Currency &&value)
void SetValue(double value)
AWS_COMPUTEOPTIMIZER_API InstanceEstimatedMonthlySavings(Aws::Utils::Json::JsonView jsonValue)
InstanceEstimatedMonthlySavings & WithCurrency(const Currency &value)
bool CurrencyHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API InstanceEstimatedMonthlySavings()
AWS_COMPUTEOPTIMIZER_API InstanceEstimatedMonthlySavings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Currency & GetCurrency() const
void SetCurrency(const Currency &value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValueHasBeenSet() const
InstanceEstimatedMonthlySavings & WithCurrency(Currency &&value)
Aws::Utils::Json::JsonValue JsonValue