AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConditionBasedCollectionScheme.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/TriggerMode.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 IoTFleetWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTFLEETWISE_API ConditionBasedCollectionScheme();
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetExpression() const{ return m_expression; }
48 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
49 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
50 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
51 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
52 inline ConditionBasedCollectionScheme& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
53 inline ConditionBasedCollectionScheme& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
54 inline ConditionBasedCollectionScheme& WithExpression(const char* value) { SetExpression(value); return *this;}
56
58
63 inline long long GetMinimumTriggerIntervalMs() const{ return m_minimumTriggerIntervalMs; }
64 inline bool MinimumTriggerIntervalMsHasBeenSet() const { return m_minimumTriggerIntervalMsHasBeenSet; }
65 inline void SetMinimumTriggerIntervalMs(long long value) { m_minimumTriggerIntervalMsHasBeenSet = true; m_minimumTriggerIntervalMs = value; }
68
70
77 inline const TriggerMode& GetTriggerMode() const{ return m_triggerMode; }
78 inline bool TriggerModeHasBeenSet() const { return m_triggerModeHasBeenSet; }
79 inline void SetTriggerMode(const TriggerMode& value) { m_triggerModeHasBeenSet = true; m_triggerMode = value; }
80 inline void SetTriggerMode(TriggerMode&& value) { m_triggerModeHasBeenSet = true; m_triggerMode = std::move(value); }
81 inline ConditionBasedCollectionScheme& WithTriggerMode(const TriggerMode& value) { SetTriggerMode(value); return *this;}
82 inline ConditionBasedCollectionScheme& WithTriggerMode(TriggerMode&& value) { SetTriggerMode(std::move(value)); return *this;}
84
86
89 inline int GetConditionLanguageVersion() const{ return m_conditionLanguageVersion; }
90 inline bool ConditionLanguageVersionHasBeenSet() const { return m_conditionLanguageVersionHasBeenSet; }
91 inline void SetConditionLanguageVersion(int value) { m_conditionLanguageVersionHasBeenSet = true; m_conditionLanguageVersion = value; }
94 private:
95
96 Aws::String m_expression;
97 bool m_expressionHasBeenSet = false;
98
99 long long m_minimumTriggerIntervalMs;
100 bool m_minimumTriggerIntervalMsHasBeenSet = false;
101
102 TriggerMode m_triggerMode;
103 bool m_triggerModeHasBeenSet = false;
104
105 int m_conditionLanguageVersion;
106 bool m_conditionLanguageVersionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace IoTFleetWise
111} // namespace Aws
ConditionBasedCollectionScheme & WithExpression(const char *value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API ConditionBasedCollectionScheme(Aws::Utils::Json::JsonView jsonValue)
ConditionBasedCollectionScheme & WithMinimumTriggerIntervalMs(long long value)
ConditionBasedCollectionScheme & WithExpression(Aws::String &&value)
AWS_IOTFLEETWISE_API ConditionBasedCollectionScheme & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionBasedCollectionScheme & WithTriggerMode(const TriggerMode &value)
ConditionBasedCollectionScheme & WithTriggerMode(TriggerMode &&value)
ConditionBasedCollectionScheme & WithConditionLanguageVersion(int value)
ConditionBasedCollectionScheme & WithExpression(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue