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