/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace TimestreamQuery { namespace Model { class Datum; /** *

Represents a single row in the query results.

See Also:

AWS * API Reference

*/ class Row { public: AWS_TIMESTREAMQUERY_API Row(); AWS_TIMESTREAMQUERY_API Row(Aws::Utils::Json::JsonView jsonValue); AWS_TIMESTREAMQUERY_API Row& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

List of data points in a single row of the result set.

*/ inline const Aws::Vector& GetData() const{ return m_data; } /** *

List of data points in a single row of the result set.

*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *

List of data points in a single row of the result set.

*/ inline void SetData(const Aws::Vector& value) { m_dataHasBeenSet = true; m_data = value; } /** *

List of data points in a single row of the result set.

*/ inline void SetData(Aws::Vector&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *

List of data points in a single row of the result set.

*/ inline Row& WithData(const Aws::Vector& value) { SetData(value); return *this;} /** *

List of data points in a single row of the result set.

*/ inline Row& WithData(Aws::Vector&& value) { SetData(std::move(value)); return *this;} /** *

List of data points in a single row of the result set.

*/ inline Row& AddData(const Datum& value) { m_dataHasBeenSet = true; m_data.push_back(value); return *this; } /** *

List of data points in a single row of the result set.

*/ inline Row& AddData(Datum&& value) { m_dataHasBeenSet = true; m_data.push_back(std::move(value)); return *this; } private: Aws::Vector m_data; bool m_dataHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws