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/WAF_EXPORTS.h>
8#include <aws/waf/model/ChangeAction.h>
9#include <aws/waf/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 WAF
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_WAF_API XssMatchSetUpdate();
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 WAF
89} // namespace Aws
void SetXssMatchTuple(const XssMatchTuple &value)
const ChangeAction & GetAction() const
XssMatchSetUpdate & WithXssMatchTuple(XssMatchTuple &&value)
void SetAction(ChangeAction &&value)
const XssMatchTuple & GetXssMatchTuple() const
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API XssMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
XssMatchSetUpdate & WithXssMatchTuple(const XssMatchTuple &value)
AWS_WAF_API XssMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
XssMatchSetUpdate & WithAction(const ChangeAction &value)
void SetAction(const ChangeAction &value)
void SetXssMatchTuple(XssMatchTuple &&value)
XssMatchSetUpdate & WithAction(ChangeAction &&value)
Aws::Utils::Json::JsonValue JsonValue