AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 ChangeAction GetAction() const { return m_action; }
58 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
59 inline void SetAction(ChangeAction value) { m_actionHasBeenSet = true; m_action = value; }
60 inline XssMatchSetUpdate& WithAction(ChangeAction value) { SetAction(value); return *this;}
62
64
69 inline const XssMatchTuple& GetXssMatchTuple() const { return m_xssMatchTuple; }
70 inline bool XssMatchTupleHasBeenSet() const { return m_xssMatchTupleHasBeenSet; }
71 template<typename XssMatchTupleT = XssMatchTuple>
72 void SetXssMatchTuple(XssMatchTupleT&& value) { m_xssMatchTupleHasBeenSet = true; m_xssMatchTuple = std::forward<XssMatchTupleT>(value); }
73 template<typename XssMatchTupleT = XssMatchTuple>
74 XssMatchSetUpdate& WithXssMatchTuple(XssMatchTupleT&& value) { SetXssMatchTuple(std::forward<XssMatchTupleT>(value)); return *this;}
76 private:
77
79 bool m_actionHasBeenSet = false;
80
81 XssMatchTuple m_xssMatchTuple;
82 bool m_xssMatchTupleHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace WAFRegional
87} // namespace Aws
AWS_WAFREGIONAL_API XssMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const XssMatchTuple & GetXssMatchTuple() const
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
XssMatchSetUpdate & WithXssMatchTuple(XssMatchTupleT &&value)
void SetXssMatchTuple(XssMatchTupleT &&value)
XssMatchSetUpdate & WithAction(ChangeAction value)
AWS_WAFREGIONAL_API XssMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API XssMatchSetUpdate()=default
Aws::Utils::Json::JsonValue JsonValue