7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payments/Payments_EXPORTS.h>
43 template <
typename ValueT = Aws::String>
45 m_valueHasBeenSet =
true;
46 m_value = std::forward<ValueT>(value);
48 template <
typename ValueT = Aws::String>
50 SetValue(std::forward<ValueT>(value));
62 template <
typename CurrencyT = Aws::String>
64 m_currencyHasBeenSet =
true;
65 m_currency = std::forward<CurrencyT>(value);
67 template <
typename CurrencyT = Aws::String>
77 bool m_valueHasBeenSet =
false;
78 bool m_currencyHasBeenSet =
false;
const Aws::String & GetCurrency() const
AWS_PAYMENTS_API CurrencyAmount & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
CurrencyAmount & WithCurrency(CurrencyT &&value)
bool CurrencyHasBeenSet() const
CurrencyAmount & WithValue(ValueT &&value)
AWS_PAYMENTS_API CurrencyAmount(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTS_API CurrencyAmount()=default
void SetCurrency(CurrencyT &&value)
void SetValue(ValueT &&value)
const Aws::String & GetValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue