AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTableObjectsRequest.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/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LakeFormation
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LAKEFORMATION_API GetTableObjectsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetTableObjects"; }
32
33 AWS_LAKEFORMATION_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
42 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
43 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
44 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
45 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
46 inline GetTableObjectsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
47 inline GetTableObjectsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
48 inline GetTableObjectsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
50
52
55 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
56 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
57 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
58 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
59 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
60 inline GetTableObjectsRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
61 inline GetTableObjectsRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
62 inline GetTableObjectsRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
64
66
69 inline const Aws::String& GetTableName() const{ return m_tableName; }
70 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
71 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
72 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
73 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
74 inline GetTableObjectsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
75 inline GetTableObjectsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
76 inline GetTableObjectsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
78
80
86 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
87 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
88 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
89 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
90 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
91 inline GetTableObjectsRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
92 inline GetTableObjectsRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
93 inline GetTableObjectsRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
95
97
102 inline const Aws::Utils::DateTime& GetQueryAsOfTime() const{ return m_queryAsOfTime; }
103 inline bool QueryAsOfTimeHasBeenSet() const { return m_queryAsOfTimeHasBeenSet; }
104 inline void SetQueryAsOfTime(const Aws::Utils::DateTime& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = value; }
105 inline void SetQueryAsOfTime(Aws::Utils::DateTime&& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = std::move(value); }
107 inline GetTableObjectsRequest& WithQueryAsOfTime(Aws::Utils::DateTime&& value) { SetQueryAsOfTime(std::move(value)); return *this;}
109
111
119 inline const Aws::String& GetPartitionPredicate() const{ return m_partitionPredicate; }
120 inline bool PartitionPredicateHasBeenSet() const { return m_partitionPredicateHasBeenSet; }
121 inline void SetPartitionPredicate(const Aws::String& value) { m_partitionPredicateHasBeenSet = true; m_partitionPredicate = value; }
122 inline void SetPartitionPredicate(Aws::String&& value) { m_partitionPredicateHasBeenSet = true; m_partitionPredicate = std::move(value); }
123 inline void SetPartitionPredicate(const char* value) { m_partitionPredicateHasBeenSet = true; m_partitionPredicate.assign(value); }
125 inline GetTableObjectsRequest& WithPartitionPredicate(Aws::String&& value) { SetPartitionPredicate(std::move(value)); return *this;}
126 inline GetTableObjectsRequest& WithPartitionPredicate(const char* value) { SetPartitionPredicate(value); return *this;}
128
130
133 inline int GetMaxResults() const{ return m_maxResults; }
134 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
135 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
136 inline GetTableObjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
138
140
144 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
145 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
146 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
147 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
148 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
149 inline GetTableObjectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
150 inline GetTableObjectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
151 inline GetTableObjectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
153 private:
154
155 Aws::String m_catalogId;
156 bool m_catalogIdHasBeenSet = false;
157
158 Aws::String m_databaseName;
159 bool m_databaseNameHasBeenSet = false;
160
161 Aws::String m_tableName;
162 bool m_tableNameHasBeenSet = false;
163
164 Aws::String m_transactionId;
165 bool m_transactionIdHasBeenSet = false;
166
167 Aws::Utils::DateTime m_queryAsOfTime;
168 bool m_queryAsOfTimeHasBeenSet = false;
169
170 Aws::String m_partitionPredicate;
171 bool m_partitionPredicateHasBeenSet = false;
172
173 int m_maxResults;
174 bool m_maxResultsHasBeenSet = false;
175
176 Aws::String m_nextToken;
177 bool m_nextTokenHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace LakeFormation
182} // namespace Aws
GetTableObjectsRequest & WithDatabaseName(const Aws::String &value)
GetTableObjectsRequest & WithTableName(const char *value)
const Aws::Utils::DateTime & GetQueryAsOfTime() const
GetTableObjectsRequest & WithDatabaseName(const char *value)
GetTableObjectsRequest & WithNextToken(Aws::String &&value)
GetTableObjectsRequest & WithCatalogId(const char *value)
GetTableObjectsRequest & WithCatalogId(const Aws::String &value)
GetTableObjectsRequest & WithTransactionId(Aws::String &&value)
GetTableObjectsRequest & WithQueryAsOfTime(const Aws::Utils::DateTime &value)
GetTableObjectsRequest & WithQueryAsOfTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
GetTableObjectsRequest & WithTransactionId(const char *value)
GetTableObjectsRequest & WithTableName(Aws::String &&value)
GetTableObjectsRequest & WithCatalogId(Aws::String &&value)
GetTableObjectsRequest & WithPartitionPredicate(Aws::String &&value)
GetTableObjectsRequest & WithDatabaseName(Aws::String &&value)
GetTableObjectsRequest & WithNextToken(const char *value)
GetTableObjectsRequest & WithNextToken(const Aws::String &value)
GetTableObjectsRequest & WithTransactionId(const Aws::String &value)
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
GetTableObjectsRequest & WithPartitionPredicate(const Aws::String &value)
GetTableObjectsRequest & WithTableName(const Aws::String &value)
void SetQueryAsOfTime(const Aws::Utils::DateTime &value)
GetTableObjectsRequest & WithPartitionPredicate(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String