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/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();
40
41
43
52 inline const RuleOrder& GetRuleOrder() const{ return m_ruleOrder; }
53 inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; }
54 inline void SetRuleOrder(const RuleOrder& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = value; }
55 inline void SetRuleOrder(RuleOrder&& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = std::move(value); }
56 inline StatefulEngineOptions& WithRuleOrder(const RuleOrder& value) { SetRuleOrder(value); return *this;}
57 inline StatefulEngineOptions& WithRuleOrder(RuleOrder&& value) { SetRuleOrder(std::move(value)); return *this;}
59
61
86 inline const StreamExceptionPolicy& GetStreamExceptionPolicy() const{ return m_streamExceptionPolicy; }
87 inline bool StreamExceptionPolicyHasBeenSet() const { return m_streamExceptionPolicyHasBeenSet; }
88 inline void SetStreamExceptionPolicy(const StreamExceptionPolicy& value) { m_streamExceptionPolicyHasBeenSet = true; m_streamExceptionPolicy = value; }
89 inline void SetStreamExceptionPolicy(StreamExceptionPolicy&& value) { m_streamExceptionPolicyHasBeenSet = true; m_streamExceptionPolicy = std::move(value); }
93 private:
94
95 RuleOrder m_ruleOrder;
96 bool m_ruleOrderHasBeenSet = false;
97
98 StreamExceptionPolicy m_streamExceptionPolicy;
99 bool m_streamExceptionPolicyHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace FMS
104} // namespace Aws
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamExceptionPolicy(const StreamExceptionPolicy &value)
StatefulEngineOptions & WithRuleOrder(const RuleOrder &value)
StatefulEngineOptions & WithStreamExceptionPolicy(const StreamExceptionPolicy &value)
AWS_FMS_API StatefulEngineOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
StatefulEngineOptions & WithRuleOrder(RuleOrder &&value)
StatefulEngineOptions & WithStreamExceptionPolicy(StreamExceptionPolicy &&value)
AWS_FMS_API StatefulEngineOptions(Aws::Utils::Json::JsonView jsonValue)
void SetRuleOrder(const RuleOrder &value)
const StreamExceptionPolicy & GetStreamExceptionPolicy() const
void SetStreamExceptionPolicy(StreamExceptionPolicy &&value)
Aws::Utils::Json::JsonValue JsonValue