/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Honeycode { namespace Model { class BatchDeleteTableRowsResult { public: AWS_HONEYCODE_API BatchDeleteTableRowsResult(); AWS_HONEYCODE_API BatchDeleteTableRowsResult(const Aws::AmazonWebServiceResult& result); AWS_HONEYCODE_API BatchDeleteTableRowsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The updated workbook cursor after deleting the rows from the table.

*/ inline long long GetWorkbookCursor() const{ return m_workbookCursor; } /** *

The updated workbook cursor after deleting the rows from the table.

*/ inline void SetWorkbookCursor(long long value) { m_workbookCursor = value; } /** *

The updated workbook cursor after deleting the rows from the table.

*/ inline BatchDeleteTableRowsResult& WithWorkbookCursor(long long value) { SetWorkbookCursor(value); return *this;} /** *

The list of row ids in the request that could not be deleted from the table. * Each element in this list contains one row id from the request that could not be * deleted along with the reason why that item could not be deleted.

*/ inline const Aws::Vector& GetFailedBatchItems() const{ return m_failedBatchItems; } /** *

The list of row ids in the request that could not be deleted from the table. * Each element in this list contains one row id from the request that could not be * deleted along with the reason why that item could not be deleted.

*/ inline void SetFailedBatchItems(const Aws::Vector& value) { m_failedBatchItems = value; } /** *

The list of row ids in the request that could not be deleted from the table. * Each element in this list contains one row id from the request that could not be * deleted along with the reason why that item could not be deleted.

*/ inline void SetFailedBatchItems(Aws::Vector&& value) { m_failedBatchItems = std::move(value); } /** *

The list of row ids in the request that could not be deleted from the table. * Each element in this list contains one row id from the request that could not be * deleted along with the reason why that item could not be deleted.

*/ inline BatchDeleteTableRowsResult& WithFailedBatchItems(const Aws::Vector& value) { SetFailedBatchItems(value); return *this;} /** *

The list of row ids in the request that could not be deleted from the table. * Each element in this list contains one row id from the request that could not be * deleted along with the reason why that item could not be deleted.

*/ inline BatchDeleteTableRowsResult& WithFailedBatchItems(Aws::Vector&& value) { SetFailedBatchItems(std::move(value)); return *this;} /** *

The list of row ids in the request that could not be deleted from the table. * Each element in this list contains one row id from the request that could not be * deleted along with the reason why that item could not be deleted.

*/ inline BatchDeleteTableRowsResult& AddFailedBatchItems(const FailedBatchItem& value) { m_failedBatchItems.push_back(value); return *this; } /** *

The list of row ids in the request that could not be deleted from the table. * Each element in this list contains one row id from the request that could not be * deleted along with the reason why that item could not be deleted.

*/ inline BatchDeleteTableRowsResult& AddFailedBatchItems(FailedBatchItem&& value) { m_failedBatchItems.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchDeleteTableRowsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDeleteTableRowsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDeleteTableRowsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: long long m_workbookCursor; Aws::Vector m_failedBatchItems; Aws::String m_requestId; }; } // namespace Model } // namespace Honeycode } // namespace Aws