7#include <aws/core/utils/memory/stl/AWSString.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/PreParseTextTransformation.h>
12#include <aws/wafv2/model/TextTransformation.h>
48 template <
typename RegexStringT = Aws::String>
50 m_regexStringHasBeenSet =
true;
51 m_regexString = std::forward<RegexStringT>(value);
53 template <
typename RegexStringT = Aws::String>
66 template <
typename FieldToMatchT = FieldToMatch>
68 m_fieldToMatchHasBeenSet =
true;
69 m_fieldToMatch = std::forward<FieldToMatchT>(value);
71 template <
typename FieldToMatchT = FieldToMatch>
91 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
93 m_textTransformationsHasBeenSet =
true;
94 m_textTransformations = std::forward<TextTransformationsT>(value);
96 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
101 template <
typename TextTransformationsT = TextTransformation>
103 m_textTransformationsHasBeenSet =
true;
104 m_textTransformations.emplace_back(std::forward<TextTransformationsT>(value));
120 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
122 m_preParseTextTransformationsHasBeenSet =
true;
123 m_preParseTextTransformations = std::forward<PreParseTextTransformationsT>(value);
125 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
130 template <
typename PreParseTextTransformationsT = PreParseTextTransformation>
132 m_preParseTextTransformationsHasBeenSet =
true;
133 m_preParseTextTransformations.emplace_back(std::forward<PreParseTextTransformationsT>(value));
145 bool m_regexStringHasBeenSet =
false;
146 bool m_fieldToMatchHasBeenSet =
false;
147 bool m_textTransformationsHasBeenSet =
false;
148 bool m_preParseTextTransformationsHasBeenSet =
false;
const Aws::String & GetRegexString() const
AWS_WAFV2_API RegexMatchStatement()=default
const FieldToMatch & GetFieldToMatch() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTextTransformations(TextTransformationsT &&value)
const Aws::Vector< PreParseTextTransformation > & GetPreParseTextTransformations() const
RegexMatchStatement & AddPreParseTextTransformations(PreParseTextTransformationsT &&value)
RegexMatchStatement & WithFieldToMatch(FieldToMatchT &&value)
void SetFieldToMatch(FieldToMatchT &&value)
bool FieldToMatchHasBeenSet() const
RegexMatchStatement & WithPreParseTextTransformations(PreParseTextTransformationsT &&value)
bool PreParseTextTransformationsHasBeenSet() const
void SetPreParseTextTransformations(PreParseTextTransformationsT &&value)
void SetRegexString(RegexStringT &&value)
bool RegexStringHasBeenSet() const
RegexMatchStatement & WithRegexString(RegexStringT &&value)
AWS_WAFV2_API RegexMatchStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TextTransformationsHasBeenSet() const
RegexMatchStatement & AddTextTransformations(TextTransformationsT &&value)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
AWS_WAFV2_API RegexMatchStatement(Aws::Utils::Json::JsonView jsonValue)
RegexMatchStatement & WithTextTransformations(TextTransformationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue