7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/FieldToMatch.h>
10#include <aws/wafv2/model/PreParseTextTransformation.h>
11#include <aws/wafv2/model/TextTransformation.h>
46 template <
typename FieldToMatchT = FieldToMatch>
48 m_fieldToMatchHasBeenSet =
true;
49 m_fieldToMatch = std::forward<FieldToMatchT>(value);
51 template <
typename FieldToMatchT = FieldToMatch>
71 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
73 m_textTransformationsHasBeenSet =
true;
74 m_textTransformations = std::forward<TextTransformationsT>(value);
76 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
81 template <
typename TextTransformationsT = TextTransformation>
83 m_textTransformationsHasBeenSet =
true;
84 m_textTransformations.emplace_back(std::forward<TextTransformationsT>(value));
100 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
102 m_preParseTextTransformationsHasBeenSet =
true;
103 m_preParseTextTransformations = std::forward<PreParseTextTransformationsT>(value);
105 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
110 template <
typename PreParseTextTransformationsT = PreParseTextTransformation>
112 m_preParseTextTransformationsHasBeenSet =
true;
113 m_preParseTextTransformations.emplace_back(std::forward<PreParseTextTransformationsT>(value));
123 bool m_fieldToMatchHasBeenSet =
false;
124 bool m_textTransformationsHasBeenSet =
false;
125 bool m_preParseTextTransformationsHasBeenSet =
false;
void SetTextTransformations(TextTransformationsT &&value)
void SetPreParseTextTransformations(PreParseTextTransformationsT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool FieldToMatchHasBeenSet() const
XssMatchStatement & AddPreParseTextTransformations(PreParseTextTransformationsT &&value)
XssMatchStatement & WithTextTransformations(TextTransformationsT &&value)
bool PreParseTextTransformationsHasBeenSet() const
AWS_WAFV2_API XssMatchStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
XssMatchStatement & WithFieldToMatch(FieldToMatchT &&value)
AWS_WAFV2_API XssMatchStatement()=default
const FieldToMatch & GetFieldToMatch() const
AWS_WAFV2_API XssMatchStatement(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< PreParseTextTransformation > & GetPreParseTextTransformations() const
bool TextTransformationsHasBeenSet() const
XssMatchStatement & WithPreParseTextTransformations(PreParseTextTransformationsT &&value)
void SetFieldToMatch(FieldToMatchT &&value)
XssMatchStatement & AddTextTransformations(TextTransformationsT &&value)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue