7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
63 inline void SetMetricNamespace(
const char* value) { m_metricNamespaceHasBeenSet =
true; m_metricNamespace.assign(value); }
77 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
91 inline void SetMetricValue(
const char* value) { m_metricValueHasBeenSet =
true; m_metricValue.assign(value); }
107 inline void SetMetricUnit(
const char* value) { m_metricUnitHasBeenSet =
true; m_metricUnit.assign(value); }
123 inline void SetMetricTimestamp(
const char* value) { m_metricTimestampHasBeenSet =
true; m_metricTimestamp.assign(value); }
131 bool m_roleArnHasBeenSet =
false;
134 bool m_metricNamespaceHasBeenSet =
false;
137 bool m_metricNameHasBeenSet =
false;
140 bool m_metricValueHasBeenSet =
false;
143 bool m_metricUnitHasBeenSet =
false;
146 bool m_metricTimestampHasBeenSet =
false;
CloudwatchMetricAction & WithMetricTimestamp(const char *value)
AWS_IOT_API CloudwatchMetricAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudwatchMetricAction & WithMetricUnit(const Aws::String &value)
CloudwatchMetricAction & WithMetricName(const char *value)
bool MetricNamespaceHasBeenSet() const
const Aws::String & GetMetricNamespace() const
void SetMetricUnit(const char *value)
CloudwatchMetricAction & WithMetricName(Aws::String &&value)
bool MetricValueHasBeenSet() const
void SetMetricNamespace(const Aws::String &value)
CloudwatchMetricAction & WithMetricUnit(const char *value)
void SetMetricName(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
CloudwatchMetricAction & WithMetricName(const Aws::String &value)
void SetMetricValue(const Aws::String &value)
void SetMetricTimestamp(const char *value)
AWS_IOT_API CloudwatchMetricAction(Aws::Utils::Json::JsonView jsonValue)
CloudwatchMetricAction & WithMetricValue(const char *value)
bool MetricUnitHasBeenSet() const
const Aws::String & GetMetricValue() const
const Aws::String & GetRoleArn() const
void SetMetricTimestamp(Aws::String &&value)
CloudwatchMetricAction & WithRoleArn(const char *value)
const Aws::String & GetMetricTimestamp() const
CloudwatchMetricAction & WithMetricValue(const Aws::String &value)
CloudwatchMetricAction & WithMetricUnit(Aws::String &&value)
void SetMetricNamespace(const char *value)
void SetMetricValue(const char *value)
AWS_IOT_API CloudwatchMetricAction()
bool RoleArnHasBeenSet() const
CloudwatchMetricAction & WithRoleArn(const Aws::String &value)
void SetMetricName(const char *value)
bool MetricNameHasBeenSet() const
void SetMetricName(Aws::String &&value)
CloudwatchMetricAction & WithMetricNamespace(Aws::String &&value)
CloudwatchMetricAction & WithMetricNamespace(const char *value)
void SetMetricNamespace(Aws::String &&value)
void SetMetricUnit(Aws::String &&value)
bool MetricTimestampHasBeenSet() const
CloudwatchMetricAction & WithMetricTimestamp(Aws::String &&value)
void SetRoleArn(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CloudwatchMetricAction & WithRoleArn(Aws::String &&value)
const Aws::String & GetMetricUnit() const
CloudwatchMetricAction & WithMetricTimestamp(const Aws::String &value)
void SetMetricUnit(const Aws::String &value)
void SetMetricValue(Aws::String &&value)
CloudwatchMetricAction & WithMetricValue(Aws::String &&value)
void SetMetricTimestamp(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetMetricName() const
CloudwatchMetricAction & WithMetricNamespace(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue