AWS SDK for C++

AWS SDK for C++ Version 1.11.920

Loading...
Searching...
No Matches
StatefulEngineOptions.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/fms/FMS_EXPORTS.h>
9#include <aws/fms/model/RuleOrder.h>
10#include <aws/fms/model/StreamExceptionPolicy.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace FMS {
21namespace Model {
22
30 public:
31 AWS_FMS_API StatefulEngineOptions() = default;
32 AWS_FMS_API StatefulEngineOptions(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_FMS_API StatefulEngineOptions& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_FMS_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
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
StatefulEngineOptions & WithStreamExceptionPolicy(StreamExceptionPolicy value)
StreamExceptionPolicy GetStreamExceptionPolicy() const
AWS_FMS_API StatefulEngineOptions()=default
StatefulEngineOptions & WithRuleOrder(RuleOrder value)
AWS_FMS_API StatefulEngineOptions(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_FMS_API StatefulEngineOptions & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetStreamExceptionPolicy(StreamExceptionPolicy value)
AWS_FMS_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const