7#include <aws/core/utils/memory/stl/AWSAllocator.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
20namespace TimestreamQuery {
46 template <
typename TimeT = Aws::String>
48 m_timeHasBeenSet =
true;
49 m_time = std::forward<TimeT>(value);
51 template <
typename TimeT = Aws::String>
53 SetTime(std::forward<TimeT>(value));
64 template <
typename ValueT = Datum>
66 m_valueHasBeenSet =
true;
69 template <
typename ValueT = Datum>
71 SetValue(std::forward<ValueT>(value));
78 std::shared_ptr<Datum> m_value;
79 bool m_timeHasBeenSet =
false;
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