7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/FieldToMatch.h>
9#include <aws/wafv2/model/ComparisonOperator.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wafv2/model/TextTransformation.h>
62 template<
typename FieldToMatchT = FieldToMatch>
64 template<
typename FieldToMatchT = FieldToMatch>
83 inline long long GetSize()
const {
return m_size; }
85 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
102 template<
typename TextTransformationsT = Aws::Vector<TextTransformation>>
104 template<
typename TextTransformationsT = Aws::Vector<TextTransformation>>
106 template<
typename TextTransformationsT = TextTransformation>
112 bool m_fieldToMatchHasBeenSet =
false;
115 bool m_comparisonOperatorHasBeenSet =
false;
118 bool m_sizeHasBeenSet =
false;
121 bool m_textTransformationsHasBeenSet =
false;
AWS_WAFV2_API SizeConstraintStatement()=default
long long GetSize() const
SizeConstraintStatement & WithComparisonOperator(ComparisonOperator value)
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
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 FieldToMatch & GetFieldToMatch() const
SizeConstraintStatement & WithSize(long long value)
SizeConstraintStatement & WithFieldToMatch(FieldToMatchT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue