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 {
35 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 m_currencyHasBeenSet =
true;
57 inline double GetValue()
const {
return m_value; }
60 m_valueHasBeenSet =
true;
72 bool m_currencyHasBeenSet =
false;
73 bool m_valueHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API InstanceEstimatedMonthlySavings & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InstanceEstimatedMonthlySavings & WithValue(double value)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetValue(double value)
Currency GetCurrency() const
bool CurrencyHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API InstanceEstimatedMonthlySavings(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetCurrency(Currency value)
InstanceEstimatedMonthlySavings & WithCurrency(Currency value)
AWS_COMPUTEOPTIMIZER_API InstanceEstimatedMonthlySavings()=default
bool ValueHasBeenSet() const