AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTableObjectsRequest.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/LakeFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lakeformation/model/WriteOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LakeFormation
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LAKEFORMATION_API UpdateTableObjectsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateTableObjects"; }
33
34 AWS_LAKEFORMATION_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
45 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
46 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
47 inline UpdateTableObjectsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
48 inline UpdateTableObjectsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
49 inline UpdateTableObjectsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
51
53
56 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
59 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
60 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
61 inline UpdateTableObjectsRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline UpdateTableObjectsRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline UpdateTableObjectsRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
65
67
70 inline const Aws::String& GetTableName() const{ return m_tableName; }
71 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
72 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
73 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
74 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
75 inline UpdateTableObjectsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
76 inline UpdateTableObjectsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
77 inline UpdateTableObjectsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
79
81
84 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
85 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
86 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
87 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
88 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
89 inline UpdateTableObjectsRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
90 inline UpdateTableObjectsRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
91 inline UpdateTableObjectsRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
93
95
99 inline const Aws::Vector<WriteOperation>& GetWriteOperations() const{ return m_writeOperations; }
100 inline bool WriteOperationsHasBeenSet() const { return m_writeOperationsHasBeenSet; }
101 inline void SetWriteOperations(const Aws::Vector<WriteOperation>& value) { m_writeOperationsHasBeenSet = true; m_writeOperations = value; }
102 inline void SetWriteOperations(Aws::Vector<WriteOperation>&& value) { m_writeOperationsHasBeenSet = true; m_writeOperations = std::move(value); }
105 inline UpdateTableObjectsRequest& AddWriteOperations(const WriteOperation& value) { m_writeOperationsHasBeenSet = true; m_writeOperations.push_back(value); return *this; }
106 inline UpdateTableObjectsRequest& AddWriteOperations(WriteOperation&& value) { m_writeOperationsHasBeenSet = true; m_writeOperations.push_back(std::move(value)); return *this; }
108 private:
109
110 Aws::String m_catalogId;
111 bool m_catalogIdHasBeenSet = false;
112
113 Aws::String m_databaseName;
114 bool m_databaseNameHasBeenSet = false;
115
116 Aws::String m_tableName;
117 bool m_tableNameHasBeenSet = false;
118
119 Aws::String m_transactionId;
120 bool m_transactionIdHasBeenSet = false;
121
122 Aws::Vector<WriteOperation> m_writeOperations;
123 bool m_writeOperationsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace LakeFormation
128} // namespace Aws
void SetWriteOperations(Aws::Vector< WriteOperation > &&value)
UpdateTableObjectsRequest & WithTableName(const Aws::String &value)
UpdateTableObjectsRequest & WithWriteOperations(const Aws::Vector< WriteOperation > &value)
UpdateTableObjectsRequest & WithDatabaseName(const Aws::String &value)
UpdateTableObjectsRequest & WithTransactionId(Aws::String &&value)
UpdateTableObjectsRequest & WithTableName(Aws::String &&value)
UpdateTableObjectsRequest & WithDatabaseName(const char *value)
UpdateTableObjectsRequest & WithCatalogId(Aws::String &&value)
UpdateTableObjectsRequest & WithTableName(const char *value)
UpdateTableObjectsRequest & WithCatalogId(const Aws::String &value)
void SetWriteOperations(const Aws::Vector< WriteOperation > &value)
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
UpdateTableObjectsRequest & AddWriteOperations(WriteOperation &&value)
UpdateTableObjectsRequest & WithTransactionId(const char *value)
const Aws::Vector< WriteOperation > & GetWriteOperations() const
UpdateTableObjectsRequest & WithWriteOperations(Aws::Vector< WriteOperation > &&value)
UpdateTableObjectsRequest & WithTransactionId(const Aws::String &value)
UpdateTableObjectsRequest & WithDatabaseName(Aws::String &&value)
UpdateTableObjectsRequest & WithCatalogId(const char *value)
UpdateTableObjectsRequest & AddWriteOperations(const WriteOperation &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector