7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename RoleArnT = Aws::String>
48 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
49 template<
typename RoleArnT = Aws::String>
59 template<
typename MetricNamespaceT = Aws::String>
60 void SetMetricNamespace(MetricNamespaceT&& value) { m_metricNamespaceHasBeenSet =
true; m_metricNamespace = std::forward<MetricNamespaceT>(value); }
61 template<
typename MetricNamespaceT = Aws::String>
71 template<
typename MetricNameT = Aws::String>
72 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
73 template<
typename MetricNameT = Aws::String>
83 template<
typename MetricValueT = Aws::String>
84 void SetMetricValue(MetricValueT&& value) { m_metricValueHasBeenSet =
true; m_metricValue = std::forward<MetricValueT>(value); }
85 template<
typename MetricValueT = Aws::String>
97 template<
typename MetricUnitT = Aws::String>
98 void SetMetricUnit(MetricUnitT&& value) { m_metricUnitHasBeenSet =
true; m_metricUnit = std::forward<MetricUnitT>(value); }
99 template<
typename MetricUnitT = Aws::String>
111 template<
typename MetricTimestampT = Aws::String>
112 void SetMetricTimestamp(MetricTimestampT&& value) { m_metricTimestampHasBeenSet =
true; m_metricTimestamp = std::forward<MetricTimestampT>(value); }
113 template<
typename MetricTimestampT = Aws::String>
119 bool m_roleArnHasBeenSet =
false;
122 bool m_metricNamespaceHasBeenSet =
false;
125 bool m_metricNameHasBeenSet =
false;
128 bool m_metricValueHasBeenSet =
false;
131 bool m_metricUnitHasBeenSet =
false;
134 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