7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotevents/IoTEvents_EXPORTS.h>
9#include <aws/iotevents/model/ComparisonOperator.h>
43 template <
typename InputPropertyT = Aws::String>
45 m_inputPropertyHasBeenSet =
true;
46 m_inputProperty = std::forward<InputPropertyT>(value);
48 template <
typename InputPropertyT = Aws::String>
62 m_comparisonOperatorHasBeenSet =
true;
63 m_comparisonOperator = value;
78 template <
typename ThresholdT = Aws::String>
80 m_thresholdHasBeenSet =
true;
81 m_threshold = std::forward<ThresholdT>(value);
83 template <
typename ThresholdT = Aws::String>
95 bool m_inputPropertyHasBeenSet =
false;
96 bool m_comparisonOperatorHasBeenSet =
false;
97 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