AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInputPropertyValue(const Aws::String& value) { m_inputPropertyValueHasBeenSet = true; m_inputPropertyValue = value; }
50 inline void SetInputPropertyValue(Aws::String&& value) { m_inputPropertyValueHasBeenSet = true; m_inputPropertyValue = std::move(value); }
51 inline void SetInputPropertyValue(const char* value) { m_inputPropertyValueHasBeenSet = true; m_inputPropertyValue.assign(value); }
53 inline SimpleRuleEvaluation& WithInputPropertyValue(Aws::String&& value) { SetInputPropertyValue(std::move(value)); return *this;}
54 inline SimpleRuleEvaluation& WithInputPropertyValue(const char* value) { SetInputPropertyValue(value); return *this;}
56
58
61 inline const ComparisonOperator& GetOperator() const{ return m_operator; }
62 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
63 inline void SetOperator(const ComparisonOperator& value) { m_operatorHasBeenSet = true; m_operator = value; }
64 inline void SetOperator(ComparisonOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
65 inline SimpleRuleEvaluation& WithOperator(const ComparisonOperator& value) { SetOperator(value); return *this;}
66 inline SimpleRuleEvaluation& WithOperator(ComparisonOperator&& value) { SetOperator(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetThresholdValue() const{ return m_thresholdValue; }
74 inline bool ThresholdValueHasBeenSet() const { return m_thresholdValueHasBeenSet; }
75 inline void SetThresholdValue(const Aws::String& value) { m_thresholdValueHasBeenSet = true; m_thresholdValue = value; }
76 inline void SetThresholdValue(Aws::String&& value) { m_thresholdValueHasBeenSet = true; m_thresholdValue = std::move(value); }
77 inline void SetThresholdValue(const char* value) { m_thresholdValueHasBeenSet = true; m_thresholdValue.assign(value); }
78 inline SimpleRuleEvaluation& WithThresholdValue(const Aws::String& value) { SetThresholdValue(value); return *this;}
79 inline SimpleRuleEvaluation& WithThresholdValue(Aws::String&& value) { SetThresholdValue(std::move(value)); return *this;}
80 inline SimpleRuleEvaluation& WithThresholdValue(const char* value) { SetThresholdValue(value); return *this;}
82 private:
83
84 Aws::String m_inputPropertyValue;
85 bool m_inputPropertyValueHasBeenSet = false;
86
87 ComparisonOperator m_operator;
88 bool m_operatorHasBeenSet = false;
89
90 Aws::String m_thresholdValue;
91 bool m_thresholdValueHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTEventsData
96} // namespace Aws
SimpleRuleEvaluation & WithInputPropertyValue(const Aws::String &value)
AWS_IOTEVENTSDATA_API SimpleRuleEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API SimpleRuleEvaluation(Aws::Utils::Json::JsonView jsonValue)
SimpleRuleEvaluation & WithOperator(const ComparisonOperator &value)
const ComparisonOperator & GetOperator() const
SimpleRuleEvaluation & WithThresholdValue(Aws::String &&value)
SimpleRuleEvaluation & WithThresholdValue(const Aws::String &value)
SimpleRuleEvaluation & WithOperator(ComparisonOperator &&value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
SimpleRuleEvaluation & WithInputPropertyValue(const char *value)
void SetOperator(const ComparisonOperator &value)
SimpleRuleEvaluation & WithThresholdValue(const char *value)
SimpleRuleEvaluation & WithInputPropertyValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue