/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include ResultSet contains the results of the request for a single block or list
* defined on the screen. See Also:
AWS
* API Reference
List of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline const Aws::VectorList of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline bool HeadersHasBeenSet() const { return m_headersHasBeenSet; } /** *List of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline void SetHeaders(const Aws::VectorList of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline void SetHeaders(Aws::VectorList of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline ResultSet& WithHeaders(const Aws::VectorList of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline ResultSet& WithHeaders(Aws::VectorList of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline ResultSet& AddHeaders(const ColumnMetadata& value) { m_headersHasBeenSet = true; m_headers.push_back(value); return *this; } /** *List of headers for all the data cells in the block. The header identifies * the name and default format of the data cell. Data cells appear in the same * order in all rows as defined in the header. The names and formats are not * repeated in the rows. If a particular row does not have a value for a data cell, * a blank value is used.
For example, a task list that displays the task * name, due date and assigned person might have headers [ { "name": "Task Name"}, * {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": * "CONTACT"} ]. Every row in the result will have the task name as the first item, * due date as the second item and assigned person as the third item. If a * particular task does not have a due date, that row will still have a blank value * in the second element and the assigned person will still be in the third * element.
*/ inline ResultSet& AddHeaders(ColumnMetadata&& value) { m_headersHasBeenSet = true; m_headers.push_back(std::move(value)); return *this; } /** *List of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline const Aws::VectorList of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline bool RowsHasBeenSet() const { return m_rowsHasBeenSet; } /** *List of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline void SetRows(const Aws::VectorList of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline void SetRows(Aws::VectorList of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline ResultSet& WithRows(const Aws::VectorList of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline ResultSet& WithRows(Aws::VectorList of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline ResultSet& AddRows(const ResultRow& value) { m_rowsHasBeenSet = true; m_rows.push_back(value); return *this; } /** *List of rows returned by the request. Each row has a row Id and a list of * data cells in that row. The data cells will be present in the same order as they * are defined in the header.
*/ inline ResultSet& AddRows(ResultRow&& value) { m_rowsHasBeenSet = true; m_rows.push_back(std::move(value)); return *this; } private: Aws::Vector