7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/CurrencyCode.h>
22namespace PartnerCentralSelling
47 template<
typename AmountT = Aws::String>
48 void SetAmount(AmountT&& value) { m_amountHasBeenSet =
true; m_amount = std::forward<AmountT>(value); }
49 template<
typename AmountT = Aws::String>
65 bool m_amountHasBeenSet =
false;
68 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