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>
54 template <
typename ARNT = Aws::String>
56 m_aRNHasBeenSet =
true;
57 m_aRN = std::forward<ARNT>(value);
59 template <
typename ARNT = Aws::String>
61 SetARN(std::forward<ARNT>(value));
72 template <
typename FieldToMatchT = FieldToMatch>
74 m_fieldToMatchHasBeenSet =
true;
75 m_fieldToMatch = std::forward<FieldToMatchT>(value);
77 template <
typename FieldToMatchT = FieldToMatch>
97 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
99 m_textTransformationsHasBeenSet =
true;
100 m_textTransformations = std::forward<TextTransformationsT>(value);
102 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
107 template <
typename TextTransformationsT = TextTransformation>
109 m_textTransformationsHasBeenSet =
true;
110 m_textTransformations.emplace_back(std::forward<TextTransformationsT>(value));
126 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
128 m_preParseTextTransformationsHasBeenSet =
true;
129 m_preParseTextTransformations = std::forward<PreParseTextTransformationsT>(value);
131 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
136 template <
typename PreParseTextTransformationsT = PreParseTextTransformation>
138 m_preParseTextTransformationsHasBeenSet =
true;
139 m_preParseTextTransformations.emplace_back(std::forward<PreParseTextTransformationsT>(value));
151 bool m_aRNHasBeenSet =
false;
152 bool m_fieldToMatchHasBeenSet =
false;
153 bool m_textTransformationsHasBeenSet =
false;
154 bool m_preParseTextTransformationsHasBeenSet =
false;
void SetPreParseTextTransformations(PreParseTextTransformationsT &&value)
const Aws::String & GetARN() const
const FieldToMatch & GetFieldToMatch() const
AWS_WAFV2_API RegexPatternSetReferenceStatement(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSetReferenceStatement & WithARN(ARNT &&value)
const Aws::Vector< PreParseTextTransformation > & GetPreParseTextTransformations() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool FieldToMatchHasBeenSet() const
void SetTextTransformations(TextTransformationsT &&value)
RegexPatternSetReferenceStatement & WithFieldToMatch(FieldToMatchT &&value)
AWS_WAFV2_API RegexPatternSetReferenceStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API RegexPatternSetReferenceStatement()=default
bool TextTransformationsHasBeenSet() const
void SetFieldToMatch(FieldToMatchT &&value)
bool PreParseTextTransformationsHasBeenSet() const
RegexPatternSetReferenceStatement & AddPreParseTextTransformations(PreParseTextTransformationsT &&value)
void SetARN(ARNT &&value)
RegexPatternSetReferenceStatement & WithTextTransformations(TextTransformationsT &&value)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
RegexPatternSetReferenceStatement & WithPreParseTextTransformations(PreParseTextTransformationsT &&value)
bool ARNHasBeenSet() const
RegexPatternSetReferenceStatement & AddTextTransformations(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