/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace LakeFormation { namespace Model { /** */ class UpdateTableObjectsRequest : public LakeFormationRequest { public: AWS_LAKEFORMATION_API UpdateTableObjectsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateTableObjects"; } AWS_LAKEFORMATION_API Aws::String SerializePayload() const override; /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline const Aws::String& GetCatalogId() const{ return m_catalogId; } /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; } /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; } /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); } /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); } /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline UpdateTableObjectsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;} /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline UpdateTableObjectsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;} /** *

The catalog containing the governed table to update. Defaults to the caller’s * account ID.

*/ inline UpdateTableObjectsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;} /** *

The database containing the governed table to update.

*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *

The database containing the governed table to update.

*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *

The database containing the governed table to update.

*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *

The database containing the governed table to update.

*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *

The database containing the governed table to update.

*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *

The database containing the governed table to update.

*/ inline UpdateTableObjectsRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *

The database containing the governed table to update.

*/ inline UpdateTableObjectsRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *

The database containing the governed table to update.

*/ inline UpdateTableObjectsRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *

The governed table to update.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The governed table to update.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

The governed table to update.

*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

The governed table to update.

*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

The governed table to update.

*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

The governed table to update.

*/ inline UpdateTableObjectsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The governed table to update.

*/ inline UpdateTableObjectsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The governed table to update.

*/ inline UpdateTableObjectsRequest& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

The transaction at which to do the write.

*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *

The transaction at which to do the write.

*/ inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } /** *

The transaction at which to do the write.

*/ inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } /** *

The transaction at which to do the write.

*/ inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } /** *

The transaction at which to do the write.

*/ inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } /** *

The transaction at which to do the write.

*/ inline UpdateTableObjectsRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *

The transaction at which to do the write.

*/ inline UpdateTableObjectsRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *

The transaction at which to do the write.

*/ inline UpdateTableObjectsRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline const Aws::Vector& GetWriteOperations() const{ return m_writeOperations; } /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline bool WriteOperationsHasBeenSet() const { return m_writeOperationsHasBeenSet; } /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline void SetWriteOperations(const Aws::Vector& value) { m_writeOperationsHasBeenSet = true; m_writeOperations = value; } /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline void SetWriteOperations(Aws::Vector&& value) { m_writeOperationsHasBeenSet = true; m_writeOperations = std::move(value); } /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline UpdateTableObjectsRequest& WithWriteOperations(const Aws::Vector& value) { SetWriteOperations(value); return *this;} /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline UpdateTableObjectsRequest& WithWriteOperations(Aws::Vector&& value) { SetWriteOperations(std::move(value)); return *this;} /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline UpdateTableObjectsRequest& AddWriteOperations(const WriteOperation& value) { m_writeOperationsHasBeenSet = true; m_writeOperations.push_back(value); return *this; } /** *

A list of WriteOperation objects that define an object to add to * or delete from the manifest for a governed table.

*/ inline UpdateTableObjectsRequest& AddWriteOperations(WriteOperation&& value) { m_writeOperationsHasBeenSet = true; m_writeOperations.push_back(std::move(value)); return *this; } private: Aws::String m_catalogId; bool m_catalogIdHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::String m_transactionId; bool m_transactionIdHasBeenSet = false; Aws::Vector m_writeOperations; bool m_writeOperationsHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws