7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/wafv2/model/FieldToMatch.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wafv2/model/PositionalConstraint.h>
12#include <aws/wafv2/model/TextTransformation.h>
89 template<
typename SearchStringT = Aws::Utils::ByteBuffer>
90 void SetSearchString(SearchStringT&& value) { m_searchStringHasBeenSet =
true; m_searchString = std::forward<SearchStringT>(value); }
91 template<
typename SearchStringT = Aws::Utils::ByteBuffer>
101 template<
typename FieldToMatchT = FieldToMatch>
102 void SetFieldToMatch(FieldToMatchT&& value) { m_fieldToMatchHasBeenSet =
true; m_fieldToMatch = std::forward<FieldToMatchT>(value); }
103 template<
typename FieldToMatchT = FieldToMatch>
120 template<
typename TextTransformationsT = Aws::Vector<TextTransformation>>
121 void SetTextTransformations(TextTransformationsT&& value) { m_textTransformationsHasBeenSet =
true; m_textTransformations = std::forward<TextTransformationsT>(value); }
122 template<
typename TextTransformationsT = Aws::Vector<TextTransformation>>
124 template<
typename TextTransformationsT = TextTransformation>
160 bool m_searchStringHasBeenSet =
false;
162 FieldToMatch m_fieldToMatch;
163 bool m_fieldToMatchHasBeenSet =
false;
166 bool m_textTransformationsHasBeenSet =
false;
169 bool m_positionalConstraintHasBeenSet =
false;
const FieldToMatch & GetFieldToMatch() const
bool FieldToMatchHasBeenSet() const
ByteMatchStatement & WithFieldToMatch(FieldToMatchT &&value)
void SetTextTransformations(TextTransformationsT &&value)
void SetFieldToMatch(FieldToMatchT &&value)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
bool TextTransformationsHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ByteMatchStatement & WithPositionalConstraint(PositionalConstraint value)
AWS_WAFV2_API ByteMatchStatement()=default
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