/** * 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 IoTTwinMaker { namespace Model { /** *

Represents a single row in the query results.

See Also:

AWS * API Reference

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

The data in a row of query results.

*/ inline const Aws::Vector& GetRowData() const{ return m_rowData; } /** *

The data in a row of query results.

*/ inline bool RowDataHasBeenSet() const { return m_rowDataHasBeenSet; } /** *

The data in a row of query results.

*/ inline void SetRowData(const Aws::Vector& value) { m_rowDataHasBeenSet = true; m_rowData = value; } /** *

The data in a row of query results.

*/ inline void SetRowData(Aws::Vector&& value) { m_rowDataHasBeenSet = true; m_rowData = std::move(value); } /** *

The data in a row of query results.

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

The data in a row of query results.

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

The data in a row of query results.

*/ inline Row& AddRowData(const Aws::Utils::Document& value) { m_rowDataHasBeenSet = true; m_rowData.push_back(value); return *this; } /** *

The data in a row of query results.

*/ inline Row& AddRowData(Aws::Utils::Document&& value) { m_rowDataHasBeenSet = true; m_rowData.push_back(std::move(value)); return *this; } private: Aws::Vector m_rowData; bool m_rowDataHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws