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

An object that contains attributes about a single row in a * table

See Also:

AWS * API Reference

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

The id of the row in the table.

*/ inline const Aws::String& GetRowId() const{ return m_rowId; } /** *

The id of the row in the table.

*/ inline bool RowIdHasBeenSet() const { return m_rowIdHasBeenSet; } /** *

The id of the row in the table.

*/ inline void SetRowId(const Aws::String& value) { m_rowIdHasBeenSet = true; m_rowId = value; } /** *

The id of the row in the table.

*/ inline void SetRowId(Aws::String&& value) { m_rowIdHasBeenSet = true; m_rowId = std::move(value); } /** *

The id of the row in the table.

*/ inline void SetRowId(const char* value) { m_rowIdHasBeenSet = true; m_rowId.assign(value); } /** *

The id of the row in the table.

*/ inline TableRow& WithRowId(const Aws::String& value) { SetRowId(value); return *this;} /** *

The id of the row in the table.

*/ inline TableRow& WithRowId(Aws::String&& value) { SetRowId(std::move(value)); return *this;} /** *

The id of the row in the table.

*/ inline TableRow& WithRowId(const char* value) { SetRowId(value); return *this;} /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline const Aws::Vector& GetCells() const{ return m_cells; } /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; } /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline void SetCells(const Aws::Vector& value) { m_cellsHasBeenSet = true; m_cells = value; } /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline void SetCells(Aws::Vector&& value) { m_cellsHasBeenSet = true; m_cells = std::move(value); } /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline TableRow& WithCells(const Aws::Vector& value) { SetCells(value); return *this;} /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline TableRow& WithCells(Aws::Vector&& value) { SetCells(std::move(value)); return *this;} /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline TableRow& AddCells(const Cell& value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; } /** *

A list of cells in the table row. The cells appear in the same order as the * columns of the table.

*/ inline TableRow& AddCells(Cell&& value) { m_cellsHasBeenSet = true; m_cells.push_back(std::move(value)); return *this; } private: Aws::String m_rowId; bool m_rowIdHasBeenSet = false; Aws::Vector m_cells; bool m_cellsHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws