AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SimpleRuleEvaluation.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents-data/model/ComparisonOperator.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 IoTEventsData
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTEVENTSDATA_API SimpleRuleEvaluation() = default;
37 AWS_IOTEVENTSDATA_API SimpleRuleEvaluation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetInputPropertyValue() const { return m_inputPropertyValue; }
48 inline bool InputPropertyValueHasBeenSet() const { return m_inputPropertyValueHasBeenSet; }
49 template<typename InputPropertyValueT = Aws::String>
50 void SetInputPropertyValue(InputPropertyValueT&& value) { m_inputPropertyValueHasBeenSet = true; m_inputPropertyValue = std::forward<InputPropertyValueT>(value); }
51 template<typename InputPropertyValueT = Aws::String>
52 SimpleRuleEvaluation& WithInputPropertyValue(InputPropertyValueT&& value) { SetInputPropertyValue(std::forward<InputPropertyValueT>(value)); return *this;}
54
56
59 inline ComparisonOperator GetOperator() const { return m_operator; }
60 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
61 inline void SetOperator(ComparisonOperator value) { m_operatorHasBeenSet = true; m_operator = value; }
62 inline SimpleRuleEvaluation& WithOperator(ComparisonOperator value) { SetOperator(value); return *this;}
64
66
69 inline const Aws::String& GetThresholdValue() const { return m_thresholdValue; }
70 inline bool ThresholdValueHasBeenSet() const { return m_thresholdValueHasBeenSet; }
71 template<typename ThresholdValueT = Aws::String>
72 void SetThresholdValue(ThresholdValueT&& value) { m_thresholdValueHasBeenSet = true; m_thresholdValue = std::forward<ThresholdValueT>(value); }
73 template<typename ThresholdValueT = Aws::String>
74 SimpleRuleEvaluation& WithThresholdValue(ThresholdValueT&& value) { SetThresholdValue(std::forward<ThresholdValueT>(value)); return *this;}
76 private:
77
78 Aws::String m_inputPropertyValue;
79 bool m_inputPropertyValueHasBeenSet = false;
80
82 bool m_operatorHasBeenSet = false;
83
84 Aws::String m_thresholdValue;
85 bool m_thresholdValueHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTEventsData
90} // namespace Aws
AWS_IOTEVENTSDATA_API SimpleRuleEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API SimpleRuleEvaluation(Aws::Utils::Json::JsonView jsonValue)
SimpleRuleEvaluation & WithInputPropertyValue(InputPropertyValueT &&value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
SimpleRuleEvaluation & WithOperator(ComparisonOperator value)
void SetInputPropertyValue(InputPropertyValueT &&value)
AWS_IOTEVENTSDATA_API SimpleRuleEvaluation()=default
SimpleRuleEvaluation & WithThresholdValue(ThresholdValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue