7#include <aws/core/utils/DateTime.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/MetricValue.h>
41 template <
typename TimestampT = Aws::Utils::DateTime>
43 m_timestampHasBeenSet =
true;
44 m_timestamp = std::forward<TimestampT>(value);
46 template <
typename TimestampT = Aws::Utils::DateTime>
59 template <
typename ValueT = MetricValue>
61 m_valueHasBeenSet =
true;
62 m_value = std::forward<ValueT>(value);
64 template <
typename ValueT = MetricValue>
66 SetValue(std::forward<ValueT>(value));
74 bool m_timestampHasBeenSet =
false;
75 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