7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
9#include <aws/partnercentral-benefits/model/CurrencyCode.h>
20namespace PartnerCentralBenefits {
42 template <
typename AmountT = Aws::String>
44 m_amountHasBeenSet =
true;
45 m_amount = std::forward<AmountT>(value);
47 template <
typename AmountT = Aws::String>
61 m_currencyCodeHasBeenSet =
true;
62 m_currencyCode = value;
73 bool m_amountHasBeenSet =
false;
74 bool m_currencyCodeHasBeenSet =
false;
MonetaryValue & WithCurrencyCode(CurrencyCode value)
AWS_PARTNERCENTRALBENEFITS_API MonetaryValue & operator=(Aws::Utils::Json::JsonView jsonValue)
MonetaryValue & WithAmount(AmountT &&value)
bool CurrencyCodeHasBeenSet() const
bool AmountHasBeenSet() const
AWS_PARTNERCENTRALBENEFITS_API MonetaryValue()=default
CurrencyCode GetCurrencyCode() const
void SetAmount(AmountT &&value)
void SetCurrencyCode(CurrencyCode value)
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALBENEFITS_API MonetaryValue(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAmount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue