/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Datum represents a single data point in a query result. See
* Also:
AWS
* API Reference
Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline const Aws::String& GetScalarValue() const{ return m_scalarValue; } /** *Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline bool ScalarValueHasBeenSet() const { return m_scalarValueHasBeenSet; } /** *Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline void SetScalarValue(const Aws::String& value) { m_scalarValueHasBeenSet = true; m_scalarValue = value; } /** *Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline void SetScalarValue(Aws::String&& value) { m_scalarValueHasBeenSet = true; m_scalarValue = std::move(value); } /** *Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline void SetScalarValue(const char* value) { m_scalarValueHasBeenSet = true; m_scalarValue.assign(value); } /** *Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline Datum& WithScalarValue(const Aws::String& value) { SetScalarValue(value); return *this;} /** *Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline Datum& WithScalarValue(Aws::String&& value) { SetScalarValue(std::move(value)); return *this;} /** *Indicates if the data point is a scalar value such as integer, string, * double, or Boolean.
*/ inline Datum& WithScalarValue(const char* value) { SetScalarValue(value); return *this;} /** *Indicates if the data point is a timeseries data type.
*/ inline const Aws::VectorIndicates if the data point is a timeseries data type.
*/ inline bool TimeSeriesValueHasBeenSet() const { return m_timeSeriesValueHasBeenSet; } /** *Indicates if the data point is a timeseries data type.
*/ inline void SetTimeSeriesValue(const Aws::VectorIndicates if the data point is a timeseries data type.
*/ inline void SetTimeSeriesValue(Aws::VectorIndicates if the data point is a timeseries data type.
*/ inline Datum& WithTimeSeriesValue(const Aws::VectorIndicates if the data point is a timeseries data type.
*/ inline Datum& WithTimeSeriesValue(Aws::VectorIndicates if the data point is a timeseries data type.
*/ inline Datum& AddTimeSeriesValue(const TimeSeriesDataPoint& value) { m_timeSeriesValueHasBeenSet = true; m_timeSeriesValue.push_back(value); return *this; } /** *Indicates if the data point is a timeseries data type.
*/ inline Datum& AddTimeSeriesValue(TimeSeriesDataPoint&& value) { m_timeSeriesValueHasBeenSet = true; m_timeSeriesValue.push_back(std::move(value)); return *this; } /** *Indicates if the data point is an array.
*/ inline const Aws::VectorIndicates if the data point is an array.
*/ inline bool ArrayValueHasBeenSet() const { return m_arrayValueHasBeenSet; } /** *Indicates if the data point is an array.
*/ inline void SetArrayValue(const Aws::VectorIndicates if the data point is an array.
*/ inline void SetArrayValue(Aws::VectorIndicates if the data point is an array.
*/ inline Datum& WithArrayValue(const Aws::VectorIndicates if the data point is an array.
*/ inline Datum& WithArrayValue(Aws::VectorIndicates if the data point is an array.
*/ inline Datum& AddArrayValue(const Datum& value) { m_arrayValueHasBeenSet = true; m_arrayValue.push_back(value); return *this; } /** *Indicates if the data point is an array.
*/ inline Datum& AddArrayValue(Datum&& value) { m_arrayValueHasBeenSet = true; m_arrayValue.push_back(std::move(value)); return *this; } /** *Indicates if the data point is a row.
*/ AWS_TIMESTREAMQUERY_API const Row& GetRowValue() const; /** *Indicates if the data point is a row.
*/ AWS_TIMESTREAMQUERY_API bool RowValueHasBeenSet() const; /** *Indicates if the data point is a row.
*/ AWS_TIMESTREAMQUERY_API void SetRowValue(const Row& value); /** *Indicates if the data point is a row.
*/ AWS_TIMESTREAMQUERY_API void SetRowValue(Row&& value); /** *Indicates if the data point is a row.
*/ AWS_TIMESTREAMQUERY_API Datum& WithRowValue(const Row& value); /** *Indicates if the data point is a row.
*/ AWS_TIMESTREAMQUERY_API Datum& WithRowValue(Row&& value); /** *Indicates if the data point is null.
*/ inline bool GetNullValue() const{ return m_nullValue; } /** *Indicates if the data point is null.
*/ inline bool NullValueHasBeenSet() const { return m_nullValueHasBeenSet; } /** *Indicates if the data point is null.
*/ inline void SetNullValue(bool value) { m_nullValueHasBeenSet = true; m_nullValue = value; } /** *Indicates if the data point is null.
*/ inline Datum& WithNullValue(bool value) { SetNullValue(value); return *this;} private: Aws::String m_scalarValue; bool m_scalarValueHasBeenSet = false; Aws::Vector