7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
29 AWS_APPMONETIZATION_API
Price() =
default;
41 template <
typename CurrencyCodeT = Aws::String>
43 m_currencyCodeHasBeenSet =
true;
44 m_currencyCode = std::forward<CurrencyCodeT>(value);
46 template <
typename CurrencyCodeT = Aws::String>
60 template <
typename AmountT = Aws::String>
62 m_amountHasBeenSet =
true;
63 m_amount = std::forward<AmountT>(value);
65 template <
typename AmountT = Aws::String>
75 bool m_currencyCodeHasBeenSet =
false;
76 bool m_amountHasBeenSet =
false;
void SetAmount(AmountT &&value)
const Aws::String & GetCurrencyCode() const
const Aws::String & GetAmount() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool CurrencyCodeHasBeenSet() const
AWS_APPMONETIZATION_API Price()=default
bool AmountHasBeenSet() const
void SetCurrencyCode(CurrencyCodeT &&value)
Price & WithAmount(AmountT &&value)
AWS_APPMONETIZATION_API Price(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API Price & operator=(Aws::Utils::Json::JsonView jsonValue)
Price & WithCurrencyCode(CurrencyCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue