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-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/ChangeAction.h>
9#include <aws/waf-regional/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 WAFRegional
23{
24namespace Model
25{
26
44 {
45 public:
46 AWS_WAFREGIONAL_API SqlInjectionMatchSetUpdate();
49 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
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 WAFRegional
91} // namespace Aws
const SqlInjectionMatchTuple & GetSqlInjectionMatchTuple() const
AWS_WAFREGIONAL_API SqlInjectionMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlInjectionMatchSetUpdate & WithAction(ChangeAction &&value)
void SetSqlInjectionMatchTuple(const SqlInjectionMatchTuple &value)
AWS_WAFREGIONAL_API SqlInjectionMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSqlInjectionMatchTuple(SqlInjectionMatchTuple &&value)
SqlInjectionMatchSetUpdate & WithSqlInjectionMatchTuple(SqlInjectionMatchTuple &&value)
SqlInjectionMatchSetUpdate & WithSqlInjectionMatchTuple(const SqlInjectionMatchTuple &value)
SqlInjectionMatchSetUpdate & WithAction(const ChangeAction &value)
Aws::Utils::Json::JsonValue JsonValue