AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTableVersionsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Glue
15{
16namespace 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 "GetTableVersions"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
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 GetTableVersionsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
48 inline GetTableVersionsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
49 inline GetTableVersionsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
51
53
57 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
60 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
61 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
62 inline GetTableVersionsRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
63 inline GetTableVersionsRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
64 inline GetTableVersionsRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
66
68
72 inline const Aws::String& GetTableName() const{ return m_tableName; }
73 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
74 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
75 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
76 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
77 inline GetTableVersionsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
78 inline GetTableVersionsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
79 inline GetTableVersionsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
81
83
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline GetTableVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline GetTableVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline GetTableVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
100 inline int GetMaxResults() const{ return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
103 inline GetTableVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 private:
106
107 Aws::String m_catalogId;
108 bool m_catalogIdHasBeenSet = false;
109
110 Aws::String m_databaseName;
111 bool m_databaseNameHasBeenSet = false;
112
113 Aws::String m_tableName;
114 bool m_tableNameHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 int m_maxResults;
120 bool m_maxResultsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Glue
125} // namespace Aws
GetTableVersionsRequest & WithCatalogId(const Aws::String &value)
GetTableVersionsRequest & WithNextToken(const char *value)
GetTableVersionsRequest & WithDatabaseName(const char *value)
AWS_GLUE_API Aws::String SerializePayload() const override
GetTableVersionsRequest & WithNextToken(Aws::String &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTableVersionsRequest & WithDatabaseName(Aws::String &&value)
GetTableVersionsRequest & WithTableName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetTableVersionsRequest & WithMaxResults(int value)
GetTableVersionsRequest & WithDatabaseName(const Aws::String &value)
GetTableVersionsRequest & WithTableName(const char *value)
GetTableVersionsRequest & WithNextToken(const Aws::String &value)
GetTableVersionsRequest & WithTableName(Aws::String &&value)
GetTableVersionsRequest & WithCatalogId(const char *value)
GetTableVersionsRequest & WithCatalogId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String