AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WAF {
21namespace Model {
22
39 public:
40 AWS_WAF_API XssMatchSetUpdate() = default;
44
46
51 inline ChangeAction GetAction() const { return m_action; }
52 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
53 inline void SetAction(ChangeAction value) {
54 m_actionHasBeenSet = true;
55 m_action = value;
56 }
58 SetAction(value);
59 return *this;
60 }
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) {
73 m_xssMatchTupleHasBeenSet = true;
74 m_xssMatchTuple = std::forward<XssMatchTupleT>(value);
75 }
76 template <typename XssMatchTupleT = XssMatchTuple>
77 XssMatchSetUpdate& WithXssMatchTuple(XssMatchTupleT&& value) {
78 SetXssMatchTuple(std::forward<XssMatchTupleT>(value));
79 return *this;
80 }
82 private:
84
85 XssMatchTuple m_xssMatchTuple;
86 bool m_actionHasBeenSet = false;
87 bool m_xssMatchTupleHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace WAF
92} // namespace Aws
void SetAction(ChangeAction value)
XssMatchSetUpdate & WithAction(ChangeAction value)
void SetXssMatchTuple(XssMatchTupleT &&value)
const XssMatchTuple & GetXssMatchTuple() const
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API XssMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API XssMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API XssMatchSetUpdate()=default
XssMatchSetUpdate & WithXssMatchTuple(XssMatchTupleT &&value)
Aws::Utils::Json::JsonValue JsonValue