7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/ComparisonOperator.h>
9#include <aws/waf/model/FieldToMatch.h>
10#include <aws/waf/model/TextTransformation.h>
55 template <
typename FieldToMatchT = FieldToMatch>
57 m_fieldToMatchHasBeenSet =
true;
58 m_fieldToMatch = std::forward<FieldToMatchT>(value);
60 template <
typename FieldToMatchT = FieldToMatch>
109 m_textTransformationHasBeenSet =
true;
110 m_textTransformation = value;
140 m_comparisonOperatorHasBeenSet =
true;
141 m_comparisonOperator = value;
161 inline long long GetSize()
const {
return m_size; }
164 m_sizeHasBeenSet =
true;
180 bool m_fieldToMatchHasBeenSet =
false;
181 bool m_textTransformationHasBeenSet =
false;
182 bool m_comparisonOperatorHasBeenSet =
false;
183 bool m_sizeHasBeenSet =
false;
TextTransformation GetTextTransformation() const
void SetSize(long long value)
bool TextTransformationHasBeenSet() const
void SetComparisonOperator(ComparisonOperator value)
AWS_WAF_API SizeConstraint(Aws::Utils::Json::JsonView jsonValue)
SizeConstraint & WithComparisonOperator(ComparisonOperator value)
bool SizeHasBeenSet() const
void SetTextTransformation(TextTransformation value)
AWS_WAF_API SizeConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
ComparisonOperator GetComparisonOperator() const
SizeConstraint & WithTextTransformation(TextTransformation value)
void SetFieldToMatch(FieldToMatchT &&value)
AWS_WAF_API SizeConstraint()=default
bool ComparisonOperatorHasBeenSet() const
const FieldToMatch & GetFieldToMatch() const
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
SizeConstraint & WithFieldToMatch(FieldToMatchT &&value)
bool FieldToMatchHasBeenSet() const
SizeConstraint & WithSize(long long value)
long long GetSize() const
Aws::Utils::Json::JsonValue JsonValue