AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SqliMatchStatement.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/FieldToMatch.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/model/SensitivityLevel.h>
11#include <aws/wafv2/model/TextTransformation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace WAFV2
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_WAFV2_API SqliMatchStatement();
42 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const FieldToMatch& GetFieldToMatch() const{ return m_fieldToMatch; }
50 inline bool FieldToMatchHasBeenSet() const { return m_fieldToMatchHasBeenSet; }
51 inline void SetFieldToMatch(const FieldToMatch& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = value; }
52 inline void SetFieldToMatch(FieldToMatch&& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = std::move(value); }
53 inline SqliMatchStatement& WithFieldToMatch(const FieldToMatch& value) { SetFieldToMatch(value); return *this;}
54 inline SqliMatchStatement& WithFieldToMatch(FieldToMatch&& value) { SetFieldToMatch(std::move(value)); return *this;}
56
58
68 inline const Aws::Vector<TextTransformation>& GetTextTransformations() const{ return m_textTransformations; }
69 inline bool TextTransformationsHasBeenSet() const { return m_textTransformationsHasBeenSet; }
70 inline void SetTextTransformations(const Aws::Vector<TextTransformation>& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = value; }
71 inline void SetTextTransformations(Aws::Vector<TextTransformation>&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = std::move(value); }
74 inline SqliMatchStatement& AddTextTransformations(const TextTransformation& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(value); return *this; }
75 inline SqliMatchStatement& AddTextTransformations(TextTransformation&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(std::move(value)); return *this; }
77
79
91 inline const SensitivityLevel& GetSensitivityLevel() const{ return m_sensitivityLevel; }
92 inline bool SensitivityLevelHasBeenSet() const { return m_sensitivityLevelHasBeenSet; }
93 inline void SetSensitivityLevel(const SensitivityLevel& value) { m_sensitivityLevelHasBeenSet = true; m_sensitivityLevel = value; }
94 inline void SetSensitivityLevel(SensitivityLevel&& value) { m_sensitivityLevelHasBeenSet = true; m_sensitivityLevel = std::move(value); }
95 inline SqliMatchStatement& WithSensitivityLevel(const SensitivityLevel& value) { SetSensitivityLevel(value); return *this;}
96 inline SqliMatchStatement& WithSensitivityLevel(SensitivityLevel&& value) { SetSensitivityLevel(std::move(value)); return *this;}
98 private:
99
100 FieldToMatch m_fieldToMatch;
101 bool m_fieldToMatchHasBeenSet = false;
102
103 Aws::Vector<TextTransformation> m_textTransformations;
104 bool m_textTransformationsHasBeenSet = false;
105
106 SensitivityLevel m_sensitivityLevel;
107 bool m_sensitivityLevelHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace WAFV2
112} // namespace Aws
SqliMatchStatement & WithSensitivityLevel(SensitivityLevel &&value)
SqliMatchStatement & WithFieldToMatch(const FieldToMatch &value)
const FieldToMatch & GetFieldToMatch() const
SqliMatchStatement & WithTextTransformations(Aws::Vector< TextTransformation > &&value)
AWS_WAFV2_API SqliMatchStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
SqliMatchStatement & WithSensitivityLevel(const SensitivityLevel &value)
void SetSensitivityLevel(const SensitivityLevel &value)
void SetFieldToMatch(const FieldToMatch &value)
SqliMatchStatement & WithTextTransformations(const Aws::Vector< TextTransformation > &value)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
void SetFieldToMatch(FieldToMatch &&value)
AWS_WAFV2_API SqliMatchStatement(Aws::Utils::Json::JsonView jsonValue)
SqliMatchStatement & AddTextTransformations(const TextTransformation &value)
void SetTextTransformations(const Aws::Vector< TextTransformation > &value)
SqliMatchStatement & WithFieldToMatch(FieldToMatch &&value)
const SensitivityLevel & GetSensitivityLevel() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSensitivityLevel(SensitivityLevel &&value)
SqliMatchStatement & AddTextTransformations(TextTransformation &&value)
void SetTextTransformations(Aws::Vector< TextTransformation > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue