AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Snapshot.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/SnapshotStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RedshiftServerless {
23namespace Model {
24
30class Snapshot {
31 public:
32 AWS_REDSHIFTSERVERLESS_API Snapshot() = default;
33 AWS_REDSHIFTSERVERLESS_API Snapshot(Aws::Utils::Json::JsonView jsonValue);
34 AWS_REDSHIFTSERVERLESS_API Snapshot& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<Aws::String>& GetAccountsWithProvisionedRestoreAccess() const { return m_accountsWithProvisionedRestoreAccess; }
43 inline bool AccountsWithProvisionedRestoreAccessHasBeenSet() const { return m_accountsWithProvisionedRestoreAccessHasBeenSet; }
44 template <typename AccountsWithProvisionedRestoreAccessT = Aws::Vector<Aws::String>>
45 void SetAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT&& value) {
46 m_accountsWithProvisionedRestoreAccessHasBeenSet = true;
47 m_accountsWithProvisionedRestoreAccess = std::forward<AccountsWithProvisionedRestoreAccessT>(value);
48 }
49 template <typename AccountsWithProvisionedRestoreAccessT = Aws::Vector<Aws::String>>
50 Snapshot& WithAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT&& value) {
51 SetAccountsWithProvisionedRestoreAccess(std::forward<AccountsWithProvisionedRestoreAccessT>(value));
52 return *this;
53 }
54 template <typename AccountsWithProvisionedRestoreAccessT = Aws::String>
55 Snapshot& AddAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT&& value) {
56 m_accountsWithProvisionedRestoreAccessHasBeenSet = true;
57 m_accountsWithProvisionedRestoreAccess.emplace_back(std::forward<AccountsWithProvisionedRestoreAccessT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::Vector<Aws::String>& GetAccountsWithRestoreAccess() const { return m_accountsWithRestoreAccess; }
68 inline bool AccountsWithRestoreAccessHasBeenSet() const { return m_accountsWithRestoreAccessHasBeenSet; }
69 template <typename AccountsWithRestoreAccessT = Aws::Vector<Aws::String>>
70 void SetAccountsWithRestoreAccess(AccountsWithRestoreAccessT&& value) {
71 m_accountsWithRestoreAccessHasBeenSet = true;
72 m_accountsWithRestoreAccess = std::forward<AccountsWithRestoreAccessT>(value);
73 }
74 template <typename AccountsWithRestoreAccessT = Aws::Vector<Aws::String>>
75 Snapshot& WithAccountsWithRestoreAccess(AccountsWithRestoreAccessT&& value) {
76 SetAccountsWithRestoreAccess(std::forward<AccountsWithRestoreAccessT>(value));
77 return *this;
78 }
79 template <typename AccountsWithRestoreAccessT = Aws::String>
80 Snapshot& AddAccountsWithRestoreAccess(AccountsWithRestoreAccessT&& value) {
81 m_accountsWithRestoreAccessHasBeenSet = true;
82 m_accountsWithRestoreAccess.emplace_back(std::forward<AccountsWithRestoreAccessT>(value));
83 return *this;
84 }
86
88
91 inline double GetActualIncrementalBackupSizeInMegaBytes() const { return m_actualIncrementalBackupSizeInMegaBytes; }
92 inline bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const { return m_actualIncrementalBackupSizeInMegaBytesHasBeenSet; }
94 m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = true;
95 m_actualIncrementalBackupSizeInMegaBytes = value;
96 }
99 return *this;
100 }
102
104
108 inline const Aws::String& GetAdminPasswordSecretArn() const { return m_adminPasswordSecretArn; }
109 inline bool AdminPasswordSecretArnHasBeenSet() const { return m_adminPasswordSecretArnHasBeenSet; }
110 template <typename AdminPasswordSecretArnT = Aws::String>
111 void SetAdminPasswordSecretArn(AdminPasswordSecretArnT&& value) {
112 m_adminPasswordSecretArnHasBeenSet = true;
113 m_adminPasswordSecretArn = std::forward<AdminPasswordSecretArnT>(value);
114 }
115 template <typename AdminPasswordSecretArnT = Aws::String>
116 Snapshot& WithAdminPasswordSecretArn(AdminPasswordSecretArnT&& value) {
117 SetAdminPasswordSecretArn(std::forward<AdminPasswordSecretArnT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::String& GetAdminPasswordSecretKmsKeyId() const { return m_adminPasswordSecretKmsKeyId; }
128 inline bool AdminPasswordSecretKmsKeyIdHasBeenSet() const { return m_adminPasswordSecretKmsKeyIdHasBeenSet; }
129 template <typename AdminPasswordSecretKmsKeyIdT = Aws::String>
130 void SetAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT&& value) {
131 m_adminPasswordSecretKmsKeyIdHasBeenSet = true;
132 m_adminPasswordSecretKmsKeyId = std::forward<AdminPasswordSecretKmsKeyIdT>(value);
133 }
134 template <typename AdminPasswordSecretKmsKeyIdT = Aws::String>
135 Snapshot& WithAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT&& value) {
136 SetAdminPasswordSecretKmsKeyId(std::forward<AdminPasswordSecretKmsKeyIdT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetAdminUsername() const { return m_adminUsername; }
146 inline bool AdminUsernameHasBeenSet() const { return m_adminUsernameHasBeenSet; }
147 template <typename AdminUsernameT = Aws::String>
148 void SetAdminUsername(AdminUsernameT&& value) {
149 m_adminUsernameHasBeenSet = true;
150 m_adminUsername = std::forward<AdminUsernameT>(value);
151 }
152 template <typename AdminUsernameT = Aws::String>
153 Snapshot& WithAdminUsername(AdminUsernameT&& value) {
154 SetAdminUsername(std::forward<AdminUsernameT>(value));
155 return *this;
156 }
158
160
163 inline double GetBackupProgressInMegaBytes() const { return m_backupProgressInMegaBytes; }
164 inline bool BackupProgressInMegaBytesHasBeenSet() const { return m_backupProgressInMegaBytesHasBeenSet; }
165 inline void SetBackupProgressInMegaBytes(double value) {
166 m_backupProgressInMegaBytesHasBeenSet = true;
167 m_backupProgressInMegaBytes = value;
168 }
171 return *this;
172 }
174
176
180 inline double GetCurrentBackupRateInMegaBytesPerSecond() const { return m_currentBackupRateInMegaBytesPerSecond; }
181 inline bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const { return m_currentBackupRateInMegaBytesPerSecondHasBeenSet; }
183 m_currentBackupRateInMegaBytesPerSecondHasBeenSet = true;
184 m_currentBackupRateInMegaBytesPerSecond = value;
185 }
188 return *this;
189 }
191
193
196 inline long long GetElapsedTimeInSeconds() const { return m_elapsedTimeInSeconds; }
197 inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; }
198 inline void SetElapsedTimeInSeconds(long long value) {
199 m_elapsedTimeInSecondsHasBeenSet = true;
200 m_elapsedTimeInSeconds = value;
201 }
202 inline Snapshot& WithElapsedTimeInSeconds(long long value) {
204 return *this;
205 }
207
209
212 inline long long GetEstimatedSecondsToCompletion() const { return m_estimatedSecondsToCompletion; }
213 inline bool EstimatedSecondsToCompletionHasBeenSet() const { return m_estimatedSecondsToCompletionHasBeenSet; }
214 inline void SetEstimatedSecondsToCompletion(long long value) {
215 m_estimatedSecondsToCompletionHasBeenSet = true;
216 m_estimatedSecondsToCompletion = value;
217 }
220 return *this;
221 }
223
225
228 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
229 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
230 template <typename KmsKeyIdT = Aws::String>
231 void SetKmsKeyId(KmsKeyIdT&& value) {
232 m_kmsKeyIdHasBeenSet = true;
233 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
234 }
235 template <typename KmsKeyIdT = Aws::String>
236 Snapshot& WithKmsKeyId(KmsKeyIdT&& value) {
237 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
238 return *this;
239 }
241
243
247 inline const Aws::String& GetNamespaceArn() const { return m_namespaceArn; }
248 inline bool NamespaceArnHasBeenSet() const { return m_namespaceArnHasBeenSet; }
249 template <typename NamespaceArnT = Aws::String>
250 void SetNamespaceArn(NamespaceArnT&& value) {
251 m_namespaceArnHasBeenSet = true;
252 m_namespaceArn = std::forward<NamespaceArnT>(value);
253 }
254 template <typename NamespaceArnT = Aws::String>
255 Snapshot& WithNamespaceArn(NamespaceArnT&& value) {
256 SetNamespaceArn(std::forward<NamespaceArnT>(value));
257 return *this;
258 }
260
262
265 inline const Aws::String& GetNamespaceName() const { return m_namespaceName; }
266 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
267 template <typename NamespaceNameT = Aws::String>
268 void SetNamespaceName(NamespaceNameT&& value) {
269 m_namespaceNameHasBeenSet = true;
270 m_namespaceName = std::forward<NamespaceNameT>(value);
271 }
272 template <typename NamespaceNameT = Aws::String>
273 Snapshot& WithNamespaceName(NamespaceNameT&& value) {
274 SetNamespaceName(std::forward<NamespaceNameT>(value));
275 return *this;
276 }
278
280
283 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
284 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
285 template <typename OwnerAccountT = Aws::String>
286 void SetOwnerAccount(OwnerAccountT&& value) {
287 m_ownerAccountHasBeenSet = true;
288 m_ownerAccount = std::forward<OwnerAccountT>(value);
289 }
290 template <typename OwnerAccountT = Aws::String>
291 Snapshot& WithOwnerAccount(OwnerAccountT&& value) {
292 SetOwnerAccount(std::forward<OwnerAccountT>(value));
293 return *this;
294 }
296
298
301 inline const Aws::String& GetSnapshotArn() const { return m_snapshotArn; }
302 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
303 template <typename SnapshotArnT = Aws::String>
304 void SetSnapshotArn(SnapshotArnT&& value) {
305 m_snapshotArnHasBeenSet = true;
306 m_snapshotArn = std::forward<SnapshotArnT>(value);
307 }
308 template <typename SnapshotArnT = Aws::String>
309 Snapshot& WithSnapshotArn(SnapshotArnT&& value) {
310 SetSnapshotArn(std::forward<SnapshotArnT>(value));
311 return *this;
312 }
314
316
319 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
320 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
321 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
322 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) {
323 m_snapshotCreateTimeHasBeenSet = true;
324 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
325 }
326 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
327 Snapshot& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) {
328 SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value));
329 return *this;
330 }
332
334
337 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
338 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
339 template <typename SnapshotNameT = Aws::String>
340 void SetSnapshotName(SnapshotNameT&& value) {
341 m_snapshotNameHasBeenSet = true;
342 m_snapshotName = std::forward<SnapshotNameT>(value);
343 }
344 template <typename SnapshotNameT = Aws::String>
345 Snapshot& WithSnapshotName(SnapshotNameT&& value) {
346 SetSnapshotName(std::forward<SnapshotNameT>(value));
347 return *this;
348 }
350
352
355 inline int GetSnapshotRemainingDays() const { return m_snapshotRemainingDays; }
356 inline bool SnapshotRemainingDaysHasBeenSet() const { return m_snapshotRemainingDaysHasBeenSet; }
357 inline void SetSnapshotRemainingDays(int value) {
358 m_snapshotRemainingDaysHasBeenSet = true;
359 m_snapshotRemainingDays = value;
360 }
363 return *this;
364 }
366
368
371 inline int GetSnapshotRetentionPeriod() const { return m_snapshotRetentionPeriod; }
372 inline bool SnapshotRetentionPeriodHasBeenSet() const { return m_snapshotRetentionPeriodHasBeenSet; }
373 inline void SetSnapshotRetentionPeriod(int value) {
374 m_snapshotRetentionPeriodHasBeenSet = true;
375 m_snapshotRetentionPeriod = value;
376 }
379 return *this;
380 }
382
384
387 inline const Aws::Utils::DateTime& GetSnapshotRetentionStartTime() const { return m_snapshotRetentionStartTime; }
388 inline bool SnapshotRetentionStartTimeHasBeenSet() const { return m_snapshotRetentionStartTimeHasBeenSet; }
389 template <typename SnapshotRetentionStartTimeT = Aws::Utils::DateTime>
390 void SetSnapshotRetentionStartTime(SnapshotRetentionStartTimeT&& value) {
391 m_snapshotRetentionStartTimeHasBeenSet = true;
392 m_snapshotRetentionStartTime = std::forward<SnapshotRetentionStartTimeT>(value);
393 }
394 template <typename SnapshotRetentionStartTimeT = Aws::Utils::DateTime>
395 Snapshot& WithSnapshotRetentionStartTime(SnapshotRetentionStartTimeT&& value) {
396 SetSnapshotRetentionStartTime(std::forward<SnapshotRetentionStartTimeT>(value));
397 return *this;
398 }
400
402
405 inline SnapshotStatus GetStatus() const { return m_status; }
406 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
407 inline void SetStatus(SnapshotStatus value) {
408 m_statusHasBeenSet = true;
409 m_status = value;
410 }
412 SetStatus(value);
413 return *this;
414 }
416
418
421 inline double GetTotalBackupSizeInMegaBytes() const { return m_totalBackupSizeInMegaBytes; }
422 inline bool TotalBackupSizeInMegaBytesHasBeenSet() const { return m_totalBackupSizeInMegaBytesHasBeenSet; }
423 inline void SetTotalBackupSizeInMegaBytes(double value) {
424 m_totalBackupSizeInMegaBytesHasBeenSet = true;
425 m_totalBackupSizeInMegaBytes = value;
426 }
429 return *this;
430 }
432 private:
433 Aws::Vector<Aws::String> m_accountsWithProvisionedRestoreAccess;
434
435 Aws::Vector<Aws::String> m_accountsWithRestoreAccess;
436
437 double m_actualIncrementalBackupSizeInMegaBytes{0.0};
438
439 Aws::String m_adminPasswordSecretArn;
440
441 Aws::String m_adminPasswordSecretKmsKeyId;
442
443 Aws::String m_adminUsername;
444
445 double m_backupProgressInMegaBytes{0.0};
446
447 double m_currentBackupRateInMegaBytesPerSecond{0.0};
448
449 long long m_elapsedTimeInSeconds{0};
450
451 long long m_estimatedSecondsToCompletion{0};
452
453 Aws::String m_kmsKeyId;
454
455 Aws::String m_namespaceArn;
456
457 Aws::String m_namespaceName;
458
459 Aws::String m_ownerAccount;
460
461 Aws::String m_snapshotArn;
462
463 Aws::Utils::DateTime m_snapshotCreateTime{};
464
465 Aws::String m_snapshotName;
466
467 int m_snapshotRemainingDays{0};
468
469 int m_snapshotRetentionPeriod{0};
470
471 Aws::Utils::DateTime m_snapshotRetentionStartTime{};
472
474
475 double m_totalBackupSizeInMegaBytes{0.0};
476 bool m_accountsWithProvisionedRestoreAccessHasBeenSet = false;
477 bool m_accountsWithRestoreAccessHasBeenSet = false;
478 bool m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = false;
479 bool m_adminPasswordSecretArnHasBeenSet = false;
480 bool m_adminPasswordSecretKmsKeyIdHasBeenSet = false;
481 bool m_adminUsernameHasBeenSet = false;
482 bool m_backupProgressInMegaBytesHasBeenSet = false;
483 bool m_currentBackupRateInMegaBytesPerSecondHasBeenSet = false;
484 bool m_elapsedTimeInSecondsHasBeenSet = false;
485 bool m_estimatedSecondsToCompletionHasBeenSet = false;
486 bool m_kmsKeyIdHasBeenSet = false;
487 bool m_namespaceArnHasBeenSet = false;
488 bool m_namespaceNameHasBeenSet = false;
489 bool m_ownerAccountHasBeenSet = false;
490 bool m_snapshotArnHasBeenSet = false;
491 bool m_snapshotCreateTimeHasBeenSet = false;
492 bool m_snapshotNameHasBeenSet = false;
493 bool m_snapshotRemainingDaysHasBeenSet = false;
494 bool m_snapshotRetentionPeriodHasBeenSet = false;
495 bool m_snapshotRetentionStartTimeHasBeenSet = false;
496 bool m_statusHasBeenSet = false;
497 bool m_totalBackupSizeInMegaBytesHasBeenSet = false;
498};
499
500} // namespace Model
501} // namespace RedshiftServerless
502} // namespace Aws
Snapshot & WithAdminPasswordSecretArn(AdminPasswordSecretArnT &&value)
Definition Snapshot.h:116
void SetAdminPasswordSecretArn(AdminPasswordSecretArnT &&value)
Definition Snapshot.h:111
Snapshot & WithEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:218
long long GetEstimatedSecondsToCompletion() const
Definition Snapshot.h:212
Snapshot & AddAccountsWithRestoreAccess(AccountsWithRestoreAccessT &&value)
Definition Snapshot.h:80
void SetSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:340
AWS_REDSHIFTSERVERLESS_API Snapshot(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:427
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:236
Snapshot & WithAdminUsername(AdminUsernameT &&value)
Definition Snapshot.h:153
const Aws::String & GetNamespaceArn() const
Definition Snapshot.h:247
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
Definition Snapshot.h:322
void SetCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:182
double GetActualIncrementalBackupSizeInMegaBytes() const
Definition Snapshot.h:91
bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const
Definition Snapshot.h:181
void SetSnapshotRetentionStartTime(SnapshotRetentionStartTimeT &&value)
Definition Snapshot.h:390
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:231
Snapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
Definition Snapshot.h:327
const Aws::Utils::DateTime & GetSnapshotRetentionStartTime() const
Definition Snapshot.h:387
const Aws::String & GetNamespaceName() const
Definition Snapshot.h:265
Snapshot & WithCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:186
Snapshot & WithActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:97
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
Snapshot & WithStatus(SnapshotStatus value)
Definition Snapshot.h:411
const Aws::String & GetSnapshotArn() const
Definition Snapshot.h:301
void SetTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:423
void SetActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:93
void SetOwnerAccount(OwnerAccountT &&value)
Definition Snapshot.h:286
Snapshot & WithAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
Definition Snapshot.h:135
Snapshot & WithAccountsWithRestoreAccess(AccountsWithRestoreAccessT &&value)
Definition Snapshot.h:75
void SetAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
Definition Snapshot.h:130
void SetStatus(SnapshotStatus value)
Definition Snapshot.h:407
double GetCurrentBackupRateInMegaBytesPerSecond() const
Definition Snapshot.h:180
void SetElapsedTimeInSeconds(long long value)
Definition Snapshot.h:198
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition Snapshot.h:319
const Aws::Vector< Aws::String > & GetAccountsWithRestoreAccess() const
Definition Snapshot.h:67
Snapshot & WithAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT &&value)
Definition Snapshot.h:50
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:228
void SetEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:214
Snapshot & WithSnapshotRetentionStartTime(SnapshotRetentionStartTimeT &&value)
Definition Snapshot.h:395
void SetBackupProgressInMegaBytes(double value)
Definition Snapshot.h:165
void SetNamespaceName(NamespaceNameT &&value)
Definition Snapshot.h:268
void SetAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT &&value)
Definition Snapshot.h:45
Snapshot & WithOwnerAccount(OwnerAccountT &&value)
Definition Snapshot.h:291
const Aws::String & GetAdminPasswordSecretArn() const
Definition Snapshot.h:108
const Aws::String & GetSnapshotName() const
Definition Snapshot.h:337
void SetSnapshotArn(SnapshotArnT &&value)
Definition Snapshot.h:304
AWS_REDSHIFTSERVERLESS_API Snapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithSnapshotRemainingDays(int value)
Definition Snapshot.h:361
Snapshot & WithSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:345
const Aws::String & GetAdminUsername() const
Definition Snapshot.h:145
bool AccountsWithProvisionedRestoreAccessHasBeenSet() const
Definition Snapshot.h:43
Snapshot & WithNamespaceArn(NamespaceArnT &&value)
Definition Snapshot.h:255
void SetNamespaceArn(NamespaceArnT &&value)
Definition Snapshot.h:250
Snapshot & WithNamespaceName(NamespaceNameT &&value)
Definition Snapshot.h:273
Snapshot & WithElapsedTimeInSeconds(long long value)
Definition Snapshot.h:202
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
Definition Snapshot.h:127
Snapshot & WithSnapshotRetentionPeriod(int value)
Definition Snapshot.h:377
Snapshot & WithBackupProgressInMegaBytes(double value)
Definition Snapshot.h:169
AWS_REDSHIFTSERVERLESS_API Snapshot()=default
void SetAccountsWithRestoreAccess(AccountsWithRestoreAccessT &&value)
Definition Snapshot.h:70
Snapshot & WithSnapshotArn(SnapshotArnT &&value)
Definition Snapshot.h:309
bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const
Definition Snapshot.h:92
const Aws::Vector< Aws::String > & GetAccountsWithProvisionedRestoreAccess() const
Definition Snapshot.h:42
void SetAdminUsername(AdminUsernameT &&value)
Definition Snapshot.h:148
Snapshot & AddAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT &&value)
Definition Snapshot.h:55
const Aws::String & GetOwnerAccount() const
Definition Snapshot.h:283
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue