7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-query/model/TimeSeriesDataPoint.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSAllocator.h>
24namespace TimestreamQuery
29 class TimeSeriesDataPoint;
40 AWS_TIMESTREAMQUERY_API
Datum() =
default;
53 template<
typename ScalarValueT = Aws::String>
55 template<
typename ScalarValueT = Aws::String>
65 template<
typename TimeSeriesValueT = Aws::Vector<TimeSeriesDataPo
int>>
67 template<
typename TimeSeriesValueT = Aws::Vector<TimeSeriesDataPo
int>>
69 template<
typename TimeSeriesValueT = TimeSeriesDataPo
int>
79 template<
typename ArrayValueT = Aws::Vector<Datum>>
81 template<
typename ArrayValueT = Aws::Vector<Datum>>
83 template<
typename ArrayValueT = Datum>
95 template<
typename RowValueT = Row>
97 m_rowValueHasBeenSet =
true;
100 template<
typename RowValueT = Row>
110 inline void SetNullValue(
bool value) { m_nullValueHasBeenSet =
true; m_nullValue = value; }
116 bool m_scalarValueHasBeenSet =
false;
119 bool m_timeSeriesValueHasBeenSet =
false;
122 bool m_arrayValueHasBeenSet =
false;
124 std::shared_ptr<Row> m_rowValue;
125 bool m_rowValueHasBeenSet =
false;
127 bool m_nullValue{
false};
128 bool m_nullValueHasBeenSet =
false;
void SetRowValue(RowValueT &&value)
AWS_TIMESTREAMQUERY_API Datum & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetScalarValue() const
Datum & WithNullValue(bool value)
AWS_TIMESTREAMQUERY_API Datum()=default
void SetArrayValue(ArrayValueT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
bool NullValueHasBeenSet() const
Datum & AddArrayValue(ArrayValueT &&value)
Datum & WithScalarValue(ScalarValueT &&value)
bool TimeSeriesValueHasBeenSet() const
void SetNullValue(bool value)
void SetScalarValue(ScalarValueT &&value)
AWS_TIMESTREAMQUERY_API Datum(Aws::Utils::Json::JsonView jsonValue)
Datum & WithTimeSeriesValue(TimeSeriesValueT &&value)
void SetTimeSeriesValue(TimeSeriesValueT &&value)
const Aws::Vector< Datum > & GetArrayValue() const
Datum & AddTimeSeriesValue(TimeSeriesValueT &&value)
bool ScalarValueHasBeenSet() const
bool RowValueHasBeenSet() const
bool GetNullValue() const
bool ArrayValueHasBeenSet() const
Datum & WithArrayValue(ArrayValueT &&value)
Datum & WithRowValue(RowValueT &&value)
const Aws::Vector< TimeSeriesDataPoint > & GetTimeSeriesValue() const
const Row & GetRowValue() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue