7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/MetricDimension.h>
10#include <aws/iot/model/BehaviorCriteria.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetMetric(
const char* value) { m_metricHasBeenSet =
true; m_metric.assign(value); }
106 inline void SetSuppressAlerts(
bool value) { m_suppressAlertsHasBeenSet =
true; m_suppressAlerts = value; }
117 inline void SetExportMetric(
bool value) { m_exportMetricHasBeenSet =
true; m_exportMetric = value; }
123 bool m_nameHasBeenSet =
false;
126 bool m_metricHasBeenSet =
false;
129 bool m_metricDimensionHasBeenSet =
false;
132 bool m_criteriaHasBeenSet =
false;
134 bool m_suppressAlerts;
135 bool m_suppressAlertsHasBeenSet =
false;
138 bool m_exportMetricHasBeenSet =
false;
Behavior & WithName(Aws::String &&value)
void SetMetric(Aws::String &&value)
void SetMetricDimension(const MetricDimension &value)
bool CriteriaHasBeenSet() const
AWS_IOT_API Behavior & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCriteria(BehaviorCriteria &&value)
bool NameHasBeenSet() const
const BehaviorCriteria & GetCriteria() const
void SetCriteria(const BehaviorCriteria &value)
const MetricDimension & GetMetricDimension() const
const Aws::String & GetName() const
Behavior & WithExportMetric(bool value)
void SetMetric(const char *value)
bool MetricHasBeenSet() const
Behavior & WithCriteria(BehaviorCriteria &&value)
AWS_IOT_API Behavior(Aws::Utils::Json::JsonView jsonValue)
Behavior & WithMetricDimension(MetricDimension &&value)
bool MetricDimensionHasBeenSet() const
void SetMetric(const Aws::String &value)
Behavior & WithCriteria(const BehaviorCriteria &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
Behavior & WithMetric(const Aws::String &value)
bool GetSuppressAlerts() const
bool SuppressAlertsHasBeenSet() const
void SetMetricDimension(MetricDimension &&value)
Behavior & WithSuppressAlerts(bool value)
bool GetExportMetric() const
Behavior & WithMetric(const char *value)
void SetName(Aws::String &&value)
Behavior & WithName(const Aws::String &value)
Behavior & WithName(const char *value)
bool ExportMetricHasBeenSet() const
void SetExportMetric(bool value)
void SetSuppressAlerts(bool value)
void SetName(const char *value)
const Aws::String & GetMetric() const
Behavior & WithMetricDimension(const MetricDimension &value)
Behavior & WithMetric(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue