AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
59 inline const RuleOrder& GetRuleOrder() const{ return m_ruleOrder; }
60 inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; }
61 inline void SetRuleOrder(const RuleOrder& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = value; }
62 inline void SetRuleOrder(RuleOrder&& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = std::move(value); }
63 inline StatefulEngineOptions& WithRuleOrder(const RuleOrder& value) { SetRuleOrder(value); return *this;}
64 inline StatefulEngineOptions& WithRuleOrder(RuleOrder&& value) { SetRuleOrder(std::move(value)); return *this;}
66
68
88 inline const StreamExceptionPolicy& GetStreamExceptionPolicy() const{ return m_streamExceptionPolicy; }
89 inline bool StreamExceptionPolicyHasBeenSet() const { return m_streamExceptionPolicyHasBeenSet; }
90 inline void SetStreamExceptionPolicy(const StreamExceptionPolicy& value) { m_streamExceptionPolicyHasBeenSet = true; m_streamExceptionPolicy = value; }
91 inline void SetStreamExceptionPolicy(StreamExceptionPolicy&& value) { m_streamExceptionPolicyHasBeenSet = true; m_streamExceptionPolicy = std::move(value); }
95
97
101 inline const FlowTimeouts& GetFlowTimeouts() const{ return m_flowTimeouts; }
102 inline bool FlowTimeoutsHasBeenSet() const { return m_flowTimeoutsHasBeenSet; }
103 inline void SetFlowTimeouts(const FlowTimeouts& value) { m_flowTimeoutsHasBeenSet = true; m_flowTimeouts = value; }
104 inline void SetFlowTimeouts(FlowTimeouts&& value) { m_flowTimeoutsHasBeenSet = true; m_flowTimeouts = std::move(value); }
105 inline StatefulEngineOptions& WithFlowTimeouts(const FlowTimeouts& value) { SetFlowTimeouts(value); return *this;}
106 inline StatefulEngineOptions& WithFlowTimeouts(FlowTimeouts&& value) { SetFlowTimeouts(std::move(value)); return *this;}
108 private:
109
110 RuleOrder m_ruleOrder;
111 bool m_ruleOrderHasBeenSet = false;
112
113 StreamExceptionPolicy m_streamExceptionPolicy;
114 bool m_streamExceptionPolicyHasBeenSet = false;
115
116 FlowTimeouts m_flowTimeouts;
117 bool m_flowTimeoutsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace NetworkFirewall
122} // namespace Aws
const StreamExceptionPolicy & GetStreamExceptionPolicy() const
void SetStreamExceptionPolicy(StreamExceptionPolicy &&value)
StatefulEngineOptions & WithFlowTimeouts(FlowTimeouts &&value)
StatefulEngineOptions & WithFlowTimeouts(const FlowTimeouts &value)
StatefulEngineOptions & WithRuleOrder(RuleOrder &&value)
AWS_NETWORKFIREWALL_API StatefulEngineOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStreamExceptionPolicy(const StreamExceptionPolicy &value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
StatefulEngineOptions & WithRuleOrder(const RuleOrder &value)
StatefulEngineOptions & WithStreamExceptionPolicy(const StreamExceptionPolicy &value)
AWS_NETWORKFIREWALL_API StatefulEngineOptions(Aws::Utils::Json::JsonView jsonValue)
StatefulEngineOptions & WithStreamExceptionPolicy(StreamExceptionPolicy &&value)
Aws::Utils::Json::JsonValue JsonValue