7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/FieldToMatch.h>
11#include <aws/wafv2/model/PositionalConstraint.h>
12#include <aws/wafv2/model/PreParseTextTransformation.h>
13#include <aws/wafv2/model/TextTransformation.h>
84 template <
typename SearchStringT = Aws::Utils::ByteBuffer>
86 m_searchStringHasBeenSet =
true;
87 m_searchString = std::forward<SearchStringT>(value);
89 template <
typename SearchStringT = Aws::Utils::ByteBuffer>
102 template <
typename FieldToMatchT = FieldToMatch>
104 m_fieldToMatchHasBeenSet =
true;
105 m_fieldToMatch = std::forward<FieldToMatchT>(value);
107 template <
typename FieldToMatchT = FieldToMatch>
127 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
129 m_textTransformationsHasBeenSet =
true;
130 m_textTransformations = std::forward<TextTransformationsT>(value);
132 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
137 template <
typename TextTransformationsT = TextTransformation>
139 m_textTransformationsHasBeenSet =
true;
140 m_textTransformations.emplace_back(std::forward<TextTransformationsT>(value));
156 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
158 m_preParseTextTransformationsHasBeenSet =
true;
159 m_preParseTextTransformations = std::forward<PreParseTextTransformationsT>(value);
161 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
166 template <
typename PreParseTextTransformationsT = PreParseTextTransformation>
168 m_preParseTextTransformationsHasBeenSet =
true;
169 m_preParseTextTransformations.emplace_back(std::forward<PreParseTextTransformationsT>(value));
201 m_positionalConstraintHasBeenSet =
true;
202 m_positionalConstraint = value;
212 FieldToMatch m_fieldToMatch;
219 bool m_searchStringHasBeenSet =
false;
220 bool m_fieldToMatchHasBeenSet =
false;
221 bool m_textTransformationsHasBeenSet =
false;
222 bool m_preParseTextTransformationsHasBeenSet =
false;
223 bool m_positionalConstraintHasBeenSet =
false;
const FieldToMatch & GetFieldToMatch() const
const Aws::Vector< PreParseTextTransformation > & GetPreParseTextTransformations() const
bool FieldToMatchHasBeenSet() const
ByteMatchStatement & WithFieldToMatch(FieldToMatchT &&value)
bool PreParseTextTransformationsHasBeenSet() const
void SetTextTransformations(TextTransformationsT &&value)
void SetFieldToMatch(FieldToMatchT &&value)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
ByteMatchStatement & AddPreParseTextTransformations(PreParseTextTransformationsT &&value)
bool TextTransformationsHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ByteMatchStatement & WithPositionalConstraint(PositionalConstraint value)
void SetPreParseTextTransformations(PreParseTextTransformationsT &&value)
AWS_WAFV2_API ByteMatchStatement()=default
ByteMatchStatement & WithPreParseTextTransformations(PreParseTextTransformationsT &&value)
AWS_WAFV2_API ByteMatchStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ByteMatchStatement(Aws::Utils::Json::JsonView jsonValue)
bool SearchStringHasBeenSet() const
void SetSearchString(SearchStringT &&value)
void SetPositionalConstraint(PositionalConstraint value)
PositionalConstraint GetPositionalConstraint() const
ByteMatchStatement & WithSearchString(SearchStringT &&value)
const Aws::Utils::ByteBuffer & GetSearchString() const
ByteMatchStatement & WithTextTransformations(TextTransformationsT &&value)
ByteMatchStatement & AddTextTransformations(TextTransformationsT &&value)
bool PositionalConstraintHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue