AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTableResult.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3tables/model/TableType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/s3tables/model/OpenTableFormat.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace S3Tables
28{
29namespace Model
30{
32 {
33 public:
34 AWS_S3TABLES_API GetTableResult() = default;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 GetTableResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline TableType GetType() const { return m_type; }
55 inline void SetType(TableType value) { m_typeHasBeenSet = true; m_type = value; }
56 inline GetTableResult& WithType(TableType value) { SetType(value); return *this;}
58
60
63 inline const Aws::String& GetTableARN() const { return m_tableARN; }
64 template<typename TableARNT = Aws::String>
65 void SetTableARN(TableARNT&& value) { m_tableARNHasBeenSet = true; m_tableARN = std::forward<TableARNT>(value); }
66 template<typename TableARNT = Aws::String>
67 GetTableResult& WithTableARN(TableARNT&& value) { SetTableARN(std::forward<TableARNT>(value)); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
75 template<typename NamespaceT = Aws::Vector<Aws::String>>
76 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
77 template<typename NamespaceT = Aws::Vector<Aws::String>>
78 GetTableResult& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
79 template<typename NamespaceT = Aws::String>
80 GetTableResult& AddNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace.emplace_back(std::forward<NamespaceT>(value)); return *this; }
82
84
87 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
88 template<typename NamespaceIdT = Aws::String>
89 void SetNamespaceId(NamespaceIdT&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::forward<NamespaceIdT>(value); }
90 template<typename NamespaceIdT = Aws::String>
91 GetTableResult& WithNamespaceId(NamespaceIdT&& value) { SetNamespaceId(std::forward<NamespaceIdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetVersionToken() const { return m_versionToken; }
99 template<typename VersionTokenT = Aws::String>
100 void SetVersionToken(VersionTokenT&& value) { m_versionTokenHasBeenSet = true; m_versionToken = std::forward<VersionTokenT>(value); }
101 template<typename VersionTokenT = Aws::String>
102 GetTableResult& WithVersionToken(VersionTokenT&& value) { SetVersionToken(std::forward<VersionTokenT>(value)); return *this;}
104
106
109 inline const Aws::String& GetMetadataLocation() const { return m_metadataLocation; }
110 template<typename MetadataLocationT = Aws::String>
111 void SetMetadataLocation(MetadataLocationT&& value) { m_metadataLocationHasBeenSet = true; m_metadataLocation = std::forward<MetadataLocationT>(value); }
112 template<typename MetadataLocationT = Aws::String>
113 GetTableResult& WithMetadataLocation(MetadataLocationT&& value) { SetMetadataLocation(std::forward<MetadataLocationT>(value)); return *this;}
115
117
120 inline const Aws::String& GetWarehouseLocation() const { return m_warehouseLocation; }
121 template<typename WarehouseLocationT = Aws::String>
122 void SetWarehouseLocation(WarehouseLocationT&& value) { m_warehouseLocationHasBeenSet = true; m_warehouseLocation = std::forward<WarehouseLocationT>(value); }
123 template<typename WarehouseLocationT = Aws::String>
124 GetTableResult& WithWarehouseLocation(WarehouseLocationT&& value) { SetWarehouseLocation(std::forward<WarehouseLocationT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
132 template<typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
134 template<typename CreatedAtT = Aws::Utils::DateTime>
135 GetTableResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
137
139
142 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
143 template<typename CreatedByT = Aws::String>
144 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
145 template<typename CreatedByT = Aws::String>
146 GetTableResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
148
150
153 inline const Aws::String& GetManagedByService() const { return m_managedByService; }
154 template<typename ManagedByServiceT = Aws::String>
155 void SetManagedByService(ManagedByServiceT&& value) { m_managedByServiceHasBeenSet = true; m_managedByService = std::forward<ManagedByServiceT>(value); }
156 template<typename ManagedByServiceT = Aws::String>
157 GetTableResult& WithManagedByService(ManagedByServiceT&& value) { SetManagedByService(std::forward<ManagedByServiceT>(value)); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
165 template<typename ModifiedAtT = Aws::Utils::DateTime>
166 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
167 template<typename ModifiedAtT = Aws::Utils::DateTime>
168 GetTableResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
170
172
175 inline const Aws::String& GetModifiedBy() const { return m_modifiedBy; }
176 template<typename ModifiedByT = Aws::String>
177 void SetModifiedBy(ModifiedByT&& value) { m_modifiedByHasBeenSet = true; m_modifiedBy = std::forward<ModifiedByT>(value); }
178 template<typename ModifiedByT = Aws::String>
179 GetTableResult& WithModifiedBy(ModifiedByT&& value) { SetModifiedBy(std::forward<ModifiedByT>(value)); return *this;}
181
183
186 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
187 template<typename OwnerAccountIdT = Aws::String>
188 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
189 template<typename OwnerAccountIdT = Aws::String>
190 GetTableResult& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
192
194
197 inline OpenTableFormat GetFormat() const { return m_format; }
198 inline void SetFormat(OpenTableFormat value) { m_formatHasBeenSet = true; m_format = value; }
199 inline GetTableResult& WithFormat(OpenTableFormat value) { SetFormat(value); return *this;}
201
203
206 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
207 template<typename TableBucketIdT = Aws::String>
208 void SetTableBucketId(TableBucketIdT&& value) { m_tableBucketIdHasBeenSet = true; m_tableBucketId = std::forward<TableBucketIdT>(value); }
209 template<typename TableBucketIdT = Aws::String>
210 GetTableResult& WithTableBucketId(TableBucketIdT&& value) { SetTableBucketId(std::forward<TableBucketIdT>(value)); return *this;}
212
214
215 inline const Aws::String& GetRequestId() const { return m_requestId; }
216 template<typename RequestIdT = Aws::String>
217 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
218 template<typename RequestIdT = Aws::String>
219 GetTableResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
221 private:
222
223 Aws::String m_name;
224 bool m_nameHasBeenSet = false;
225
227 bool m_typeHasBeenSet = false;
228
229 Aws::String m_tableARN;
230 bool m_tableARNHasBeenSet = false;
231
232 Aws::Vector<Aws::String> m_namespace;
233 bool m_namespaceHasBeenSet = false;
234
235 Aws::String m_namespaceId;
236 bool m_namespaceIdHasBeenSet = false;
237
238 Aws::String m_versionToken;
239 bool m_versionTokenHasBeenSet = false;
240
241 Aws::String m_metadataLocation;
242 bool m_metadataLocationHasBeenSet = false;
243
244 Aws::String m_warehouseLocation;
245 bool m_warehouseLocationHasBeenSet = false;
246
247 Aws::Utils::DateTime m_createdAt{};
248 bool m_createdAtHasBeenSet = false;
249
250 Aws::String m_createdBy;
251 bool m_createdByHasBeenSet = false;
252
253 Aws::String m_managedByService;
254 bool m_managedByServiceHasBeenSet = false;
255
256 Aws::Utils::DateTime m_modifiedAt{};
257 bool m_modifiedAtHasBeenSet = false;
258
259 Aws::String m_modifiedBy;
260 bool m_modifiedByHasBeenSet = false;
261
262 Aws::String m_ownerAccountId;
263 bool m_ownerAccountIdHasBeenSet = false;
264
266 bool m_formatHasBeenSet = false;
267
268 Aws::String m_tableBucketId;
269 bool m_tableBucketIdHasBeenSet = false;
270
271 Aws::String m_requestId;
272 bool m_requestIdHasBeenSet = false;
273 };
274
275} // namespace Model
276} // namespace S3Tables
277} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
void SetNamespaceId(NamespaceIdT &&value)
const Aws::String & GetName() const
GetTableResult & WithModifiedBy(ModifiedByT &&value)
GetTableResult & WithWarehouseLocation(WarehouseLocationT &&value)
AWS_S3TABLES_API GetTableResult()=default
const Aws::String & GetVersionToken() const
GetTableResult & WithNamespaceId(NamespaceIdT &&value)
const Aws::String & GetNamespaceId() const
void SetMetadataLocation(MetadataLocationT &&value)
GetTableResult & WithOwnerAccountId(OwnerAccountIdT &&value)
GetTableResult & WithType(TableType value)
void SetManagedByService(ManagedByServiceT &&value)
GetTableResult & AddNamespace(NamespaceT &&value)
void SetVersionToken(VersionTokenT &&value)
const Aws::String & GetMetadataLocation() const
const Aws::Vector< Aws::String > & GetNamespace() const
GetTableResult & WithVersionToken(VersionTokenT &&value)
const Aws::String & GetRequestId() const
GetTableResult & WithNamespace(NamespaceT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::String & GetCreatedBy() const
GetTableResult & WithModifiedAt(ModifiedAtT &&value)
GetTableResult & WithManagedByService(ManagedByServiceT &&value)
GetTableResult & WithMetadataLocation(MetadataLocationT &&value)
void SetFormat(OpenTableFormat value)
GetTableResult & WithCreatedBy(CreatedByT &&value)
void SetTableBucketId(TableBucketIdT &&value)
GetTableResult & WithFormat(OpenTableFormat value)
void SetWarehouseLocation(WarehouseLocationT &&value)
const Aws::String & GetTableBucketId() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetTableARN() const
const Aws::String & GetWarehouseLocation() const
AWS_S3TABLES_API GetTableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_S3TABLES_API GetTableResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetManagedByService() const
const Aws::String & GetOwnerAccountId() const
void SetRequestId(RequestIdT &&value)
GetTableResult & WithTableBucketId(TableBucketIdT &&value)
void SetTableARN(TableARNT &&value)
void SetNamespace(NamespaceT &&value)
void SetModifiedAt(ModifiedAtT &&value)
GetTableResult & WithRequestId(RequestIdT &&value)
GetTableResult & WithName(NameT &&value)
GetTableResult & WithTableARN(TableARNT &&value)
const Aws::String & GetModifiedBy() const
void SetModifiedBy(ModifiedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue