AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SqlInjectionMatchSetUpdate.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/ChangeAction.h>
9#include <aws/waf/model/SqlInjectionMatchTuple.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WAF
23{
24namespace Model
25{
26
44 {
45 public:
50
51
53
59 inline const ChangeAction& GetAction() const{ return m_action; }
60 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
61 inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
62 inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
63 inline SqlInjectionMatchSetUpdate& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
64 inline SqlInjectionMatchSetUpdate& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
66
68
73 inline const SqlInjectionMatchTuple& GetSqlInjectionMatchTuple() const{ return m_sqlInjectionMatchTuple; }
74 inline bool SqlInjectionMatchTupleHasBeenSet() const { return m_sqlInjectionMatchTupleHasBeenSet; }
75 inline void SetSqlInjectionMatchTuple(const SqlInjectionMatchTuple& value) { m_sqlInjectionMatchTupleHasBeenSet = true; m_sqlInjectionMatchTuple = value; }
76 inline void SetSqlInjectionMatchTuple(SqlInjectionMatchTuple&& value) { m_sqlInjectionMatchTupleHasBeenSet = true; m_sqlInjectionMatchTuple = std::move(value); }
80 private:
81
82 ChangeAction m_action;
83 bool m_actionHasBeenSet = false;
84
85 SqlInjectionMatchTuple m_sqlInjectionMatchTuple;
86 bool m_sqlInjectionMatchTupleHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace WAF
91} // namespace Aws
void SetSqlInjectionMatchTuple(SqlInjectionMatchTuple &&value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
SqlInjectionMatchSetUpdate & WithSqlInjectionMatchTuple(const SqlInjectionMatchTuple &value)
void SetSqlInjectionMatchTuple(const SqlInjectionMatchTuple &value)
AWS_WAF_API SqlInjectionMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API SqlInjectionMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlInjectionMatchSetUpdate & WithAction(const ChangeAction &value)
SqlInjectionMatchSetUpdate & WithAction(ChangeAction &&value)
SqlInjectionMatchSetUpdate & WithSqlInjectionMatchTuple(SqlInjectionMatchTuple &&value)
const SqlInjectionMatchTuple & GetSqlInjectionMatchTuple() const
Aws::Utils::Json::JsonValue JsonValue