7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/CryptoCurrency.h>
31 AWS_WAFV2_API
Price() =
default;
43 template <
typename AmountT = Aws::String>
45 m_amountHasBeenSet =
true;
46 m_amount = std::forward<AmountT>(value);
48 template <
typename AmountT = Aws::String>
63 m_currencyHasBeenSet =
true;
75 bool m_amountHasBeenSet =
false;
76 bool m_currencyHasBeenSet =
false;
void SetAmount(AmountT &&value)
void SetCurrency(CryptoCurrency value)
Price & WithCurrency(CryptoCurrency value)
bool CurrencyHasBeenSet() const
AWS_WAFV2_API Price()=default
Price & WithAmount(AmountT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
CryptoCurrency GetCurrency() const
const Aws::String & GetAmount() const
bool AmountHasBeenSet() const
AWS_WAFV2_API Price & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Price(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue