/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An excerpt from a table within a document. The table excerpt displays up to
* five columns and three rows, depending on how many table cells are relevant to
* the query and how many columns are available in the original table. The top most
* relevant cell is displayed in the table excerpt, along with the next most
* relevant cells.See Also:
AWS
* API Reference
A list of rows in the table excerpt.
*/ inline const Aws::VectorA list of rows in the table excerpt.
*/ inline bool RowsHasBeenSet() const { return m_rowsHasBeenSet; } /** *A list of rows in the table excerpt.
*/ inline void SetRows(const Aws::VectorA list of rows in the table excerpt.
*/ inline void SetRows(Aws::VectorA list of rows in the table excerpt.
*/ inline TableExcerpt& WithRows(const Aws::VectorA list of rows in the table excerpt.
*/ inline TableExcerpt& WithRows(Aws::VectorA list of rows in the table excerpt.
*/ inline TableExcerpt& AddRows(const TableRow& value) { m_rowsHasBeenSet = true; m_rows.push_back(value); return *this; } /** *A list of rows in the table excerpt.
*/ inline TableExcerpt& AddRows(TableRow&& value) { m_rowsHasBeenSet = true; m_rows.push_back(std::move(value)); return *this; } /** *A count of the number of rows in the original table within the document.
*/ inline int GetTotalNumberOfRows() const{ return m_totalNumberOfRows; } /** *A count of the number of rows in the original table within the document.
*/ inline bool TotalNumberOfRowsHasBeenSet() const { return m_totalNumberOfRowsHasBeenSet; } /** *A count of the number of rows in the original table within the document.
*/ inline void SetTotalNumberOfRows(int value) { m_totalNumberOfRowsHasBeenSet = true; m_totalNumberOfRows = value; } /** *A count of the number of rows in the original table within the document.
*/ inline TableExcerpt& WithTotalNumberOfRows(int value) { SetTotalNumberOfRows(value); return *this;} private: Aws::Vector