AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
StatefulRuleOptions.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NetworkFirewall
22{
23namespace Model
24{
25
33 {
34 public:
39
40
50 inline const RuleOrder& GetRuleOrder() const{ return m_ruleOrder; }
51
61 inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; }
62
72 inline void SetRuleOrder(const RuleOrder& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = value; }
73
83 inline void SetRuleOrder(RuleOrder&& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = std::move(value); }
84
94 inline StatefulRuleOptions& WithRuleOrder(const RuleOrder& value) { SetRuleOrder(value); return *this;}
95
105 inline StatefulRuleOptions& WithRuleOrder(RuleOrder&& value) { SetRuleOrder(std::move(value)); return *this;}
106
107 private:
108
109 RuleOrder m_ruleOrder;
110 bool m_ruleOrderHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace NetworkFirewall
115} // namespace Aws
#define AWS_NETWORKFIREWALL_API
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
StatefulRuleOptions & WithRuleOrder(const RuleOrder &value)
StatefulRuleOptions & WithRuleOrder(RuleOrder &&value)
AWS_NETWORKFIREWALL_API StatefulRuleOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API StatefulRuleOptions(Aws::Utils::Json::JsonView jsonValue)