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>
24namespace TimestreamQuery
29 class TimeSeriesDataPoint;
40 AWS_TIMESTREAMQUERY_API
Datum();
55 inline void SetScalarValue(
const char* value) { m_scalarValueHasBeenSet =
true; m_scalarValue.assign(value); }
85 inline Datum&
AddArrayValue(
const Datum& value) { m_arrayValueHasBeenSet =
true; m_arrayValue.push_back(value);
return *
this; }
86 inline Datum&
AddArrayValue(
Datum&& value) { m_arrayValueHasBeenSet =
true; m_arrayValue.push_back(std::move(value));
return *
this; }
107 inline void SetNullValue(
bool value) { m_nullValueHasBeenSet =
true; m_nullValue = value; }
113 bool m_scalarValueHasBeenSet =
false;
116 bool m_timeSeriesValueHasBeenSet =
false;
119 bool m_arrayValueHasBeenSet =
false;
121 std::shared_ptr<Row> m_rowValue;
122 bool m_rowValueHasBeenSet =
false;
125 bool m_nullValueHasBeenSet =
false;
AWS_TIMESTREAMQUERY_API Datum & WithRowValue(const Row &value)
AWS_TIMESTREAMQUERY_API Datum & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API void SetRowValue(Row &&value)
const Aws::String & GetScalarValue() const
Datum & WithNullValue(bool value)
void SetScalarValue(const Aws::String &value)
void SetScalarValue(const char *value)
Datum & WithArrayValue(Aws::Vector< Datum > &&value)
void SetArrayValue(Aws::Vector< Datum > &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
Datum & WithTimeSeriesValue(Aws::Vector< TimeSeriesDataPoint > &&value)
bool NullValueHasBeenSet() const
AWS_TIMESTREAMQUERY_API const Row & GetRowValue() const
Datum & WithArrayValue(const Aws::Vector< Datum > &value)
Datum & WithTimeSeriesValue(const Aws::Vector< TimeSeriesDataPoint > &value)
Datum & AddArrayValue(Datum &&value)
bool TimeSeriesValueHasBeenSet() const
Datum & WithScalarValue(Aws::String &&value)
void SetScalarValue(Aws::String &&value)
void SetNullValue(bool value)
void SetTimeSeriesValue(const Aws::Vector< TimeSeriesDataPoint > &value)
AWS_TIMESTREAMQUERY_API Datum(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Datum > & GetArrayValue() const
Datum & AddArrayValue(const Datum &value)
bool ScalarValueHasBeenSet() const
Datum & WithScalarValue(const Aws::String &value)
Datum & AddTimeSeriesValue(const TimeSeriesDataPoint &value)
bool GetNullValue() const
bool ArrayValueHasBeenSet() const
void SetArrayValue(const Aws::Vector< Datum > &value)
AWS_TIMESTREAMQUERY_API bool RowValueHasBeenSet() const
Datum & WithScalarValue(const char *value)
AWS_TIMESTREAMQUERY_API Datum & WithRowValue(Row &&value)
AWS_TIMESTREAMQUERY_API void SetRowValue(const Row &value)
const Aws::Vector< TimeSeriesDataPoint > & GetTimeSeriesValue() const
Datum & AddTimeSeriesValue(TimeSeriesDataPoint &&value)
void SetTimeSeriesValue(Aws::Vector< TimeSeriesDataPoint > &&value)
AWS_TIMESTREAMQUERY_API Datum()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue