7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/FieldToMatch.h>
9#include <aws/waf/model/TextTransformation.h>
10#include <aws/waf/model/ComparisonOperator.h>
61 template<
typename FieldToMatchT = FieldToMatch>
62 void SetFieldToMatch(FieldToMatchT&& value) { m_fieldToMatchHasBeenSet =
true; m_fieldToMatch = std::forward<FieldToMatchT>(value); }
63 template<
typename FieldToMatchT = FieldToMatch>
149 inline long long GetSize()
const {
return m_size; }
151 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
157 bool m_fieldToMatchHasBeenSet =
false;
160 bool m_textTransformationHasBeenSet =
false;
163 bool m_comparisonOperatorHasBeenSet =
false;
166 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