7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/MetricDimension.h>
50 inline void SetMetric(
const char* value) { m_metricHasBeenSet =
true; m_metric.assign(value); }
75 inline void SetExportMetric(
bool value) { m_exportMetricHasBeenSet =
true; m_exportMetric = value; }
81 bool m_metricHasBeenSet =
false;
84 bool m_metricDimensionHasBeenSet =
false;
87 bool m_exportMetricHasBeenSet =
false;
void SetMetric(Aws::String &&value)
const Aws::String & GetMetric() const
void SetMetric(const char *value)
const MetricDimension & GetMetricDimension() const
MetricToRetain & WithExportMetric(bool value)
bool MetricHasBeenSet() const
AWS_IOT_API MetricToRetain & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool MetricDimensionHasBeenSet() const
bool GetExportMetric() const
void SetMetric(const Aws::String &value)
bool ExportMetricHasBeenSet() const
MetricToRetain & WithMetric(Aws::String &&value)
MetricToRetain & WithMetricDimension(MetricDimension &&value)
void SetExportMetric(bool value)
MetricToRetain & WithMetric(const char *value)
MetricToRetain & WithMetricDimension(const MetricDimension &value)
MetricToRetain & WithMetric(const Aws::String &value)
void SetMetricDimension(const MetricDimension &value)
AWS_IOT_API MetricToRetain(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API MetricToRetain()
void SetMetricDimension(MetricDimension &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue