7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
41 template <
typename RoleArnT = Aws::String>
43 m_roleArnHasBeenSet =
true;
44 m_roleArn = std::forward<RoleArnT>(value);
46 template <
typename RoleArnT = Aws::String>
59 template <
typename MetricNamespaceT = Aws::String>
61 m_metricNamespaceHasBeenSet =
true;
62 m_metricNamespace = std::forward<MetricNamespaceT>(value);
64 template <
typename MetricNamespaceT = Aws::String>
77 template <
typename MetricNameT = Aws::String>
79 m_metricNameHasBeenSet =
true;
80 m_metricName = std::forward<MetricNameT>(value);
82 template <
typename MetricNameT = Aws::String>
95 template <
typename MetricValueT = Aws::String>
97 m_metricValueHasBeenSet =
true;
98 m_metricValue = std::forward<MetricValueT>(value);
100 template <
typename MetricValueT = Aws::String>
115 template <
typename MetricUnitT = Aws::String>
117 m_metricUnitHasBeenSet =
true;
118 m_metricUnit = std::forward<MetricUnitT>(value);
120 template <
typename MetricUnitT = Aws::String>
135 template <
typename MetricTimestampT = Aws::String>
137 m_metricTimestampHasBeenSet =
true;
138 m_metricTimestamp = std::forward<MetricTimestampT>(value);
140 template <
typename MetricTimestampT = Aws::String>
158 bool m_roleArnHasBeenSet =
false;
159 bool m_metricNamespaceHasBeenSet =
false;
160 bool m_metricNameHasBeenSet =
false;
161 bool m_metricValueHasBeenSet =
false;
162 bool m_metricUnitHasBeenSet =
false;
163 bool m_metricTimestampHasBeenSet =
false;
AWS_IOT_API CloudwatchMetricAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API CloudwatchMetricAction()=default
CloudwatchMetricAction & WithMetricValue(MetricValueT &&value)
bool MetricNamespaceHasBeenSet() const
void SetMetricName(MetricNameT &&value)
const Aws::String & GetMetricNamespace() const
bool MetricValueHasBeenSet() const
void SetMetricTimestamp(MetricTimestampT &&value)
CloudwatchMetricAction & WithMetricName(MetricNameT &&value)
AWS_IOT_API CloudwatchMetricAction(Aws::Utils::Json::JsonView jsonValue)
bool MetricUnitHasBeenSet() const
void SetMetricValue(MetricValueT &&value)
const Aws::String & GetMetricValue() const
const Aws::String & GetRoleArn() const
const Aws::String & GetMetricTimestamp() const
void SetMetricNamespace(MetricNamespaceT &&value)
CloudwatchMetricAction & WithRoleArn(RoleArnT &&value)
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
bool MetricNameHasBeenSet() const
bool MetricTimestampHasBeenSet() const
CloudwatchMetricAction & WithMetricUnit(MetricUnitT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CloudwatchMetricAction & WithMetricNamespace(MetricNamespaceT &&value)
const Aws::String & GetMetricUnit() const
CloudwatchMetricAction & WithMetricTimestamp(MetricTimestampT &&value)
void SetMetricUnit(MetricUnitT &&value)
const Aws::String & GetMetricName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue