/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A PartiQL batch statement response.. See Also:
AWS
* API Reference
The error associated with a failed PartiQL batch statement.
*/ inline const BatchStatementError& GetError() const{ return m_error; } /** *The error associated with a failed PartiQL batch statement.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *The error associated with a failed PartiQL batch statement.
*/ inline void SetError(const BatchStatementError& value) { m_errorHasBeenSet = true; m_error = value; } /** *The error associated with a failed PartiQL batch statement.
*/ inline void SetError(BatchStatementError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *The error associated with a failed PartiQL batch statement.
*/ inline BatchStatementResponse& WithError(const BatchStatementError& value) { SetError(value); return *this;} /** *The error associated with a failed PartiQL batch statement.
*/ inline BatchStatementResponse& WithError(BatchStatementError&& value) { SetError(std::move(value)); return *this;} /** *The table name associated with a failed PartiQL batch statement.
*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *The table name associated with a failed PartiQL batch statement.
*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *The table name associated with a failed PartiQL batch statement.
*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *The table name associated with a failed PartiQL batch statement.
*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *The table name associated with a failed PartiQL batch statement.
*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *The table name associated with a failed PartiQL batch statement.
*/ inline BatchStatementResponse& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *The table name associated with a failed PartiQL batch statement.
*/ inline BatchStatementResponse& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *The table name associated with a failed PartiQL batch statement.
*/ inline BatchStatementResponse& WithTableName(const char* value) { SetTableName(value); return *this;} /** *A DynamoDB item associated with a BatchStatementResponse
*/ inline const Aws::MapA DynamoDB item associated with a BatchStatementResponse
*/ inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; } /** *A DynamoDB item associated with a BatchStatementResponse
*/ inline void SetItem(const Aws::MapA DynamoDB item associated with a BatchStatementResponse
*/ inline void SetItem(Aws::MapA DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& WithItem(const Aws::MapA DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& WithItem(Aws::MapA DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& AddItem(const Aws::String& key, const AttributeValue& value) { m_itemHasBeenSet = true; m_item.emplace(key, value); return *this; } /** *A DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& AddItem(Aws::String&& key, const AttributeValue& value) { m_itemHasBeenSet = true; m_item.emplace(std::move(key), value); return *this; } /** *A DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& AddItem(const Aws::String& key, AttributeValue&& value) { m_itemHasBeenSet = true; m_item.emplace(key, std::move(value)); return *this; } /** *A DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& AddItem(Aws::String&& key, AttributeValue&& value) { m_itemHasBeenSet = true; m_item.emplace(std::move(key), std::move(value)); return *this; } /** *A DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& AddItem(const char* key, AttributeValue&& value) { m_itemHasBeenSet = true; m_item.emplace(key, std::move(value)); return *this; } /** *A DynamoDB item associated with a BatchStatementResponse
*/ inline BatchStatementResponse& AddItem(const char* key, const AttributeValue& value) { m_itemHasBeenSet = true; m_item.emplace(key, value); return *this; } private: BatchStatementError m_error; bool m_errorHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::Map