/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Data needed to create a single row in a table as part of the
* BatchCreateTableRows request. See Also:
AWS
* API Reference
An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline const Aws::String& GetBatchItemId() const{ return m_batchItemId; } /** *An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline bool BatchItemIdHasBeenSet() const { return m_batchItemIdHasBeenSet; } /** *An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline void SetBatchItemId(const Aws::String& value) { m_batchItemIdHasBeenSet = true; m_batchItemId = value; } /** *An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline void SetBatchItemId(Aws::String&& value) { m_batchItemIdHasBeenSet = true; m_batchItemId = std::move(value); } /** *An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline void SetBatchItemId(const char* value) { m_batchItemIdHasBeenSet = true; m_batchItemId.assign(value); } /** *An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline CreateRowData& WithBatchItemId(const Aws::String& value) { SetBatchItemId(value); return *this;} /** *An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline CreateRowData& WithBatchItemId(Aws::String&& value) { SetBatchItemId(std::move(value)); return *this;} /** *An external identifier that represents the single row that is being created * as part of the BatchCreateTableRows request. This can be any string that you can * use to identify the row in the request. The BatchCreateTableRows API puts the * batch item id in the results to allow you to link data in the request to data in * the results.
*/ inline CreateRowData& WithBatchItemId(const char* value) { SetBatchItemId(value); return *this;} /** *A map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline const Aws::MapA map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline bool CellsToCreateHasBeenSet() const { return m_cellsToCreateHasBeenSet; } /** *A map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline void SetCellsToCreate(const Aws::MapA map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline void SetCellsToCreate(Aws::MapA map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& WithCellsToCreate(const Aws::MapA map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& WithCellsToCreate(Aws::MapA map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& AddCellsToCreate(const Aws::String& key, const CellInput& value) { m_cellsToCreateHasBeenSet = true; m_cellsToCreate.emplace(key, value); return *this; } /** *A map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& AddCellsToCreate(Aws::String&& key, const CellInput& value) { m_cellsToCreateHasBeenSet = true; m_cellsToCreate.emplace(std::move(key), value); return *this; } /** *A map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& AddCellsToCreate(const Aws::String& key, CellInput&& value) { m_cellsToCreateHasBeenSet = true; m_cellsToCreate.emplace(key, std::move(value)); return *this; } /** *A map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& AddCellsToCreate(Aws::String&& key, CellInput&& value) { m_cellsToCreateHasBeenSet = true; m_cellsToCreate.emplace(std::move(key), std::move(value)); return *this; } /** *A map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& AddCellsToCreate(const char* key, CellInput&& value) { m_cellsToCreateHasBeenSet = true; m_cellsToCreate.emplace(key, std::move(value)); return *this; } /** *A map representing the cells to create in the new row. The key is the column * id of the cell and the value is the CellInput object that represents the data to * set in that cell.
*/ inline CreateRowData& AddCellsToCreate(const char* key, const CellInput& value) { m_cellsToCreateHasBeenSet = true; m_cellsToCreate.emplace(key, value); return *this; } private: Aws::String m_batchItemId; bool m_batchItemIdHasBeenSet = false; Aws::Map