AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTableResult.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/keyspaces/model/TableStatus.h>
11#include <aws/keyspaces/model/SchemaDefinition.h>
12#include <aws/keyspaces/model/CapacitySpecificationSummary.h>
13#include <aws/keyspaces/model/EncryptionSpecification.h>
14#include <aws/keyspaces/model/PointInTimeRecoverySummary.h>
15#include <aws/keyspaces/model/TimeToLive.h>
16#include <aws/keyspaces/model/Comment.h>
17#include <aws/keyspaces/model/ClientSideTimestamps.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/keyspaces/model/ReplicaSpecificationSummary.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace Keyspaces
35{
36namespace Model
37{
39 {
40 public:
41 AWS_KEYSPACES_API GetTableResult();
44
45
47
50 inline const Aws::String& GetKeyspaceName() const{ return m_keyspaceName; }
51 inline void SetKeyspaceName(const Aws::String& value) { m_keyspaceName = value; }
52 inline void SetKeyspaceName(Aws::String&& value) { m_keyspaceName = std::move(value); }
53 inline void SetKeyspaceName(const char* value) { m_keyspaceName.assign(value); }
54 inline GetTableResult& WithKeyspaceName(const Aws::String& value) { SetKeyspaceName(value); return *this;}
55 inline GetTableResult& WithKeyspaceName(Aws::String&& value) { SetKeyspaceName(std::move(value)); return *this;}
56 inline GetTableResult& WithKeyspaceName(const char* value) { SetKeyspaceName(value); return *this;}
58
60
63 inline const Aws::String& GetTableName() const{ return m_tableName; }
64 inline void SetTableName(const Aws::String& value) { m_tableName = value; }
65 inline void SetTableName(Aws::String&& value) { m_tableName = std::move(value); }
66 inline void SetTableName(const char* value) { m_tableName.assign(value); }
67 inline GetTableResult& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
68 inline GetTableResult& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
69 inline GetTableResult& WithTableName(const char* value) { SetTableName(value); return *this;}
71
73
76 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
77 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
78 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
79 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
80 inline GetTableResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
81 inline GetTableResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
82 inline GetTableResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
90 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; }
91 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); }
93 inline GetTableResult& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
95
97
100 inline const TableStatus& GetStatus() const{ return m_status; }
101 inline void SetStatus(const TableStatus& value) { m_status = value; }
102 inline void SetStatus(TableStatus&& value) { m_status = std::move(value); }
103 inline GetTableResult& WithStatus(const TableStatus& value) { SetStatus(value); return *this;}
104 inline GetTableResult& WithStatus(TableStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
111 inline const SchemaDefinition& GetSchemaDefinition() const{ return m_schemaDefinition; }
112 inline void SetSchemaDefinition(const SchemaDefinition& value) { m_schemaDefinition = value; }
113 inline void SetSchemaDefinition(SchemaDefinition&& value) { m_schemaDefinition = std::move(value); }
114 inline GetTableResult& WithSchemaDefinition(const SchemaDefinition& value) { SetSchemaDefinition(value); return *this;}
115 inline GetTableResult& WithSchemaDefinition(SchemaDefinition&& value) { SetSchemaDefinition(std::move(value)); return *this;}
117
119
124 inline const CapacitySpecificationSummary& GetCapacitySpecification() const{ return m_capacitySpecification; }
125 inline void SetCapacitySpecification(const CapacitySpecificationSummary& value) { m_capacitySpecification = value; }
126 inline void SetCapacitySpecification(CapacitySpecificationSummary&& value) { m_capacitySpecification = std::move(value); }
130
132
135 inline const EncryptionSpecification& GetEncryptionSpecification() const{ return m_encryptionSpecification; }
136 inline void SetEncryptionSpecification(const EncryptionSpecification& value) { m_encryptionSpecification = value; }
137 inline void SetEncryptionSpecification(EncryptionSpecification&& value) { m_encryptionSpecification = std::move(value); }
141
143
146 inline const PointInTimeRecoverySummary& GetPointInTimeRecovery() const{ return m_pointInTimeRecovery; }
147 inline void SetPointInTimeRecovery(const PointInTimeRecoverySummary& value) { m_pointInTimeRecovery = value; }
148 inline void SetPointInTimeRecovery(PointInTimeRecoverySummary&& value) { m_pointInTimeRecovery = std::move(value); }
152
154
157 inline const TimeToLive& GetTtl() const{ return m_ttl; }
158 inline void SetTtl(const TimeToLive& value) { m_ttl = value; }
159 inline void SetTtl(TimeToLive&& value) { m_ttl = std::move(value); }
160 inline GetTableResult& WithTtl(const TimeToLive& value) { SetTtl(value); return *this;}
161 inline GetTableResult& WithTtl(TimeToLive&& value) { SetTtl(std::move(value)); return *this;}
163
165
168 inline int GetDefaultTimeToLive() const{ return m_defaultTimeToLive; }
169 inline void SetDefaultTimeToLive(int value) { m_defaultTimeToLive = value; }
170 inline GetTableResult& WithDefaultTimeToLive(int value) { SetDefaultTimeToLive(value); return *this;}
172
174
177 inline const Comment& GetComment() const{ return m_comment; }
178 inline void SetComment(const Comment& value) { m_comment = value; }
179 inline void SetComment(Comment&& value) { m_comment = std::move(value); }
180 inline GetTableResult& WithComment(const Comment& value) { SetComment(value); return *this;}
181 inline GetTableResult& WithComment(Comment&& value) { SetComment(std::move(value)); return *this;}
183
185
188 inline const ClientSideTimestamps& GetClientSideTimestamps() const{ return m_clientSideTimestamps; }
189 inline void SetClientSideTimestamps(const ClientSideTimestamps& value) { m_clientSideTimestamps = value; }
190 inline void SetClientSideTimestamps(ClientSideTimestamps&& value) { m_clientSideTimestamps = std::move(value); }
192 inline GetTableResult& WithClientSideTimestamps(ClientSideTimestamps&& value) { SetClientSideTimestamps(std::move(value)); return *this;}
194
196
200 inline const Aws::Vector<ReplicaSpecificationSummary>& GetReplicaSpecifications() const{ return m_replicaSpecifications; }
201 inline void SetReplicaSpecifications(const Aws::Vector<ReplicaSpecificationSummary>& value) { m_replicaSpecifications = value; }
202 inline void SetReplicaSpecifications(Aws::Vector<ReplicaSpecificationSummary>&& value) { m_replicaSpecifications = std::move(value); }
205 inline GetTableResult& AddReplicaSpecifications(const ReplicaSpecificationSummary& value) { m_replicaSpecifications.push_back(value); return *this; }
206 inline GetTableResult& AddReplicaSpecifications(ReplicaSpecificationSummary&& value) { m_replicaSpecifications.push_back(std::move(value)); return *this; }
208
210
211 inline const Aws::String& GetRequestId() const{ return m_requestId; }
212 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
213 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
214 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
215 inline GetTableResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
216 inline GetTableResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
217 inline GetTableResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
219 private:
220
221 Aws::String m_keyspaceName;
222
223 Aws::String m_tableName;
224
225 Aws::String m_resourceArn;
226
227 Aws::Utils::DateTime m_creationTimestamp;
228
229 TableStatus m_status;
230
231 SchemaDefinition m_schemaDefinition;
232
233 CapacitySpecificationSummary m_capacitySpecification;
234
235 EncryptionSpecification m_encryptionSpecification;
236
237 PointInTimeRecoverySummary m_pointInTimeRecovery;
238
239 TimeToLive m_ttl;
240
241 int m_defaultTimeToLive;
242
243 Comment m_comment;
244
245 ClientSideTimestamps m_clientSideTimestamps;
246
247 Aws::Vector<ReplicaSpecificationSummary> m_replicaSpecifications;
248
249 Aws::String m_requestId;
250 };
251
252} // namespace Model
253} // namespace Keyspaces
254} // namespace Aws
GetTableResult & AddReplicaSpecifications(const ReplicaSpecificationSummary &value)
void SetPointInTimeRecovery(const PointInTimeRecoverySummary &value)
void SetPointInTimeRecovery(PointInTimeRecoverySummary &&value)
GetTableResult & WithRequestId(const char *value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
const ClientSideTimestamps & GetClientSideTimestamps() const
GetTableResult & WithClientSideTimestamps(ClientSideTimestamps &&value)
const Aws::Vector< ReplicaSpecificationSummary > & GetReplicaSpecifications() const
GetTableResult & WithStatus(const TableStatus &value)
void SetTableName(Aws::String &&value)
void SetKeyspaceName(const char *value)
void SetResourceArn(const char *value)
void SetTableName(const Aws::String &value)
GetTableResult & WithTtl(TimeToLive &&value)
const TimeToLive & GetTtl() const
GetTableResult & WithCapacitySpecification(CapacitySpecificationSummary &&value)
void SetRequestId(Aws::String &&value)
GetTableResult & WithCapacitySpecification(const CapacitySpecificationSummary &value)
GetTableResult & WithPointInTimeRecovery(PointInTimeRecoverySummary &&value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
GetTableResult & WithReplicaSpecifications(const Aws::Vector< ReplicaSpecificationSummary > &value)
void SetRequestId(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
GetTableResult & WithRequestId(const Aws::String &value)
GetTableResult & WithDefaultTimeToLive(int value)
GetTableResult & WithPointInTimeRecovery(const PointInTimeRecoverySummary &value)
GetTableResult & WithComment(const Comment &value)
void SetKeyspaceName(Aws::String &&value)
GetTableResult & WithResourceArn(Aws::String &&value)
const Aws::String & GetTableName() const
const Aws::Utils::DateTime & GetCreationTimestamp() const
GetTableResult & WithTableName(Aws::String &&value)
GetTableResult & WithTableName(const Aws::String &value)
const SchemaDefinition & GetSchemaDefinition() const
const CapacitySpecificationSummary & GetCapacitySpecification() const
GetTableResult & WithSchemaDefinition(SchemaDefinition &&value)
GetTableResult & WithSchemaDefinition(const SchemaDefinition &value)
void SetReplicaSpecifications(Aws::Vector< ReplicaSpecificationSummary > &&value)
const TableStatus & GetStatus() const
void SetTableName(const char *value)
void SetStatus(TableStatus &&value)
GetTableResult & WithKeyspaceName(Aws::String &&value)
GetTableResult & WithKeyspaceName(const char *value)
GetTableResult & WithComment(Comment &&value)
void SetResourceArn(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetCapacitySpecification(CapacitySpecificationSummary &&value)
const PointInTimeRecoverySummary & GetPointInTimeRecovery() const
GetTableResult & AddReplicaSpecifications(ReplicaSpecificationSummary &&value)
void SetEncryptionSpecification(EncryptionSpecification &&value)
GetTableResult & WithCreationTimestamp(Aws::Utils::DateTime &&value)
void SetTtl(const TimeToLive &value)
GetTableResult & WithReplicaSpecifications(Aws::Vector< ReplicaSpecificationSummary > &&value)
GetTableResult & WithKeyspaceName(const Aws::String &value)
const Aws::String & GetKeyspaceName() const
void SetClientSideTimestamps(ClientSideTimestamps &&value)
void SetReplicaSpecifications(const Aws::Vector< ReplicaSpecificationSummary > &value)
GetTableResult & WithEncryptionSpecification(EncryptionSpecification &&value)
GetTableResult & WithRequestId(Aws::String &&value)
GetTableResult & WithResourceArn(const Aws::String &value)
void SetCapacitySpecification(const CapacitySpecificationSummary &value)
void SetComment(const Comment &value)
GetTableResult & WithStatus(TableStatus &&value)
GetTableResult & WithClientSideTimestamps(const ClientSideTimestamps &value)
void SetClientSideTimestamps(const ClientSideTimestamps &value)
void SetSchemaDefinition(SchemaDefinition &&value)
void SetKeyspaceName(const Aws::String &value)
GetTableResult & WithResourceArn(const char *value)
GetTableResult & WithEncryptionSpecification(const EncryptionSpecification &value)
void SetSchemaDefinition(const SchemaDefinition &value)
const Aws::String & GetResourceArn() const
AWS_KEYSPACES_API GetTableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableResult & WithCreationTimestamp(const Aws::Utils::DateTime &value)
GetTableResult & WithTableName(const char *value)
GetTableResult & WithTtl(const TimeToLive &value)
void SetStatus(const TableStatus &value)
const EncryptionSpecification & GetEncryptionSpecification() const
void SetEncryptionSpecification(const EncryptionSpecification &value)
AWS_KEYSPACES_API GetTableResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue