7#include <aws/freetier/FreeTier_EXPORTS.h>
8#include <aws/freetier/model/CurrencyCode.h>
38 inline double GetAmount()
const {
return m_amount; }
41 m_amountHasBeenSet =
true;
57 m_unitHasBeenSet =
true;
69 bool m_amountHasBeenSet =
false;
70 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