AWS SDK for C++  1.9.107
AWS SDK for C++
SqliMatchStatement.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace WAFV2
24 {
25 namespace Model
26 {
27 
41  {
42  public:
47 
48 
53  inline const FieldToMatch& GetFieldToMatch() const{ return m_fieldToMatch; }
54 
59  inline bool FieldToMatchHasBeenSet() const { return m_fieldToMatchHasBeenSet; }
60 
65  inline void SetFieldToMatch(const FieldToMatch& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = value; }
66 
71  inline void SetFieldToMatch(FieldToMatch&& value) { m_fieldToMatchHasBeenSet = true; m_fieldToMatch = std::move(value); }
72 
77  inline SqliMatchStatement& WithFieldToMatch(const FieldToMatch& value) { SetFieldToMatch(value); return *this;}
78 
83  inline SqliMatchStatement& WithFieldToMatch(FieldToMatch&& value) { SetFieldToMatch(std::move(value)); return *this;}
84 
85 
94  inline const Aws::Vector<TextTransformation>& GetTextTransformations() const{ return m_textTransformations; }
95 
104  inline bool TextTransformationsHasBeenSet() const { return m_textTransformationsHasBeenSet; }
105 
114  inline void SetTextTransformations(const Aws::Vector<TextTransformation>& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = value; }
115 
124  inline void SetTextTransformations(Aws::Vector<TextTransformation>&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = std::move(value); }
125 
134  inline SqliMatchStatement& WithTextTransformations(const Aws::Vector<TextTransformation>& value) { SetTextTransformations(value); return *this;}
135 
144  inline SqliMatchStatement& WithTextTransformations(Aws::Vector<TextTransformation>&& value) { SetTextTransformations(std::move(value)); return *this;}
145 
154  inline SqliMatchStatement& AddTextTransformations(const TextTransformation& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(value); return *this; }
155 
164  inline SqliMatchStatement& AddTextTransformations(TextTransformation&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(std::move(value)); return *this; }
165 
166  private:
167 
168  FieldToMatch m_fieldToMatch;
169  bool m_fieldToMatchHasBeenSet;
170 
171  Aws::Vector<TextTransformation> m_textTransformations;
172  bool m_textTransformationsHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace WAFV2
177 } // namespace Aws
Aws::WAFV2::Model::SqliMatchStatement::SetTextTransformations
void SetTextTransformations(const Aws::Vector< TextTransformation > &value)
Definition: SqliMatchStatement.h:114
Aws::WAFV2::Model::SqliMatchStatement::AddTextTransformations
SqliMatchStatement & AddTextTransformations(TextTransformation &&value)
Definition: SqliMatchStatement.h:164
Aws::WAFV2::Model::SqliMatchStatement::SqliMatchStatement
SqliMatchStatement(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::SqliMatchStatement::WithTextTransformations
SqliMatchStatement & WithTextTransformations(Aws::Vector< TextTransformation > &&value)
Definition: SqliMatchStatement.h:144
Aws::WAFV2::Model::SqliMatchStatement::SetTextTransformations
void SetTextTransformations(Aws::Vector< TextTransformation > &&value)
Definition: SqliMatchStatement.h:124
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WAFV2::Model::SqliMatchStatement::operator=
SqliMatchStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::SqliMatchStatement
Definition: SqliMatchStatement.h:41
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::TextTransformation
Definition: TextTransformation.h:34
Aws::WAFV2::Model::SqliMatchStatement::TextTransformationsHasBeenSet
bool TextTransformationsHasBeenSet() const
Definition: SqliMatchStatement.h:104
AWSVector.h
WAFV2_EXPORTS.h
Aws::WAFV2::Model::SqliMatchStatement::GetTextTransformations
const Aws::Vector< TextTransformation > & GetTextTransformations() const
Definition: SqliMatchStatement.h:94
Aws::WAFV2::Model::SqliMatchStatement::FieldToMatchHasBeenSet
bool FieldToMatchHasBeenSet() const
Definition: SqliMatchStatement.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::SqliMatchStatement::SqliMatchStatement
SqliMatchStatement()
Aws::WAFV2::Model::SqliMatchStatement::WithTextTransformations
SqliMatchStatement & WithTextTransformations(const Aws::Vector< TextTransformation > &value)
Definition: SqliMatchStatement.h:134
Aws::WAFV2::Model::SqliMatchStatement::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAFV2::Model::SqliMatchStatement::SetFieldToMatch
void SetFieldToMatch(FieldToMatch &&value)
Definition: SqliMatchStatement.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::SqliMatchStatement::WithFieldToMatch
SqliMatchStatement & WithFieldToMatch(const FieldToMatch &value)
Definition: SqliMatchStatement.h:77
Aws::WAFV2::Model::SqliMatchStatement::GetFieldToMatch
const FieldToMatch & GetFieldToMatch() const
Definition: SqliMatchStatement.h:53
FieldToMatch.h
Aws::WAFV2::Model::SqliMatchStatement::WithFieldToMatch
SqliMatchStatement & WithFieldToMatch(FieldToMatch &&value)
Definition: SqliMatchStatement.h:83
Aws::WAFV2::Model::FieldToMatch
Definition: FieldToMatch.h:48
Aws::WAFV2::Model::SqliMatchStatement::SetFieldToMatch
void SetFieldToMatch(const FieldToMatch &value)
Definition: SqliMatchStatement.h:65
Aws::WAFV2::Model::SqliMatchStatement::AddTextTransformations
SqliMatchStatement & AddTextTransformations(const TextTransformation &value)
Definition: SqliMatchStatement.h:154
TextTransformation.h