AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableRestoreStatus.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RedshiftServerless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REDSHIFTSERVERLESS_API TableRestoreStatus();
37 AWS_REDSHIFTSERVERLESS_API TableRestoreStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API TableRestoreStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetMessage() const{ return m_message; }
49 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
50 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
51 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
52 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
53 inline TableRestoreStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
54 inline TableRestoreStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
55 inline TableRestoreStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
57
59
62 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
63 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
64 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
65 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
66 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
67 inline TableRestoreStatus& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;}
68 inline TableRestoreStatus& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
69 inline TableRestoreStatus& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
71
73
76 inline const Aws::String& GetNewTableName() const{ return m_newTableName; }
77 inline bool NewTableNameHasBeenSet() const { return m_newTableNameHasBeenSet; }
78 inline void SetNewTableName(const Aws::String& value) { m_newTableNameHasBeenSet = true; m_newTableName = value; }
79 inline void SetNewTableName(Aws::String&& value) { m_newTableNameHasBeenSet = true; m_newTableName = std::move(value); }
80 inline void SetNewTableName(const char* value) { m_newTableNameHasBeenSet = true; m_newTableName.assign(value); }
81 inline TableRestoreStatus& WithNewTableName(const Aws::String& value) { SetNewTableName(value); return *this;}
82 inline TableRestoreStatus& WithNewTableName(Aws::String&& value) { SetNewTableName(std::move(value)); return *this;}
83 inline TableRestoreStatus& WithNewTableName(const char* value) { SetNewTableName(value); return *this;}
85
87
90 inline long long GetProgressInMegaBytes() const{ return m_progressInMegaBytes; }
91 inline bool ProgressInMegaBytesHasBeenSet() const { return m_progressInMegaBytesHasBeenSet; }
92 inline void SetProgressInMegaBytes(long long value) { m_progressInMegaBytesHasBeenSet = true; m_progressInMegaBytes = value; }
93 inline TableRestoreStatus& WithProgressInMegaBytes(long long value) { SetProgressInMegaBytes(value); return *this;}
95
97
100 inline const Aws::String& GetRecoveryPointId() const{ return m_recoveryPointId; }
101 inline bool RecoveryPointIdHasBeenSet() const { return m_recoveryPointIdHasBeenSet; }
102 inline void SetRecoveryPointId(const Aws::String& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = value; }
103 inline void SetRecoveryPointId(Aws::String&& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = std::move(value); }
104 inline void SetRecoveryPointId(const char* value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId.assign(value); }
105 inline TableRestoreStatus& WithRecoveryPointId(const Aws::String& value) { SetRecoveryPointId(value); return *this;}
106 inline TableRestoreStatus& WithRecoveryPointId(Aws::String&& value) { SetRecoveryPointId(std::move(value)); return *this;}
107 inline TableRestoreStatus& WithRecoveryPointId(const char* value) { SetRecoveryPointId(value); return *this;}
109
111
115 inline const Aws::Utils::DateTime& GetRequestTime() const{ return m_requestTime; }
116 inline bool RequestTimeHasBeenSet() const { return m_requestTimeHasBeenSet; }
117 inline void SetRequestTime(const Aws::Utils::DateTime& value) { m_requestTimeHasBeenSet = true; m_requestTime = value; }
118 inline void SetRequestTime(Aws::Utils::DateTime&& value) { m_requestTimeHasBeenSet = true; m_requestTime = std::move(value); }
119 inline TableRestoreStatus& WithRequestTime(const Aws::Utils::DateTime& value) { SetRequestTime(value); return *this;}
120 inline TableRestoreStatus& WithRequestTime(Aws::Utils::DateTime&& value) { SetRequestTime(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
128 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
129 inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
130 inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
131 inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
132 inline TableRestoreStatus& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
133 inline TableRestoreStatus& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
134 inline TableRestoreStatus& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
136
138
141 inline const Aws::String& GetSourceDatabaseName() const{ return m_sourceDatabaseName; }
142 inline bool SourceDatabaseNameHasBeenSet() const { return m_sourceDatabaseNameHasBeenSet; }
143 inline void SetSourceDatabaseName(const Aws::String& value) { m_sourceDatabaseNameHasBeenSet = true; m_sourceDatabaseName = value; }
144 inline void SetSourceDatabaseName(Aws::String&& value) { m_sourceDatabaseNameHasBeenSet = true; m_sourceDatabaseName = std::move(value); }
145 inline void SetSourceDatabaseName(const char* value) { m_sourceDatabaseNameHasBeenSet = true; m_sourceDatabaseName.assign(value); }
146 inline TableRestoreStatus& WithSourceDatabaseName(const Aws::String& value) { SetSourceDatabaseName(value); return *this;}
147 inline TableRestoreStatus& WithSourceDatabaseName(Aws::String&& value) { SetSourceDatabaseName(std::move(value)); return *this;}
148 inline TableRestoreStatus& WithSourceDatabaseName(const char* value) { SetSourceDatabaseName(value); return *this;}
150
152
155 inline const Aws::String& GetSourceSchemaName() const{ return m_sourceSchemaName; }
156 inline bool SourceSchemaNameHasBeenSet() const { return m_sourceSchemaNameHasBeenSet; }
157 inline void SetSourceSchemaName(const Aws::String& value) { m_sourceSchemaNameHasBeenSet = true; m_sourceSchemaName = value; }
158 inline void SetSourceSchemaName(Aws::String&& value) { m_sourceSchemaNameHasBeenSet = true; m_sourceSchemaName = std::move(value); }
159 inline void SetSourceSchemaName(const char* value) { m_sourceSchemaNameHasBeenSet = true; m_sourceSchemaName.assign(value); }
160 inline TableRestoreStatus& WithSourceSchemaName(const Aws::String& value) { SetSourceSchemaName(value); return *this;}
161 inline TableRestoreStatus& WithSourceSchemaName(Aws::String&& value) { SetSourceSchemaName(std::move(value)); return *this;}
162 inline TableRestoreStatus& WithSourceSchemaName(const char* value) { SetSourceSchemaName(value); return *this;}
164
166
169 inline const Aws::String& GetSourceTableName() const{ return m_sourceTableName; }
170 inline bool SourceTableNameHasBeenSet() const { return m_sourceTableNameHasBeenSet; }
171 inline void SetSourceTableName(const Aws::String& value) { m_sourceTableNameHasBeenSet = true; m_sourceTableName = value; }
172 inline void SetSourceTableName(Aws::String&& value) { m_sourceTableNameHasBeenSet = true; m_sourceTableName = std::move(value); }
173 inline void SetSourceTableName(const char* value) { m_sourceTableNameHasBeenSet = true; m_sourceTableName.assign(value); }
174 inline TableRestoreStatus& WithSourceTableName(const Aws::String& value) { SetSourceTableName(value); return *this;}
175 inline TableRestoreStatus& WithSourceTableName(Aws::String&& value) { SetSourceTableName(std::move(value)); return *this;}
176 inline TableRestoreStatus& WithSourceTableName(const char* value) { SetSourceTableName(value); return *this;}
178
180
185 inline const Aws::String& GetStatus() const{ return m_status; }
186 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
187 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
188 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
189 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
190 inline TableRestoreStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
191 inline TableRestoreStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
192 inline TableRestoreStatus& WithStatus(const char* value) { SetStatus(value); return *this;}
194
196
199 inline const Aws::String& GetTableRestoreRequestId() const{ return m_tableRestoreRequestId; }
200 inline bool TableRestoreRequestIdHasBeenSet() const { return m_tableRestoreRequestIdHasBeenSet; }
201 inline void SetTableRestoreRequestId(const Aws::String& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = value; }
202 inline void SetTableRestoreRequestId(Aws::String&& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = std::move(value); }
203 inline void SetTableRestoreRequestId(const char* value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId.assign(value); }
205 inline TableRestoreStatus& WithTableRestoreRequestId(Aws::String&& value) { SetTableRestoreRequestId(std::move(value)); return *this;}
206 inline TableRestoreStatus& WithTableRestoreRequestId(const char* value) { SetTableRestoreRequestId(value); return *this;}
208
210
213 inline const Aws::String& GetTargetDatabaseName() const{ return m_targetDatabaseName; }
214 inline bool TargetDatabaseNameHasBeenSet() const { return m_targetDatabaseNameHasBeenSet; }
215 inline void SetTargetDatabaseName(const Aws::String& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = value; }
216 inline void SetTargetDatabaseName(Aws::String&& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = std::move(value); }
217 inline void SetTargetDatabaseName(const char* value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName.assign(value); }
218 inline TableRestoreStatus& WithTargetDatabaseName(const Aws::String& value) { SetTargetDatabaseName(value); return *this;}
219 inline TableRestoreStatus& WithTargetDatabaseName(Aws::String&& value) { SetTargetDatabaseName(std::move(value)); return *this;}
220 inline TableRestoreStatus& WithTargetDatabaseName(const char* value) { SetTargetDatabaseName(value); return *this;}
222
224
227 inline const Aws::String& GetTargetSchemaName() const{ return m_targetSchemaName; }
228 inline bool TargetSchemaNameHasBeenSet() const { return m_targetSchemaNameHasBeenSet; }
229 inline void SetTargetSchemaName(const Aws::String& value) { m_targetSchemaNameHasBeenSet = true; m_targetSchemaName = value; }
230 inline void SetTargetSchemaName(Aws::String&& value) { m_targetSchemaNameHasBeenSet = true; m_targetSchemaName = std::move(value); }
231 inline void SetTargetSchemaName(const char* value) { m_targetSchemaNameHasBeenSet = true; m_targetSchemaName.assign(value); }
232 inline TableRestoreStatus& WithTargetSchemaName(const Aws::String& value) { SetTargetSchemaName(value); return *this;}
233 inline TableRestoreStatus& WithTargetSchemaName(Aws::String&& value) { SetTargetSchemaName(std::move(value)); return *this;}
234 inline TableRestoreStatus& WithTargetSchemaName(const char* value) { SetTargetSchemaName(value); return *this;}
236
238
241 inline long long GetTotalDataInMegaBytes() const{ return m_totalDataInMegaBytes; }
242 inline bool TotalDataInMegaBytesHasBeenSet() const { return m_totalDataInMegaBytesHasBeenSet; }
243 inline void SetTotalDataInMegaBytes(long long value) { m_totalDataInMegaBytesHasBeenSet = true; m_totalDataInMegaBytes = value; }
244 inline TableRestoreStatus& WithTotalDataInMegaBytes(long long value) { SetTotalDataInMegaBytes(value); return *this;}
246
248
251 inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; }
252 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
253 inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; }
254 inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); }
255 inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); }
256 inline TableRestoreStatus& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;}
257 inline TableRestoreStatus& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;}
258 inline TableRestoreStatus& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;}
260 private:
261
262 Aws::String m_message;
263 bool m_messageHasBeenSet = false;
264
265 Aws::String m_namespaceName;
266 bool m_namespaceNameHasBeenSet = false;
267
268 Aws::String m_newTableName;
269 bool m_newTableNameHasBeenSet = false;
270
271 long long m_progressInMegaBytes;
272 bool m_progressInMegaBytesHasBeenSet = false;
273
274 Aws::String m_recoveryPointId;
275 bool m_recoveryPointIdHasBeenSet = false;
276
277 Aws::Utils::DateTime m_requestTime;
278 bool m_requestTimeHasBeenSet = false;
279
280 Aws::String m_snapshotName;
281 bool m_snapshotNameHasBeenSet = false;
282
283 Aws::String m_sourceDatabaseName;
284 bool m_sourceDatabaseNameHasBeenSet = false;
285
286 Aws::String m_sourceSchemaName;
287 bool m_sourceSchemaNameHasBeenSet = false;
288
289 Aws::String m_sourceTableName;
290 bool m_sourceTableNameHasBeenSet = false;
291
292 Aws::String m_status;
293 bool m_statusHasBeenSet = false;
294
295 Aws::String m_tableRestoreRequestId;
296 bool m_tableRestoreRequestIdHasBeenSet = false;
297
298 Aws::String m_targetDatabaseName;
299 bool m_targetDatabaseNameHasBeenSet = false;
300
301 Aws::String m_targetSchemaName;
302 bool m_targetSchemaNameHasBeenSet = false;
303
304 long long m_totalDataInMegaBytes;
305 bool m_totalDataInMegaBytesHasBeenSet = false;
306
307 Aws::String m_workgroupName;
308 bool m_workgroupNameHasBeenSet = false;
309 };
310
311} // namespace Model
312} // namespace RedshiftServerless
313} // namespace Aws
TableRestoreStatus & WithStatus(const char *value)
TableRestoreStatus & WithWorkgroupName(const char *value)
TableRestoreStatus & WithSnapshotName(const Aws::String &value)
TableRestoreStatus & WithTargetDatabaseName(Aws::String &&value)
TableRestoreStatus & WithWorkgroupName(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
TableRestoreStatus & WithTargetSchemaName(const Aws::String &value)
TableRestoreStatus & WithNamespaceName(const Aws::String &value)
TableRestoreStatus & WithSnapshotName(const char *value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus(Aws::Utils::Json::JsonView jsonValue)
TableRestoreStatus & WithNamespaceName(Aws::String &&value)
TableRestoreStatus & WithMessage(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
TableRestoreStatus & WithRecoveryPointId(const char *value)
TableRestoreStatus & WithTargetDatabaseName(const char *value)
TableRestoreStatus & WithStatus(Aws::String &&value)
TableRestoreStatus & WithStatus(const Aws::String &value)
TableRestoreStatus & WithWorkgroupName(Aws::String &&value)
TableRestoreStatus & WithProgressInMegaBytes(long long value)
TableRestoreStatus & WithSourceSchemaName(const char *value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus()
TableRestoreStatus & WithTargetSchemaName(Aws::String &&value)
TableRestoreStatus & WithSourceDatabaseName(Aws::String &&value)
TableRestoreStatus & WithTotalDataInMegaBytes(long long value)
TableRestoreStatus & WithSourceDatabaseName(const Aws::String &value)
TableRestoreStatus & WithTableRestoreRequestId(const char *value)
TableRestoreStatus & WithSourceSchemaName(const Aws::String &value)
TableRestoreStatus & WithMessage(const char *value)
void SetRequestTime(const Aws::Utils::DateTime &value)
TableRestoreStatus & WithTableRestoreRequestId(Aws::String &&value)
TableRestoreStatus & WithSourceSchemaName(Aws::String &&value)
TableRestoreStatus & WithNamespaceName(const char *value)
TableRestoreStatus & WithRequestTime(Aws::Utils::DateTime &&value)
TableRestoreStatus & WithSourceDatabaseName(const char *value)
TableRestoreStatus & WithRecoveryPointId(const Aws::String &value)
TableRestoreStatus & WithRequestTime(const Aws::Utils::DateTime &value)
TableRestoreStatus & WithRecoveryPointId(Aws::String &&value)
TableRestoreStatus & WithNewTableName(const char *value)
TableRestoreStatus & WithTargetSchemaName(const char *value)
TableRestoreStatus & WithTableRestoreRequestId(const Aws::String &value)
TableRestoreStatus & WithSourceTableName(const Aws::String &value)
TableRestoreStatus & WithSourceTableName(Aws::String &&value)
void SetRequestTime(Aws::Utils::DateTime &&value)
TableRestoreStatus & WithSourceTableName(const char *value)
const Aws::Utils::DateTime & GetRequestTime() const
TableRestoreStatus & WithNewTableName(Aws::String &&value)
TableRestoreStatus & WithSnapshotName(Aws::String &&value)
TableRestoreStatus & WithMessage(Aws::String &&value)
TableRestoreStatus & WithTargetDatabaseName(const Aws::String &value)
TableRestoreStatus & WithNewTableName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue