AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StatefulEngineOptions.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/RuleOrder.h>
9#include <aws/network-firewall/model/StreamExceptionPolicy.h>
10#include <aws/network-firewall/model/FlowTimeouts.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace NetworkFirewall
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_NETWORKFIREWALL_API StatefulEngineOptions() = default;
38 AWS_NETWORKFIREWALL_API StatefulEngineOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKFIREWALL_API StatefulEngineOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
60 inline RuleOrder GetRuleOrder() const { return m_ruleOrder; }
61 inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; }
62 inline void SetRuleOrder(RuleOrder value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = value; }
63 inline StatefulEngineOptions& WithRuleOrder(RuleOrder value) { SetRuleOrder(value); return *this;}
65
67
87 inline StreamExceptionPolicy GetStreamExceptionPolicy() const { return m_streamExceptionPolicy; }
88 inline bool StreamExceptionPolicyHasBeenSet() const { return m_streamExceptionPolicyHasBeenSet; }
89 inline void SetStreamExceptionPolicy(StreamExceptionPolicy value) { m_streamExceptionPolicyHasBeenSet = true; m_streamExceptionPolicy = value; }
92
94
98 inline const FlowTimeouts& GetFlowTimeouts() const { return m_flowTimeouts; }
99 inline bool FlowTimeoutsHasBeenSet() const { return m_flowTimeoutsHasBeenSet; }
100 template<typename FlowTimeoutsT = FlowTimeouts>
101 void SetFlowTimeouts(FlowTimeoutsT&& value) { m_flowTimeoutsHasBeenSet = true; m_flowTimeouts = std::forward<FlowTimeoutsT>(value); }
102 template<typename FlowTimeoutsT = FlowTimeouts>
103 StatefulEngineOptions& WithFlowTimeouts(FlowTimeoutsT&& value) { SetFlowTimeouts(std::forward<FlowTimeoutsT>(value)); return *this;}
105 private:
106
107 RuleOrder m_ruleOrder{RuleOrder::NOT_SET};
108 bool m_ruleOrderHasBeenSet = false;
109
111 bool m_streamExceptionPolicyHasBeenSet = false;
112
113 FlowTimeouts m_flowTimeouts;
114 bool m_flowTimeoutsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace NetworkFirewall
119} // namespace Aws
void SetStreamExceptionPolicy(StreamExceptionPolicy value)
AWS_NETWORKFIREWALL_API StatefulEngineOptions()=default
AWS_NETWORKFIREWALL_API StatefulEngineOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
StatefulEngineOptions & WithFlowTimeouts(FlowTimeoutsT &&value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
StatefulEngineOptions & WithRuleOrder(RuleOrder value)
AWS_NETWORKFIREWALL_API StatefulEngineOptions(Aws::Utils::Json::JsonView jsonValue)
StatefulEngineOptions & WithStreamExceptionPolicy(StreamExceptionPolicy value)
Aws::Utils::Json::JsonValue JsonValue