AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTablesRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/TableAttributes.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Glue
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GLUE_API GetTablesRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetTables"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
46 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
47 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
48 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
49 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
50 inline GetTablesRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
51 inline GetTablesRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
52 inline GetTablesRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
54
56
60 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
61 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
62 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
63 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
64 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
65 inline GetTablesRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
66 inline GetTablesRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
67 inline GetTablesRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
69
71
75 inline const Aws::String& GetExpression() const{ return m_expression; }
76 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
77 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
78 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
79 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
80 inline GetTablesRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
81 inline GetTablesRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
82 inline GetTablesRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
84
86
89 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
92 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
93 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
94 inline GetTablesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
95 inline GetTablesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
96 inline GetTablesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
98
100
103 inline int GetMaxResults() const{ return m_maxResults; }
104 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
106 inline GetTablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
108
110
113 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
114 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
115 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
116 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
117 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
118 inline GetTablesRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
119 inline GetTablesRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
120 inline GetTablesRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
122
124
129 inline const Aws::Utils::DateTime& GetQueryAsOfTime() const{ return m_queryAsOfTime; }
130 inline bool QueryAsOfTimeHasBeenSet() const { return m_queryAsOfTimeHasBeenSet; }
131 inline void SetQueryAsOfTime(const Aws::Utils::DateTime& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = value; }
132 inline void SetQueryAsOfTime(Aws::Utils::DateTime&& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = std::move(value); }
133 inline GetTablesRequest& WithQueryAsOfTime(const Aws::Utils::DateTime& value) { SetQueryAsOfTime(value); return *this;}
134 inline GetTablesRequest& WithQueryAsOfTime(Aws::Utils::DateTime&& value) { SetQueryAsOfTime(std::move(value)); return *this;}
136
138
142 inline bool GetIncludeStatusDetails() const{ return m_includeStatusDetails; }
143 inline bool IncludeStatusDetailsHasBeenSet() const { return m_includeStatusDetailsHasBeenSet; }
144 inline void SetIncludeStatusDetails(bool value) { m_includeStatusDetailsHasBeenSet = true; m_includeStatusDetails = value; }
145 inline GetTablesRequest& WithIncludeStatusDetails(bool value) { SetIncludeStatusDetails(value); return *this;}
147
149
157 inline const Aws::Vector<TableAttributes>& GetAttributesToGet() const{ return m_attributesToGet; }
158 inline bool AttributesToGetHasBeenSet() const { return m_attributesToGetHasBeenSet; }
159 inline void SetAttributesToGet(const Aws::Vector<TableAttributes>& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = value; }
160 inline void SetAttributesToGet(Aws::Vector<TableAttributes>&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = std::move(value); }
162 inline GetTablesRequest& WithAttributesToGet(Aws::Vector<TableAttributes>&& value) { SetAttributesToGet(std::move(value)); return *this;}
163 inline GetTablesRequest& AddAttributesToGet(const TableAttributes& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
164 inline GetTablesRequest& AddAttributesToGet(TableAttributes&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(std::move(value)); return *this; }
166 private:
167
168 Aws::String m_catalogId;
169 bool m_catalogIdHasBeenSet = false;
170
171 Aws::String m_databaseName;
172 bool m_databaseNameHasBeenSet = false;
173
174 Aws::String m_expression;
175 bool m_expressionHasBeenSet = false;
176
177 Aws::String m_nextToken;
178 bool m_nextTokenHasBeenSet = false;
179
180 int m_maxResults;
181 bool m_maxResultsHasBeenSet = false;
182
183 Aws::String m_transactionId;
184 bool m_transactionIdHasBeenSet = false;
185
186 Aws::Utils::DateTime m_queryAsOfTime;
187 bool m_queryAsOfTimeHasBeenSet = false;
188
189 bool m_includeStatusDetails;
190 bool m_includeStatusDetailsHasBeenSet = false;
191
192 Aws::Vector<TableAttributes> m_attributesToGet;
193 bool m_attributesToGetHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace Glue
198} // namespace Aws
GetTablesRequest & WithQueryAsOfTime(const Aws::Utils::DateTime &value)
void SetDatabaseName(Aws::String &&value)
const Aws::String & GetCatalogId() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(const char *value)
void SetQueryAsOfTime(Aws::Utils::DateTime &&value)
GetTablesRequest & WithCatalogId(const char *value)
void SetExpression(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
GetTablesRequest & WithCatalogId(Aws::String &&value)
GetTablesRequest & WithDatabaseName(const char *value)
GetTablesRequest & WithIncludeStatusDetails(bool value)
GetTablesRequest & AddAttributesToGet(const TableAttributes &value)
void SetTransactionId(Aws::String &&value)
void SetNextToken(Aws::String &&value)
GetTablesRequest & WithTransactionId(const char *value)
const Aws::Utils::DateTime & GetQueryAsOfTime() const
GetTablesRequest & WithNextToken(const char *value)
void SetAttributesToGet(const Aws::Vector< TableAttributes > &value)
GetTablesRequest & WithDatabaseName(Aws::String &&value)
void SetTransactionId(const char *value)
void SetTransactionId(const Aws::String &value)
GetTablesRequest & WithAttributesToGet(const Aws::Vector< TableAttributes > &value)
GetTablesRequest & WithDatabaseName(const Aws::String &value)
GetTablesRequest & WithExpression(const char *value)
void SetExpression(const char *value)
void SetDatabaseName(const char *value)
GetTablesRequest & AddAttributesToGet(TableAttributes &&value)
GetTablesRequest & WithExpression(const Aws::String &value)
GetTablesRequest & WithTransactionId(const Aws::String &value)
GetTablesRequest & WithExpression(Aws::String &&value)
GetTablesRequest & WithAttributesToGet(Aws::Vector< TableAttributes > &&value)
virtual const char * GetServiceRequestName() const override
GetTablesRequest & WithMaxResults(int value)
GetTablesRequest & WithTransactionId(Aws::String &&value)
const Aws::Vector< TableAttributes > & GetAttributesToGet() const
const Aws::String & GetExpression() const
void SetNextToken(const Aws::String &value)
GetTablesRequest & WithQueryAsOfTime(Aws::Utils::DateTime &&value)
void SetQueryAsOfTime(const Aws::Utils::DateTime &value)
const Aws::String & GetNextToken() const
AWS_GLUE_API Aws::String SerializePayload() const override
GetTablesRequest & WithNextToken(const Aws::String &value)
void SetAttributesToGet(Aws::Vector< TableAttributes > &&value)
GetTablesRequest & WithCatalogId(const Aws::String &value)
GetTablesRequest & WithNextToken(Aws::String &&value)
void SetCatalogId(const char *value)
void SetCatalogId(Aws::String &&value)
const Aws::String & GetDatabaseName() const
const Aws::String & GetTransactionId() const
void SetCatalogId(const Aws::String &value)
void SetExpression(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector