AWS SDK for C++

AWS SDK for C++ Version 1.11.809

Loading...
Searching...
No Matches
GetTableVersionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/AuditContext.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetTableVersionsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetTableVersions"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
40 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
41 template <typename CatalogIdT = Aws::String>
42 void SetCatalogId(CatalogIdT&& value) {
43 m_catalogIdHasBeenSet = true;
44 m_catalogId = std::forward<CatalogIdT>(value);
45 }
46 template <typename CatalogIdT = Aws::String>
48 SetCatalogId(std::forward<CatalogIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
59 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
60 template <typename DatabaseNameT = Aws::String>
61 void SetDatabaseName(DatabaseNameT&& value) {
62 m_databaseNameHasBeenSet = true;
63 m_databaseName = std::forward<DatabaseNameT>(value);
64 }
65 template <typename DatabaseNameT = Aws::String>
66 GetTableVersionsRequest& WithDatabaseName(DatabaseNameT&& value) {
67 SetDatabaseName(std::forward<DatabaseNameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetTableName() const { return m_tableName; }
78 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
79 template <typename TableNameT = Aws::String>
80 void SetTableName(TableNameT&& value) {
81 m_tableNameHasBeenSet = true;
82 m_tableName = std::forward<TableNameT>(value);
83 }
84 template <typename TableNameT = Aws::String>
86 SetTableName(std::forward<TableNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetNextToken() const { return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 template <typename NextTokenT = Aws::String>
98 void SetNextToken(NextTokenT&& value) {
99 m_nextTokenHasBeenSet = true;
100 m_nextToken = std::forward<NextTokenT>(value);
101 }
102 template <typename NextTokenT = Aws::String>
104 SetNextToken(std::forward<NextTokenT>(value));
105 return *this;
106 }
108
110
113 inline int GetMaxResults() const { return m_maxResults; }
114 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
115 inline void SetMaxResults(int value) {
116 m_maxResultsHasBeenSet = true;
117 m_maxResults = value;
118 }
120 SetMaxResults(value);
121 return *this;
122 }
124
126
127 inline const AuditContext& GetAuditContext() const { return m_auditContext; }
128 inline bool AuditContextHasBeenSet() const { return m_auditContextHasBeenSet; }
129 template <typename AuditContextT = AuditContext>
130 void SetAuditContext(AuditContextT&& value) {
131 m_auditContextHasBeenSet = true;
132 m_auditContext = std::forward<AuditContextT>(value);
133 }
134 template <typename AuditContextT = AuditContext>
136 SetAuditContext(std::forward<AuditContextT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_catalogId;
142
143 Aws::String m_databaseName;
144
145 Aws::String m_tableName;
146
147 Aws::String m_nextToken;
148
149 int m_maxResults{0};
150
151 AuditContext m_auditContext;
152 bool m_catalogIdHasBeenSet = false;
153 bool m_databaseNameHasBeenSet = false;
154 bool m_tableNameHasBeenSet = false;
155 bool m_nextTokenHasBeenSet = false;
156 bool m_maxResultsHasBeenSet = false;
157 bool m_auditContextHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace Glue
162} // namespace Aws
GetTableVersionsRequest & WithTableName(TableNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
GetTableVersionsRequest & WithCatalogId(CatalogIdT &&value)
GetTableVersionsRequest & WithNextToken(NextTokenT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
GetTableVersionsRequest & WithMaxResults(int value)
GetTableVersionsRequest & WithAuditContext(AuditContextT &&value)
AWS_GLUE_API GetTableVersionsRequest()=default
GetTableVersionsRequest & WithDatabaseName(DatabaseNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String