7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/CountryCode.h>
10#include <aws/wafv2/model/ForwardedIPConfig.h>
73 template <
typename CountryCodesT = Aws::Vector<CountryCode>>
75 m_countryCodesHasBeenSet =
true;
76 m_countryCodes = std::forward<CountryCodesT>(value);
78 template <
typename CountryCodesT = Aws::Vector<CountryCode>>
84 m_countryCodesHasBeenSet =
true;
85 m_countryCodes.push_back(value);
100 template <
typename ForwardedIPConfigT = ForwardedIPConfig>
102 m_forwardedIPConfigHasBeenSet =
true;
103 m_forwardedIPConfig = std::forward<ForwardedIPConfigT>(value);
105 template <
typename ForwardedIPConfigT = ForwardedIPConfig>
115 bool m_countryCodesHasBeenSet =
false;
116 bool m_forwardedIPConfigHasBeenSet =
false;
AWS_WAFV2_API GeoMatchStatement()=default
void SetForwardedIPConfig(ForwardedIPConfigT &&value)
GeoMatchStatement & WithCountryCodes(CountryCodesT &&value)
const Aws::Vector< CountryCode > & GetCountryCodes() const
AWS_WAFV2_API GeoMatchStatement(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API GeoMatchStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
GeoMatchStatement & AddCountryCodes(CountryCode value)
const ForwardedIPConfig & GetForwardedIPConfig() const
GeoMatchStatement & WithForwardedIPConfig(ForwardedIPConfigT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ForwardedIPConfigHasBeenSet() const
bool CountryCodesHasBeenSet() const
void SetCountryCodes(CountryCodesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue