7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/Currency.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace ComputeOptimizer {
33 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 m_currencyHasBeenSet =
true;
55 inline double GetValue()
const {
return m_value; }
58 m_valueHasBeenSet =
true;
70 bool m_currencyHasBeenSet =
false;
71 bool m_valueHasBeenSet =
false;
bool CurrencyHasBeenSet() const
void SetCurrency(Currency value)
void SetValue(double value)
Currency GetCurrency() const
AWS_COMPUTEOPTIMIZER_API IdleEstimatedMonthlySavings & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
IdleEstimatedMonthlySavings & WithCurrency(Currency value)
AWS_COMPUTEOPTIMIZER_API IdleEstimatedMonthlySavings()=default
bool ValueHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API IdleEstimatedMonthlySavings(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
IdleEstimatedMonthlySavings & WithValue(double value)