7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/ConnectedAccountConfig.h>
10#include <aws/wafv2/model/CryptoConfig.h>
11#include <aws/wafv2/model/CurrencyMode.h>
50 template <
typename CryptoConfigT = CryptoConfig>
52 m_cryptoConfigHasBeenSet =
true;
53 m_cryptoConfig = std::forward<CryptoConfigT>(value);
55 template <
typename CryptoConfigT = CryptoConfig>
73 template <
typename ConnectedAccountConfigsT = Aws::Vector<ConnectedAccountConfig>>
75 m_connectedAccountConfigsHasBeenSet =
true;
76 m_connectedAccountConfigs = std::forward<ConnectedAccountConfigsT>(value);
78 template <
typename ConnectedAccountConfigsT = Aws::Vector<ConnectedAccountConfig>>
83 template <
typename ConnectedAccountConfigsT = ConnectedAccountConfig>
85 m_connectedAccountConfigsHasBeenSet =
true;
86 m_connectedAccountConfigs.emplace_back(std::forward<ConnectedAccountConfigsT>(value));
105 m_currencyModeHasBeenSet =
true;
106 m_currencyMode = value;
119 bool m_cryptoConfigHasBeenSet =
false;
120 bool m_connectedAccountConfigsHasBeenSet =
false;
121 bool m_currencyModeHasBeenSet =
false;
MonetizationConfig & WithCryptoConfig(CryptoConfigT &&value)
MonetizationConfig & AddConnectedAccountConfigs(ConnectedAccountConfigsT &&value)
const Aws::Vector< ConnectedAccountConfig > & GetConnectedAccountConfigs() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool CryptoConfigHasBeenSet() const
CurrencyMode GetCurrencyMode() const
MonetizationConfig & WithConnectedAccountConfigs(ConnectedAccountConfigsT &&value)
AWS_WAFV2_API MonetizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API MonetizationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API MonetizationConfig()=default
bool ConnectedAccountConfigsHasBeenSet() const
void SetCryptoConfig(CryptoConfigT &&value)
void SetConnectedAccountConfigs(ConnectedAccountConfigsT &&value)
void SetCurrencyMode(CurrencyMode value)
bool CurrencyModeHasBeenSet() const
MonetizationConfig & WithCurrencyMode(CurrencyMode value)
const CryptoConfig & GetCryptoConfig() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue