7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/ComparisonOperator.h>
49 template<
typename InputPropertyT = Aws::String>
50 void SetInputProperty(InputPropertyT&& value) { m_inputPropertyHasBeenSet =
true; m_inputProperty = std::forward<InputPropertyT>(value); }
51 template<
typename InputPropertyT = Aws::String>
72 template<
typename ThresholdT = Aws::String>
73 void SetThreshold(ThresholdT&& value) { m_thresholdHasBeenSet =
true; m_threshold = std::forward<ThresholdT>(value); }
74 template<
typename ThresholdT = Aws::String>
80 bool m_inputPropertyHasBeenSet =
false;
83 bool m_comparisonOperatorHasBeenSet =
false;
86 bool m_thresholdHasBeenSet =
false;
void SetInputProperty(InputPropertyT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
ComparisonOperator GetComparisonOperator() const
AWS_IOTEVENTS_API SimpleRule()=default
void SetComparisonOperator(ComparisonOperator value)
SimpleRule & WithInputProperty(InputPropertyT &&value)
bool ThresholdHasBeenSet() const
bool ComparisonOperatorHasBeenSet() const
const Aws::String & GetInputProperty() const
AWS_IOTEVENTS_API SimpleRule(Aws::Utils::Json::JsonView jsonValue)
SimpleRule & WithThreshold(ThresholdT &&value)
AWS_IOTEVENTS_API SimpleRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InputPropertyHasBeenSet() const
SimpleRule & WithComparisonOperator(ComparisonOperator value)
void SetThreshold(ThresholdT &&value)
const Aws::String & GetThreshold() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue