7#include <aws/freetier/FreeTier_EXPORTS.h>
8#include <aws/freetier/model/CurrencyCode.h>
44 inline double GetAmount()
const {
return m_amount; }
46 inline void SetAmount(
double value) { m_amountHasBeenSet =
true; m_amount = value; }
62 bool m_amountHasBeenSet =
false;
65 bool m_unitHasBeenSet =
false;
void SetUnit(CurrencyCode value)
void SetAmount(double value)
AWS_FREETIER_API MonetaryAmount()=default
CurrencyCode GetUnit() const
AWS_FREETIER_API MonetaryAmount & operator=(Aws::Utils::Json::JsonView jsonValue)
MonetaryAmount & WithAmount(double value)
bool UnitHasBeenSet() const
bool AmountHasBeenSet() const
AWS_FREETIER_API Aws::Utils::Json::JsonValue Jsonize() const
MonetaryAmount & WithUnit(CurrencyCode value)
AWS_FREETIER_API MonetaryAmount(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue