7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/CurrencyCode.h>
20namespace PartnerCentralSelling {
41 template <
typename AmountT = Aws::String>
43 m_amountHasBeenSet =
true;
44 m_amount = std::forward<AmountT>(value);
46 template <
typename AmountT = Aws::String>
60 m_currencyCodeHasBeenSet =
true;
61 m_currencyCode = value;
72 bool m_amountHasBeenSet =
false;
73 bool m_currencyCodeHasBeenSet =
false;
bool AmountHasBeenSet() const
CurrencyCode GetCurrencyCode() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAmount() const
AWS_PARTNERCENTRALSELLING_API MonetaryValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API MonetaryValue(Aws::Utils::Json::JsonView jsonValue)
bool CurrencyCodeHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API MonetaryValue()=default
void SetCurrencyCode(CurrencyCode value)
MonetaryValue & WithCurrencyCode(CurrencyCode value)
void SetAmount(AmountT &&value)
MonetaryValue & WithAmount(AmountT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue