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 {
37 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 m_currencyHasBeenSet =
true;
59 inline double GetValue()
const {
return m_value; }
62 m_valueHasBeenSet =
true;
74 bool m_currencyHasBeenSet =
false;
75 bool m_valueHasBeenSet =
false;
Currency GetCurrency() const
void SetCurrency(Currency value)
AWS_COMPUTEOPTIMIZER_API EstimatedMonthlySavings(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API EstimatedMonthlySavings & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API EstimatedMonthlySavings()=default
void SetValue(double value)
EstimatedMonthlySavings & WithCurrency(Currency value)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
EstimatedMonthlySavings & WithValue(double value)
bool ValueHasBeenSet() const
bool CurrencyHasBeenSet() const