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/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/RuleOrder.h>
9#include <aws/fms/model/StreamExceptionPolicy.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 FMS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FMS_API StatefulEngineOptions() = default;
40
41
43
52 inline RuleOrder GetRuleOrder() const { return m_ruleOrder; }
53 inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; }
54 inline void SetRuleOrder(RuleOrder value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = value; }
55 inline StatefulEngineOptions& WithRuleOrder(RuleOrder value) { SetRuleOrder(value); return *this;}
57
59
84 inline StreamExceptionPolicy GetStreamExceptionPolicy() const { return m_streamExceptionPolicy; }
85 inline bool StreamExceptionPolicyHasBeenSet() const { return m_streamExceptionPolicyHasBeenSet; }
86 inline void SetStreamExceptionPolicy(StreamExceptionPolicy value) { m_streamExceptionPolicyHasBeenSet = true; m_streamExceptionPolicy = value; }
89 private:
90
91 RuleOrder m_ruleOrder{RuleOrder::NOT_SET};
92 bool m_ruleOrderHasBeenSet = false;
93
95 bool m_streamExceptionPolicyHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace FMS
100} // namespace Aws
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
StatefulEngineOptions & WithStreamExceptionPolicy(StreamExceptionPolicy value)
AWS_FMS_API StatefulEngineOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamExceptionPolicy GetStreamExceptionPolicy() const
AWS_FMS_API StatefulEngineOptions()=default
StatefulEngineOptions & WithRuleOrder(RuleOrder value)
AWS_FMS_API StatefulEngineOptions(Aws::Utils::Json::JsonView jsonValue)
void SetStreamExceptionPolicy(StreamExceptionPolicy value)
Aws::Utils::Json::JsonValue JsonValue