AWS SDK for C++  1.9.104
AWS SDK for C++
ListTableMetadataRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Athena
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListTableMetadata"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetCatalogName() const{ return m_catalogName; }
41 
45  inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
46 
50  inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; }
51 
55  inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); }
56 
60  inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); }
61 
65  inline ListTableMetadataRequest& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;}
66 
70  inline ListTableMetadataRequest& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;}
71 
75  inline ListTableMetadataRequest& WithCatalogName(const char* value) { SetCatalogName(value); return *this;}
76 
77 
81  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
82 
86  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
87 
91  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
92 
96  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
97 
101  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
102 
106  inline ListTableMetadataRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
107 
111  inline ListTableMetadataRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
112 
116  inline ListTableMetadataRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
117 
118 
123  inline const Aws::String& GetExpression() const{ return m_expression; }
124 
129  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
130 
135  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
136 
141  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
142 
147  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
148 
153  inline ListTableMetadataRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
154 
159  inline ListTableMetadataRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
160 
165  inline ListTableMetadataRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
166 
167 
173  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
174 
180  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
181 
187  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
188 
194  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
195 
201  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
202 
208  inline ListTableMetadataRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
209 
215  inline ListTableMetadataRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
216 
222  inline ListTableMetadataRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
223 
224 
228  inline int GetMaxResults() const{ return m_maxResults; }
229 
233  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
234 
238  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
239 
243  inline ListTableMetadataRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
244 
245  private:
246 
247  Aws::String m_catalogName;
248  bool m_catalogNameHasBeenSet;
249 
250  Aws::String m_databaseName;
251  bool m_databaseNameHasBeenSet;
252 
253  Aws::String m_expression;
254  bool m_expressionHasBeenSet;
255 
256  Aws::String m_nextToken;
257  bool m_nextTokenHasBeenSet;
258 
259  int m_maxResults;
260  bool m_maxResultsHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace Athena
265 } // namespace Aws
Aws::Athena::Model::ListTableMetadataRequest::SetExpression
void SetExpression(const Aws::String &value)
Definition: ListTableMetadataRequest.h:135
Aws::Athena::Model::ListTableMetadataRequest::WithDatabaseName
ListTableMetadataRequest & WithDatabaseName(Aws::String &&value)
Definition: ListTableMetadataRequest.h:111
Aws::Athena::Model::ListTableMetadataRequest::SetCatalogName
void SetCatalogName(Aws::String &&value)
Definition: ListTableMetadataRequest.h:55
Aws::Athena::Model::ListTableMetadataRequest::WithNextToken
ListTableMetadataRequest & WithNextToken(Aws::String &&value)
Definition: ListTableMetadataRequest.h:215
Aws::Athena::Model::ListTableMetadataRequest::SetCatalogName
void SetCatalogName(const Aws::String &value)
Definition: ListTableMetadataRequest.h:50
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Athena::Model::ListTableMetadataRequest::SetExpression
void SetExpression(Aws::String &&value)
Definition: ListTableMetadataRequest.h:141
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::ListTableMetadataRequest::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: ListTableMetadataRequest.h:101
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::ListTableMetadataRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTableMetadataRequest.h:30
Aws::Athena::Model::ListTableMetadataRequest::WithNextToken
ListTableMetadataRequest & WithNextToken(const char *value)
Definition: ListTableMetadataRequest.h:222
Aws::Athena::Model::ListTableMetadataRequest::ListTableMetadataRequest
ListTableMetadataRequest()
Aws::Athena::Model::ListTableMetadataRequest::WithMaxResults
ListTableMetadataRequest & WithMaxResults(int value)
Definition: ListTableMetadataRequest.h:243
Aws::Athena::Model::ListTableMetadataRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTableMetadataRequest.h:228
Aws::Athena::Model::ListTableMetadataRequest::GetExpression
const Aws::String & GetExpression() const
Definition: ListTableMetadataRequest.h:123
Aws::Athena::Model::ListTableMetadataRequest::WithExpression
ListTableMetadataRequest & WithExpression(const char *value)
Definition: ListTableMetadataRequest.h:165
Aws::Athena::Model::ListTableMetadataRequest::WithCatalogName
ListTableMetadataRequest & WithCatalogName(const char *value)
Definition: ListTableMetadataRequest.h:75
Aws::Athena::Model::ListTableMetadataRequest::WithExpression
ListTableMetadataRequest & WithExpression(const Aws::String &value)
Definition: ListTableMetadataRequest.h:153
Aws::Athena::Model::ListTableMetadataRequest::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: ListTableMetadataRequest.h:129
Aws::Athena::Model::ListTableMetadataRequest::WithDatabaseName
ListTableMetadataRequest & WithDatabaseName(const Aws::String &value)
Definition: ListTableMetadataRequest.h:106
Aws::Athena::Model::ListTableMetadataRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Athena::Model::ListTableMetadataRequest::WithCatalogName
ListTableMetadataRequest & WithCatalogName(const Aws::String &value)
Definition: ListTableMetadataRequest.h:65
Aws::Athena::Model::ListTableMetadataRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTableMetadataRequest.h:194
Aws::Athena::Model::ListTableMetadataRequest::WithDatabaseName
ListTableMetadataRequest & WithDatabaseName(const char *value)
Definition: ListTableMetadataRequest.h:116
AWSString.h
Aws::Athena::Model::ListTableMetadataRequest::WithExpression
ListTableMetadataRequest & WithExpression(Aws::String &&value)
Definition: ListTableMetadataRequest.h:159
Athena_EXPORTS.h
Aws::Athena::Model::ListTableMetadataRequest::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: ListTableMetadataRequest.h:81
Aws::Athena::Model::ListTableMetadataRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTableMetadataRequest.h:173
Aws::Athena::Model::ListTableMetadataRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTableMetadataRequest.h:201
Aws::Athena::Model::ListTableMetadataRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Athena::Model::ListTableMetadataRequest::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: ListTableMetadataRequest.h:96
Aws::Athena::Model::ListTableMetadataRequest::WithNextToken
ListTableMetadataRequest & WithNextToken(const Aws::String &value)
Definition: ListTableMetadataRequest.h:208
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::ListTableMetadataRequest::SetExpression
void SetExpression(const char *value)
Definition: ListTableMetadataRequest.h:147
Aws::Athena::Model::ListTableMetadataRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTableMetadataRequest.h:233
Aws::Athena::Model::ListTableMetadataRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTableMetadataRequest.h:238
Aws::Athena::Model::ListTableMetadataRequest::WithCatalogName
ListTableMetadataRequest & WithCatalogName(Aws::String &&value)
Definition: ListTableMetadataRequest.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::ListTableMetadataRequest::SetCatalogName
void SetCatalogName(const char *value)
Definition: ListTableMetadataRequest.h:60
Aws::Athena::Model::ListTableMetadataRequest
Definition: ListTableMetadataRequest.h:22
Aws::Athena::Model::ListTableMetadataRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTableMetadataRequest.h:180
Aws::Athena::Model::ListTableMetadataRequest::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: ListTableMetadataRequest.h:86
AthenaRequest.h
Aws::Athena::Model::ListTableMetadataRequest::CatalogNameHasBeenSet
bool CatalogNameHasBeenSet() const
Definition: ListTableMetadataRequest.h:45
Aws::Athena::Model::ListTableMetadataRequest::GetCatalogName
const Aws::String & GetCatalogName() const
Definition: ListTableMetadataRequest.h:40
Aws::Athena::Model::ListTableMetadataRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTableMetadataRequest.h:187
Aws::Athena::Model::ListTableMetadataRequest::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: ListTableMetadataRequest.h:91