7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/ComparisonOperator.h>
10#include <aws/wafv2/model/FieldToMatch.h>
11#include <aws/wafv2/model/PreParseTextTransformation.h>
12#include <aws/wafv2/model/TextTransformation.h>
57 template <
typename FieldToMatchT = FieldToMatch>
59 m_fieldToMatchHasBeenSet =
true;
60 m_fieldToMatch = std::forward<FieldToMatchT>(value);
62 template <
typename FieldToMatchT = FieldToMatch>
76 m_comparisonOperatorHasBeenSet =
true;
77 m_comparisonOperator = value;
90 inline long long GetSize()
const {
return m_size; }
93 m_sizeHasBeenSet =
true;
115 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
117 m_textTransformationsHasBeenSet =
true;
118 m_textTransformations = std::forward<TextTransformationsT>(value);
120 template <
typename TextTransformationsT = Aws::Vector<TextTransformation>>
125 template <
typename TextTransformationsT = TextTransformation>
127 m_textTransformationsHasBeenSet =
true;
128 m_textTransformations.emplace_back(std::forward<TextTransformationsT>(value));
144 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
146 m_preParseTextTransformationsHasBeenSet =
true;
147 m_preParseTextTransformations = std::forward<PreParseTextTransformationsT>(value);
149 template <
typename PreParseTextTransformationsT = Aws::Vector<PreParseTextTransformation>>
154 template <
typename PreParseTextTransformationsT = PreParseTextTransformation>
156 m_preParseTextTransformationsHasBeenSet =
true;
157 m_preParseTextTransformations.emplace_back(std::forward<PreParseTextTransformationsT>(value));
171 bool m_fieldToMatchHasBeenSet =
false;
172 bool m_comparisonOperatorHasBeenSet =
false;
173 bool m_sizeHasBeenSet =
false;
174 bool m_textTransformationsHasBeenSet =
false;
175 bool m_preParseTextTransformationsHasBeenSet =
false;
AWS_WAFV2_API SizeConstraintStatement()=default
long long GetSize() const
SizeConstraintStatement & WithPreParseTextTransformations(PreParseTextTransformationsT &&value)
SizeConstraintStatement & WithComparisonOperator(ComparisonOperator value)
bool PreParseTextTransformationsHasBeenSet() const
ComparisonOperator GetComparisonOperator() const
SizeConstraintStatement & AddTextTransformations(TextTransformationsT &&value)
bool FieldToMatchHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool SizeHasBeenSet() const
bool ComparisonOperatorHasBeenSet() const
AWS_WAFV2_API SizeConstraintStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API SizeConstraintStatement(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
SizeConstraintStatement & AddPreParseTextTransformations(PreParseTextTransformationsT &&value)
void SetSize(long long value)
void SetFieldToMatch(FieldToMatchT &&value)
SizeConstraintStatement & WithTextTransformations(TextTransformationsT &&value)
bool TextTransformationsHasBeenSet() const
void SetTextTransformations(TextTransformationsT &&value)
void SetComparisonOperator(ComparisonOperator value)
const Aws::Vector< PreParseTextTransformation > & GetPreParseTextTransformations() const
const FieldToMatch & GetFieldToMatch() const
void SetPreParseTextTransformations(PreParseTextTransformationsT &&value)
SizeConstraintStatement & WithSize(long long value)
SizeConstraintStatement & WithFieldToMatch(FieldToMatchT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue