AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatefulRuleOptions.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/RuleOrder.h>
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:
35 AWS_NETWORKFIREWALL_API StatefulRuleOptions();
36 AWS_NETWORKFIREWALL_API StatefulRuleOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKFIREWALL_API StatefulRuleOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const RuleOrder& GetRuleOrder() const{ return m_ruleOrder; }
52 inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; }
53 inline void SetRuleOrder(const RuleOrder& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = value; }
54 inline void SetRuleOrder(RuleOrder&& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = std::move(value); }
55 inline StatefulRuleOptions& WithRuleOrder(const RuleOrder& value) { SetRuleOrder(value); return *this;}
56 inline StatefulRuleOptions& WithRuleOrder(RuleOrder&& value) { SetRuleOrder(std::move(value)); return *this;}
58 private:
59
60 RuleOrder m_ruleOrder;
61 bool m_ruleOrderHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace NetworkFirewall
66} // namespace Aws
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)
Aws::Utils::Json::JsonValue JsonValue