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-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/ChangeAction.h>
9#include <aws/waf-regional/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 WAFRegional
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_WAFREGIONAL_API RegexMatchSetUpdate();
46 AWS_WAFREGIONAL_API RegexMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue);
48 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
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 WAFRegional
90} // namespace Aws
void SetRegexMatchTuple(RegexMatchTuple &&value)
void SetRegexMatchTuple(const RegexMatchTuple &value)
RegexMatchSetUpdate & WithAction(const ChangeAction &value)
AWS_WAFREGIONAL_API RegexMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const RegexMatchTuple & GetRegexMatchTuple() const
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFREGIONAL_API RegexMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
RegexMatchSetUpdate & WithRegexMatchTuple(RegexMatchTuple &&value)
RegexMatchSetUpdate & WithAction(ChangeAction &&value)
RegexMatchSetUpdate & WithRegexMatchTuple(const RegexMatchTuple &value)
Aws::Utils::Json::JsonValue JsonValue