7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSAllocator.h>
22namespace TimestreamQuery
52 template<
typename TimeT = Aws::String>
53 void SetTime(
TimeT&& value) { m_timeHasBeenSet =
true; m_time = std::forward<TimeT>(value); }
54 template<
typename TimeT = Aws::String>
66 template<
typename ValueT = Datum>
68 m_valueHasBeenSet =
true;
71 template<
typename ValueT = Datum>
77 bool m_timeHasBeenSet =
false;
79 std::shared_ptr<Datum> m_value;
80 bool m_valueHasBeenSet =
false;
AWS_TIMESTREAMQUERY_API TimeSeriesDataPoint()=default
TimeSeriesDataPoint & WithValue(ValueT &&value)
bool TimeHasBeenSet() const
bool ValueHasBeenSet() const
const Aws::String & GetTime() const
AWS_TIMESTREAMQUERY_API TimeSeriesDataPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API TimeSeriesDataPoint(Aws::Utils::Json::JsonView jsonValue)
const Datum & GetValue() const
TimeSeriesDataPoint & WithTime(TimeT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(ValueT &&value)
void SetTime(TimeT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue