7#include <aws/core/utils/DateTime.h>
8#include <aws/pi/PI_EXPORTS.h>
42 template <
typename TimestampT = Aws::Utils::DateTime>
44 m_timestampHasBeenSet =
true;
45 m_timestamp = std::forward<TimestampT>(value);
47 template <
typename TimestampT = Aws::Utils::DateTime>
58 inline double GetValue()
const {
return m_value; }
61 m_valueHasBeenSet =
true;
73 bool m_timestampHasBeenSet =
false;
74 bool m_valueHasBeenSet =
false;
AWS_PI_API DataPoint()=default
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PI_API DataPoint(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(TimestampT &&value)
AWS_PI_API DataPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(double value)
bool ValueHasBeenSet() const
const Aws::Utils::DateTime & GetTimestamp() const
bool TimestampHasBeenSet() const
DataPoint & WithValue(double value)
DataPoint & WithTimestamp(TimestampT &&value)
Aws::Utils::Json::JsonValue JsonValue