AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegexMatchSetUpdate.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/ChangeAction.h>
9#include <aws/waf/model/RegexMatchTuple.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 RegexMatchSetUpdate();
49
50
52
55 inline const ChangeAction& GetAction() const{ return m_action; }
56 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
57 inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
58 inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
59 inline RegexMatchSetUpdate& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
60 inline RegexMatchSetUpdate& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
62
64
72 inline const RegexMatchTuple& GetRegexMatchTuple() const{ return m_regexMatchTuple; }
73 inline bool RegexMatchTupleHasBeenSet() const { return m_regexMatchTupleHasBeenSet; }
74 inline void SetRegexMatchTuple(const RegexMatchTuple& value) { m_regexMatchTupleHasBeenSet = true; m_regexMatchTuple = value; }
75 inline void SetRegexMatchTuple(RegexMatchTuple&& value) { m_regexMatchTupleHasBeenSet = true; m_regexMatchTuple = std::move(value); }
76 inline RegexMatchSetUpdate& WithRegexMatchTuple(const RegexMatchTuple& value) { SetRegexMatchTuple(value); return *this;}
77 inline RegexMatchSetUpdate& WithRegexMatchTuple(RegexMatchTuple&& value) { SetRegexMatchTuple(std::move(value)); return *this;}
79 private:
80
81 ChangeAction m_action;
82 bool m_actionHasBeenSet = false;
83
84 RegexMatchTuple m_regexMatchTuple;
85 bool m_regexMatchTupleHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace WAF
90} // namespace Aws
RegexMatchSetUpdate & WithRegexMatchTuple(const RegexMatchTuple &value)
void SetRegexMatchTuple(const RegexMatchTuple &value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAction(const ChangeAction &value)
RegexMatchSetUpdate & WithRegexMatchTuple(RegexMatchTuple &&value)
const RegexMatchTuple & GetRegexMatchTuple() const
const ChangeAction & GetAction() const
void SetRegexMatchTuple(RegexMatchTuple &&value)
RegexMatchSetUpdate & WithAction(ChangeAction &&value)
AWS_WAF_API RegexMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API RegexMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexMatchSetUpdate & WithAction(const ChangeAction &value)
Aws::Utils::Json::JsonValue JsonValue