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

Information about a row in a table excerpt.

See Also:

AWS API * Reference

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

A list of table cells in a row.

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

A list of table cells in a row.

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

A list of table cells in a row.

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

A list of table cells in a row.

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

A list of table cells in a row.

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

A list of table cells in a row.

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

A list of table cells in a row.

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

A list of table cells in a row.

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