7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
58 inline double GetValue()
const{
return m_value; }
60 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
66 bool m_timestampHasBeenSet =
false;
69 bool m_valueHasBeenSet =
false;
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
DataPoint & WithTimestamp(const Aws::Utils::DateTime &value)
AWS_PI_API DataPoint(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_PI_API DataPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(double value)
void SetTimestamp(Aws::Utils::DateTime &&value)
DataPoint & WithTimestamp(Aws::Utils::DateTime &&value)
bool ValueHasBeenSet() const
const Aws::Utils::DateTime & GetTimestamp() const
bool TimestampHasBeenSet() const
DataPoint & WithValue(double value)
Aws::Utils::Json::JsonValue JsonValue