AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ConditionBasedSignalFetchConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9#include <aws/iotfleetwise/model/TriggerMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTFleetWise {
21namespace Model {
22
30 public:
31 AWS_IOTFLEETWISE_API ConditionBasedSignalFetchConfig() = default;
34 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetConditionExpression() const { return m_conditionExpression; }
41 inline bool ConditionExpressionHasBeenSet() const { return m_conditionExpressionHasBeenSet; }
42 template <typename ConditionExpressionT = Aws::String>
43 void SetConditionExpression(ConditionExpressionT&& value) {
44 m_conditionExpressionHasBeenSet = true;
45 m_conditionExpression = std::forward<ConditionExpressionT>(value);
46 }
47 template <typename ConditionExpressionT = Aws::String>
49 SetConditionExpression(std::forward<ConditionExpressionT>(value));
50 return *this;
51 }
53
55
58 inline TriggerMode GetTriggerMode() const { return m_triggerMode; }
59 inline bool TriggerModeHasBeenSet() const { return m_triggerModeHasBeenSet; }
60 inline void SetTriggerMode(TriggerMode value) {
61 m_triggerModeHasBeenSet = true;
62 m_triggerMode = value;
63 }
65 SetTriggerMode(value);
66 return *this;
67 }
69 private:
70 Aws::String m_conditionExpression;
71
72 TriggerMode m_triggerMode{TriggerMode::NOT_SET};
73 bool m_conditionExpressionHasBeenSet = false;
74 bool m_triggerModeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoTFleetWise
79} // namespace Aws
AWS_IOTFLEETWISE_API ConditionBasedSignalFetchConfig()=default
ConditionBasedSignalFetchConfig & WithTriggerMode(TriggerMode value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API ConditionBasedSignalFetchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionBasedSignalFetchConfig & WithConditionExpression(ConditionExpressionT &&value)
AWS_IOTFLEETWISE_API ConditionBasedSignalFetchConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue