7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/iot/model/MetricValue.h>
47 template<
typename TimestampT = Aws::Utils::DateTime>
48 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
49 template<
typename TimestampT = Aws::Utils::DateTime>
59 template<
typename ValueT = MetricValue>
60 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
61 template<
typename ValueT = MetricValue>
67 bool m_timestampHasBeenSet =
false;
70 bool m_valueHasBeenSet =
false;
MetricDatum & WithValue(ValueT &&value)
void SetTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
AWS_IOT_API MetricDatum()=default
bool TimestampHasBeenSet() const
bool ValueHasBeenSet() const
AWS_IOT_API MetricDatum & operator=(Aws::Utils::Json::JsonView jsonValue)
const MetricValue & GetValue() const
MetricDatum & WithTimestamp(TimestampT &&value)
AWS_IOT_API MetricDatum(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(ValueT &&value)
Aws::Utils::Json::JsonValue JsonValue