7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecastquery/ForecastQueryService_EXPORTS.h>
19namespace ForecastQueryService {
41 template <
typename TimestampT = Aws::String>
43 m_timestampHasBeenSet =
true;
44 m_timestamp = std::forward<TimestampT>(value);
46 template <
typename TimestampT = Aws::String>
57 inline double GetValue()
const {
return m_value; }
60 m_valueHasBeenSet =
true;
72 bool m_timestampHasBeenSet =
false;
73 bool m_valueHasBeenSet =
false;
AWS_FORECASTQUERYSERVICE_API DataPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(double value)
bool ValueHasBeenSet() const
DataPoint & WithTimestamp(TimestampT &&value)
const Aws::String & GetTimestamp() const
AWS_FORECASTQUERYSERVICE_API DataPoint(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(TimestampT &&value)
DataPoint & WithValue(double value)
bool TimestampHasBeenSet() const
AWS_FORECASTQUERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTQUERYSERVICE_API DataPoint()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue