AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConditionBasedSignalFetchConfig.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 ConditionBasedSignalFetchConfig() = default;
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetConditionExpression() const { return m_conditionExpression; }
47 inline bool ConditionExpressionHasBeenSet() const { return m_conditionExpressionHasBeenSet; }
48 template<typename ConditionExpressionT = Aws::String>
49 void SetConditionExpression(ConditionExpressionT&& value) { m_conditionExpressionHasBeenSet = true; m_conditionExpression = std::forward<ConditionExpressionT>(value); }
50 template<typename ConditionExpressionT = Aws::String>
51 ConditionBasedSignalFetchConfig& WithConditionExpression(ConditionExpressionT&& value) { SetConditionExpression(std::forward<ConditionExpressionT>(value)); return *this;}
53
55
58 inline TriggerMode GetTriggerMode() const { return m_triggerMode; }
59 inline bool TriggerModeHasBeenSet() const { return m_triggerModeHasBeenSet; }
60 inline void SetTriggerMode(TriggerMode value) { m_triggerModeHasBeenSet = true; m_triggerMode = value; }
63 private:
64
65 Aws::String m_conditionExpression;
66 bool m_conditionExpressionHasBeenSet = false;
67
68 TriggerMode m_triggerMode{TriggerMode::NOT_SET};
69 bool m_triggerModeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTFleetWise
74} // 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