7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/ComparisonOperator.h>
9#include <aws/iot/model/MetricValue.h>
10#include <aws/iot/model/StatisticalThreshold.h>
11#include <aws/iot/model/MachineLearningDetectionConfig.h>
89 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
143 bool m_comparisonOperatorHasBeenSet =
false;
146 bool m_valueHasBeenSet =
false;
148 int m_durationSeconds;
149 bool m_durationSecondsHasBeenSet =
false;
151 int m_consecutiveDatapointsToAlarm;
152 bool m_consecutiveDatapointsToAlarmHasBeenSet =
false;
154 int m_consecutiveDatapointsToClear;
155 bool m_consecutiveDatapointsToClearHasBeenSet =
false;
158 bool m_statisticalThresholdHasBeenSet =
false;
161 bool m_mlDetectionConfigHasBeenSet =
false;
void SetStatisticalThreshold(const StatisticalThreshold &value)
BehaviorCriteria & WithValue(MetricValue &&value)
BehaviorCriteria & WithValue(const MetricValue &value)
void SetDurationSeconds(int value)
bool DurationSecondsHasBeenSet() const
BehaviorCriteria & WithStatisticalThreshold(StatisticalThreshold &&value)
void SetComparisonOperator(const ComparisonOperator &value)
const MachineLearningDetectionConfig & GetMlDetectionConfig() const
void SetComparisonOperator(ComparisonOperator &&value)
bool ConsecutiveDatapointsToAlarmHasBeenSet() const
BehaviorCriteria & WithComparisonOperator(ComparisonOperator &&value)
void SetConsecutiveDatapointsToAlarm(int value)
bool ConsecutiveDatapointsToClearHasBeenSet() const
BehaviorCriteria & WithMlDetectionConfig(const MachineLearningDetectionConfig &value)
const ComparisonOperator & GetComparisonOperator() const
void SetMlDetectionConfig(const MachineLearningDetectionConfig &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(const MetricValue &value)
int GetDurationSeconds() const
BehaviorCriteria & WithStatisticalThreshold(const StatisticalThreshold &value)
const StatisticalThreshold & GetStatisticalThreshold() const
int GetConsecutiveDatapointsToAlarm() const
void SetValue(MetricValue &&value)
bool MlDetectionConfigHasBeenSet() const
int GetConsecutiveDatapointsToClear() const
BehaviorCriteria & WithDurationSeconds(int value)
AWS_IOT_API BehaviorCriteria()
BehaviorCriteria & WithConsecutiveDatapointsToClear(int value)
AWS_IOT_API BehaviorCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
bool ComparisonOperatorHasBeenSet() const
void SetStatisticalThreshold(StatisticalThreshold &&value)
void SetMlDetectionConfig(MachineLearningDetectionConfig &&value)
void SetConsecutiveDatapointsToClear(int value)
AWS_IOT_API BehaviorCriteria(Aws::Utils::Json::JsonView jsonValue)
BehaviorCriteria & WithConsecutiveDatapointsToAlarm(int value)
BehaviorCriteria & WithComparisonOperator(const ComparisonOperator &value)
BehaviorCriteria & WithMlDetectionConfig(MachineLearningDetectionConfig &&value)
const MetricValue & GetValue() const
bool StatisticalThresholdHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue