7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf/model/GeoMatchConstraint.h>
63 template<
typename GeoMatchSetIdT = Aws::String>
64 void SetGeoMatchSetId(GeoMatchSetIdT&& value) { m_geoMatchSetIdHasBeenSet =
true; m_geoMatchSetId = std::forward<GeoMatchSetIdT>(value); }
65 template<
typename GeoMatchSetIdT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
89 template<
typename GeoMatchConstra
intsT = Aws::Vector<GeoMatchConstra
int>>
90 void SetGeoMatchConstraints(GeoMatchConstraintsT&& value) { m_geoMatchConstraintsHasBeenSet =
true; m_geoMatchConstraints = std::forward<GeoMatchConstraintsT>(value); }
91 template<
typename GeoMatchConstra
intsT = Aws::Vector<GeoMatchConstra
int>>
93 template<
typename GeoMatchConstra
intsT = GeoMatchConstra
int>
94 GeoMatchSet&
AddGeoMatchConstraints(GeoMatchConstraintsT&& value) { m_geoMatchConstraintsHasBeenSet =
true; m_geoMatchConstraints.emplace_back(std::forward<GeoMatchConstraintsT>(value));
return *
this; }
99 bool m_geoMatchSetIdHasBeenSet =
false;
102 bool m_nameHasBeenSet =
false;
105 bool m_geoMatchConstraintsHasBeenSet =
false;
void SetGeoMatchSetId(GeoMatchSetIdT &&value)
AWS_WAF_API GeoMatchSet()=default
AWS_WAF_API GeoMatchSet & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GeoMatchConstraintsHasBeenSet() const
bool NameHasBeenSet() const
const Aws::Vector< GeoMatchConstraint > & GetGeoMatchConstraints() const
GeoMatchSet & WithGeoMatchConstraints(GeoMatchConstraintsT &&value)
const Aws::String & GetGeoMatchSetId() const
const Aws::String & GetName() const
void SetGeoMatchConstraints(GeoMatchConstraintsT &&value)
GeoMatchSet & WithGeoMatchSetId(GeoMatchSetIdT &&value)
AWS_WAF_API GeoMatchSet(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool GeoMatchSetIdHasBeenSet() const
GeoMatchSet & WithName(NameT &&value)
GeoMatchSet & AddGeoMatchConstraints(GeoMatchConstraintsT &&value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue