AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
XssMatchSetUpdate.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/XssMatchTuple.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
43 {
44 public:
45 AWS_WAFREGIONAL_API XssMatchSetUpdate();
46 AWS_WAFREGIONAL_API XssMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue);
48 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
57 inline const ChangeAction& GetAction() const{ return m_action; }
58 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
59 inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
60 inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
61 inline XssMatchSetUpdate& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
62 inline XssMatchSetUpdate& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
64
66
71 inline const XssMatchTuple& GetXssMatchTuple() const{ return m_xssMatchTuple; }
72 inline bool XssMatchTupleHasBeenSet() const { return m_xssMatchTupleHasBeenSet; }
73 inline void SetXssMatchTuple(const XssMatchTuple& value) { m_xssMatchTupleHasBeenSet = true; m_xssMatchTuple = value; }
74 inline void SetXssMatchTuple(XssMatchTuple&& value) { m_xssMatchTupleHasBeenSet = true; m_xssMatchTuple = std::move(value); }
75 inline XssMatchSetUpdate& WithXssMatchTuple(const XssMatchTuple& value) { SetXssMatchTuple(value); return *this;}
76 inline XssMatchSetUpdate& WithXssMatchTuple(XssMatchTuple&& value) { SetXssMatchTuple(std::move(value)); return *this;}
78 private:
79
80 ChangeAction m_action;
81 bool m_actionHasBeenSet = false;
82
83 XssMatchTuple m_xssMatchTuple;
84 bool m_xssMatchTupleHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace WAFRegional
89} // namespace Aws
AWS_WAFREGIONAL_API XssMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
XssMatchSetUpdate & WithAction(ChangeAction &&value)
void SetXssMatchTuple(XssMatchTuple &&value)
const XssMatchTuple & GetXssMatchTuple() const
XssMatchSetUpdate & WithAction(const ChangeAction &value)
XssMatchSetUpdate & WithXssMatchTuple(XssMatchTuple &&value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
XssMatchSetUpdate & WithXssMatchTuple(const XssMatchTuple &value)
void SetXssMatchTuple(const XssMatchTuple &value)
AWS_WAFREGIONAL_API XssMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetAction(const ChangeAction &value)
Aws::Utils::Json::JsonValue JsonValue