AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace FMS {
21namespace Model {
22
30 public:
31 AWS_FMS_API StatefulEngineOptions() = default;
35
37
46 inline RuleOrder GetRuleOrder() const { return m_ruleOrder; }
47 inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; }
48 inline void SetRuleOrder(RuleOrder value) {
49 m_ruleOrderHasBeenSet = true;
50 m_ruleOrder = value;
51 }
53 SetRuleOrder(value);
54 return *this;
55 }
57
59
84 inline StreamExceptionPolicy GetStreamExceptionPolicy() const { return m_streamExceptionPolicy; }
85 inline bool StreamExceptionPolicyHasBeenSet() const { return m_streamExceptionPolicyHasBeenSet; }
87 m_streamExceptionPolicyHasBeenSet = true;
88 m_streamExceptionPolicy = value;
89 }
92 return *this;
93 }
95 private:
96 RuleOrder m_ruleOrder{RuleOrder::NOT_SET};
97
99 bool m_ruleOrderHasBeenSet = false;
100 bool m_streamExceptionPolicyHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace FMS
105} // 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