AWS SDK for C++  1.9.153
AWS SDK for C++
SqlInjectionMatchSetUpdate.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/waf/WAF_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace WAF
23 {
24 namespace Model
25 {
26 
44  {
45  public:
50 
51 
58  inline const ChangeAction& GetAction() const{ return m_action; }
59 
66  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
67 
74  inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
75 
82  inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
83 
90  inline SqlInjectionMatchSetUpdate& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
91 
98  inline SqlInjectionMatchSetUpdate& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
99 
100 
106  inline const SqlInjectionMatchTuple& GetSqlInjectionMatchTuple() const{ return m_sqlInjectionMatchTuple; }
107 
113  inline bool SqlInjectionMatchTupleHasBeenSet() const { return m_sqlInjectionMatchTupleHasBeenSet; }
114 
120  inline void SetSqlInjectionMatchTuple(const SqlInjectionMatchTuple& value) { m_sqlInjectionMatchTupleHasBeenSet = true; m_sqlInjectionMatchTuple = value; }
121 
127  inline void SetSqlInjectionMatchTuple(SqlInjectionMatchTuple&& value) { m_sqlInjectionMatchTupleHasBeenSet = true; m_sqlInjectionMatchTuple = std::move(value); }
128 
134  inline SqlInjectionMatchSetUpdate& WithSqlInjectionMatchTuple(const SqlInjectionMatchTuple& value) { SetSqlInjectionMatchTuple(value); return *this;}
135 
141  inline SqlInjectionMatchSetUpdate& WithSqlInjectionMatchTuple(SqlInjectionMatchTuple&& value) { SetSqlInjectionMatchTuple(std::move(value)); return *this;}
142 
143  private:
144 
145  ChangeAction m_action;
146  bool m_actionHasBeenSet;
147 
148  SqlInjectionMatchTuple m_sqlInjectionMatchTuple;
149  bool m_sqlInjectionMatchTupleHasBeenSet;
150  };
151 
152 } // namespace Model
153 } // namespace WAF
154 } // namespace Aws
Aws::WAF::Model::SqlInjectionMatchSetUpdate::SqlInjectionMatchTupleHasBeenSet
bool SqlInjectionMatchTupleHasBeenSet() const
Definition: SqlInjectionMatchSetUpdate.h:113
Aws::WAF::Model::SqlInjectionMatchSetUpdate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAF::Model::ChangeAction
ChangeAction
Definition: ChangeAction.h:17
Aws::WAF::Model::SqlInjectionMatchSetUpdate::operator=
SqlInjectionMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::SqlInjectionMatchSetUpdate::WithAction
SqlInjectionMatchSetUpdate & WithAction(const ChangeAction &value)
Definition: SqlInjectionMatchSetUpdate.h:90
Aws::WAF::Model::SqlInjectionMatchSetUpdate::GetAction
const ChangeAction & GetAction() const
Definition: SqlInjectionMatchSetUpdate.h:58
Aws::WAF::Model::SqlInjectionMatchSetUpdate::SqlInjectionMatchSetUpdate
SqlInjectionMatchSetUpdate()
Aws::WAF::Model::SqlInjectionMatchSetUpdate::SetAction
void SetAction(const ChangeAction &value)
Definition: SqlInjectionMatchSetUpdate.h:74
SqlInjectionMatchTuple.h
Aws::WAF::Model::SqlInjectionMatchSetUpdate::SetSqlInjectionMatchTuple
void SetSqlInjectionMatchTuple(const SqlInjectionMatchTuple &value)
Definition: SqlInjectionMatchSetUpdate.h:120
Aws::WAF::Model::SqlInjectionMatchSetUpdate::WithSqlInjectionMatchTuple
SqlInjectionMatchSetUpdate & WithSqlInjectionMatchTuple(SqlInjectionMatchTuple &&value)
Definition: SqlInjectionMatchSetUpdate.h:141
Aws::WAF::Model::SqlInjectionMatchSetUpdate::WithAction
SqlInjectionMatchSetUpdate & WithAction(ChangeAction &&value)
Definition: SqlInjectionMatchSetUpdate.h:98
Aws::WAF::Model::SqlInjectionMatchSetUpdate::WithSqlInjectionMatchTuple
SqlInjectionMatchSetUpdate & WithSqlInjectionMatchTuple(const SqlInjectionMatchTuple &value)
Definition: SqlInjectionMatchSetUpdate.h:134
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::WAF::Model::SqlInjectionMatchSetUpdate::SetSqlInjectionMatchTuple
void SetSqlInjectionMatchTuple(SqlInjectionMatchTuple &&value)
Definition: SqlInjectionMatchSetUpdate.h:127
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
ChangeAction.h
WAF_EXPORTS.h
Aws::WAF::Model::SqlInjectionMatchSetUpdate::GetSqlInjectionMatchTuple
const SqlInjectionMatchTuple & GetSqlInjectionMatchTuple() const
Definition: SqlInjectionMatchSetUpdate.h:106
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::WAF::Model::SqlInjectionMatchTuple
Definition: SqlInjectionMatchTuple.h:43
Aws::WAF::Model::SqlInjectionMatchSetUpdate::SqlInjectionMatchSetUpdate
SqlInjectionMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::WAF::Model::SqlInjectionMatchSetUpdate::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: SqlInjectionMatchSetUpdate.h:66
Aws::WAF::Model::SqlInjectionMatchSetUpdate
Definition: SqlInjectionMatchSetUpdate.h:44
Aws::WAF::Model::SqlInjectionMatchSetUpdate::SetAction
void SetAction(ChangeAction &&value)
Definition: SqlInjectionMatchSetUpdate.h:82