AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Snapshot.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/redshift-serverless/model/SnapshotStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace RedshiftServerless
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_REDSHIFTSERVERLESS_API Snapshot();
38 AWS_REDSHIFTSERVERLESS_API Snapshot(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REDSHIFTSERVERLESS_API Snapshot& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetAccountsWithProvisionedRestoreAccess() const{ return m_accountsWithProvisionedRestoreAccess; }
49 inline bool AccountsWithProvisionedRestoreAccessHasBeenSet() const { return m_accountsWithProvisionedRestoreAccessHasBeenSet; }
50 inline void SetAccountsWithProvisionedRestoreAccess(const Aws::Vector<Aws::String>& value) { m_accountsWithProvisionedRestoreAccessHasBeenSet = true; m_accountsWithProvisionedRestoreAccess = value; }
51 inline void SetAccountsWithProvisionedRestoreAccess(Aws::Vector<Aws::String>&& value) { m_accountsWithProvisionedRestoreAccessHasBeenSet = true; m_accountsWithProvisionedRestoreAccess = std::move(value); }
54 inline Snapshot& AddAccountsWithProvisionedRestoreAccess(const Aws::String& value) { m_accountsWithProvisionedRestoreAccessHasBeenSet = true; m_accountsWithProvisionedRestoreAccess.push_back(value); return *this; }
55 inline Snapshot& AddAccountsWithProvisionedRestoreAccess(Aws::String&& value) { m_accountsWithProvisionedRestoreAccessHasBeenSet = true; m_accountsWithProvisionedRestoreAccess.push_back(std::move(value)); return *this; }
56 inline Snapshot& AddAccountsWithProvisionedRestoreAccess(const char* value) { m_accountsWithProvisionedRestoreAccessHasBeenSet = true; m_accountsWithProvisionedRestoreAccess.push_back(value); return *this; }
58
60
64 inline const Aws::Vector<Aws::String>& GetAccountsWithRestoreAccess() const{ return m_accountsWithRestoreAccess; }
65 inline bool AccountsWithRestoreAccessHasBeenSet() const { return m_accountsWithRestoreAccessHasBeenSet; }
66 inline void SetAccountsWithRestoreAccess(const Aws::Vector<Aws::String>& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess = value; }
67 inline void SetAccountsWithRestoreAccess(Aws::Vector<Aws::String>&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess = std::move(value); }
70 inline Snapshot& AddAccountsWithRestoreAccess(const Aws::String& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.push_back(value); return *this; }
71 inline Snapshot& AddAccountsWithRestoreAccess(Aws::String&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.push_back(std::move(value)); return *this; }
72 inline Snapshot& AddAccountsWithRestoreAccess(const char* value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.push_back(value); return *this; }
74
76
79 inline double GetActualIncrementalBackupSizeInMegaBytes() const{ return m_actualIncrementalBackupSizeInMegaBytes; }
80 inline bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const { return m_actualIncrementalBackupSizeInMegaBytesHasBeenSet; }
81 inline void SetActualIncrementalBackupSizeInMegaBytes(double value) { m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = true; m_actualIncrementalBackupSizeInMegaBytes = value; }
84
86
90 inline const Aws::String& GetAdminPasswordSecretArn() const{ return m_adminPasswordSecretArn; }
91 inline bool AdminPasswordSecretArnHasBeenSet() const { return m_adminPasswordSecretArnHasBeenSet; }
92 inline void SetAdminPasswordSecretArn(const Aws::String& value) { m_adminPasswordSecretArnHasBeenSet = true; m_adminPasswordSecretArn = value; }
93 inline void SetAdminPasswordSecretArn(Aws::String&& value) { m_adminPasswordSecretArnHasBeenSet = true; m_adminPasswordSecretArn = std::move(value); }
94 inline void SetAdminPasswordSecretArn(const char* value) { m_adminPasswordSecretArnHasBeenSet = true; m_adminPasswordSecretArn.assign(value); }
95 inline Snapshot& WithAdminPasswordSecretArn(const Aws::String& value) { SetAdminPasswordSecretArn(value); return *this;}
96 inline Snapshot& WithAdminPasswordSecretArn(Aws::String&& value) { SetAdminPasswordSecretArn(std::move(value)); return *this;}
97 inline Snapshot& WithAdminPasswordSecretArn(const char* value) { SetAdminPasswordSecretArn(value); return *this;}
99
101
105 inline const Aws::String& GetAdminPasswordSecretKmsKeyId() const{ return m_adminPasswordSecretKmsKeyId; }
106 inline bool AdminPasswordSecretKmsKeyIdHasBeenSet() const { return m_adminPasswordSecretKmsKeyIdHasBeenSet; }
107 inline void SetAdminPasswordSecretKmsKeyId(const Aws::String& value) { m_adminPasswordSecretKmsKeyIdHasBeenSet = true; m_adminPasswordSecretKmsKeyId = value; }
108 inline void SetAdminPasswordSecretKmsKeyId(Aws::String&& value) { m_adminPasswordSecretKmsKeyIdHasBeenSet = true; m_adminPasswordSecretKmsKeyId = std::move(value); }
109 inline void SetAdminPasswordSecretKmsKeyId(const char* value) { m_adminPasswordSecretKmsKeyIdHasBeenSet = true; m_adminPasswordSecretKmsKeyId.assign(value); }
111 inline Snapshot& WithAdminPasswordSecretKmsKeyId(Aws::String&& value) { SetAdminPasswordSecretKmsKeyId(std::move(value)); return *this;}
112 inline Snapshot& WithAdminPasswordSecretKmsKeyId(const char* value) { SetAdminPasswordSecretKmsKeyId(value); return *this;}
114
116
119 inline const Aws::String& GetAdminUsername() const{ return m_adminUsername; }
120 inline bool AdminUsernameHasBeenSet() const { return m_adminUsernameHasBeenSet; }
121 inline void SetAdminUsername(const Aws::String& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = value; }
122 inline void SetAdminUsername(Aws::String&& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = std::move(value); }
123 inline void SetAdminUsername(const char* value) { m_adminUsernameHasBeenSet = true; m_adminUsername.assign(value); }
124 inline Snapshot& WithAdminUsername(const Aws::String& value) { SetAdminUsername(value); return *this;}
125 inline Snapshot& WithAdminUsername(Aws::String&& value) { SetAdminUsername(std::move(value)); return *this;}
126 inline Snapshot& WithAdminUsername(const char* value) { SetAdminUsername(value); return *this;}
128
130
133 inline double GetBackupProgressInMegaBytes() const{ return m_backupProgressInMegaBytes; }
134 inline bool BackupProgressInMegaBytesHasBeenSet() const { return m_backupProgressInMegaBytesHasBeenSet; }
135 inline void SetBackupProgressInMegaBytes(double value) { m_backupProgressInMegaBytesHasBeenSet = true; m_backupProgressInMegaBytes = value; }
136 inline Snapshot& WithBackupProgressInMegaBytes(double value) { SetBackupProgressInMegaBytes(value); return *this;}
138
140
144 inline double GetCurrentBackupRateInMegaBytesPerSecond() const{ return m_currentBackupRateInMegaBytesPerSecond; }
145 inline bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const { return m_currentBackupRateInMegaBytesPerSecondHasBeenSet; }
146 inline void SetCurrentBackupRateInMegaBytesPerSecond(double value) { m_currentBackupRateInMegaBytesPerSecondHasBeenSet = true; m_currentBackupRateInMegaBytesPerSecond = value; }
149
151
154 inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; }
155 inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; }
156 inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSecondsHasBeenSet = true; m_elapsedTimeInSeconds = value; }
157 inline Snapshot& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;}
159
161
164 inline long long GetEstimatedSecondsToCompletion() const{ return m_estimatedSecondsToCompletion; }
165 inline bool EstimatedSecondsToCompletionHasBeenSet() const { return m_estimatedSecondsToCompletionHasBeenSet; }
166 inline void SetEstimatedSecondsToCompletion(long long value) { m_estimatedSecondsToCompletionHasBeenSet = true; m_estimatedSecondsToCompletion = value; }
167 inline Snapshot& WithEstimatedSecondsToCompletion(long long value) { SetEstimatedSecondsToCompletion(value); return *this;}
169
171
174 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
175 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
176 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
177 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
178 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
179 inline Snapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
180 inline Snapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
181 inline Snapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
183
185
189 inline const Aws::String& GetNamespaceArn() const{ return m_namespaceArn; }
190 inline bool NamespaceArnHasBeenSet() const { return m_namespaceArnHasBeenSet; }
191 inline void SetNamespaceArn(const Aws::String& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = value; }
192 inline void SetNamespaceArn(Aws::String&& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = std::move(value); }
193 inline void SetNamespaceArn(const char* value) { m_namespaceArnHasBeenSet = true; m_namespaceArn.assign(value); }
194 inline Snapshot& WithNamespaceArn(const Aws::String& value) { SetNamespaceArn(value); return *this;}
195 inline Snapshot& WithNamespaceArn(Aws::String&& value) { SetNamespaceArn(std::move(value)); return *this;}
196 inline Snapshot& WithNamespaceArn(const char* value) { SetNamespaceArn(value); return *this;}
198
200
203 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
204 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
205 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
206 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
207 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
208 inline Snapshot& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;}
209 inline Snapshot& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
210 inline Snapshot& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
212
214
217 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
218 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
219 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
220 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
221 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
222 inline Snapshot& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
223 inline Snapshot& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
224 inline Snapshot& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
226
228
231 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
232 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
233 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
234 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
235 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
236 inline Snapshot& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;}
237 inline Snapshot& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
238 inline Snapshot& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
240
242
245 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
246 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
247 inline void SetSnapshotCreateTime(const Aws::Utils::DateTime& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; }
248 inline void SetSnapshotCreateTime(Aws::Utils::DateTime&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::move(value); }
249 inline Snapshot& WithSnapshotCreateTime(const Aws::Utils::DateTime& value) { SetSnapshotCreateTime(value); return *this;}
250 inline Snapshot& WithSnapshotCreateTime(Aws::Utils::DateTime&& value) { SetSnapshotCreateTime(std::move(value)); return *this;}
252
254
257 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
258 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
259 inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
260 inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
261 inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
262 inline Snapshot& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
263 inline Snapshot& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
264 inline Snapshot& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
266
268
271 inline int GetSnapshotRemainingDays() const{ return m_snapshotRemainingDays; }
272 inline bool SnapshotRemainingDaysHasBeenSet() const { return m_snapshotRemainingDaysHasBeenSet; }
273 inline void SetSnapshotRemainingDays(int value) { m_snapshotRemainingDaysHasBeenSet = true; m_snapshotRemainingDays = value; }
274 inline Snapshot& WithSnapshotRemainingDays(int value) { SetSnapshotRemainingDays(value); return *this;}
276
278
281 inline int GetSnapshotRetentionPeriod() const{ return m_snapshotRetentionPeriod; }
282 inline bool SnapshotRetentionPeriodHasBeenSet() const { return m_snapshotRetentionPeriodHasBeenSet; }
283 inline void SetSnapshotRetentionPeriod(int value) { m_snapshotRetentionPeriodHasBeenSet = true; m_snapshotRetentionPeriod = value; }
284 inline Snapshot& WithSnapshotRetentionPeriod(int value) { SetSnapshotRetentionPeriod(value); return *this;}
286
288
291 inline const Aws::Utils::DateTime& GetSnapshotRetentionStartTime() const{ return m_snapshotRetentionStartTime; }
292 inline bool SnapshotRetentionStartTimeHasBeenSet() const { return m_snapshotRetentionStartTimeHasBeenSet; }
293 inline void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime& value) { m_snapshotRetentionStartTimeHasBeenSet = true; m_snapshotRetentionStartTime = value; }
294 inline void SetSnapshotRetentionStartTime(Aws::Utils::DateTime&& value) { m_snapshotRetentionStartTimeHasBeenSet = true; m_snapshotRetentionStartTime = std::move(value); }
298
300
303 inline const SnapshotStatus& GetStatus() const{ return m_status; }
304 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
305 inline void SetStatus(const SnapshotStatus& value) { m_statusHasBeenSet = true; m_status = value; }
306 inline void SetStatus(SnapshotStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
307 inline Snapshot& WithStatus(const SnapshotStatus& value) { SetStatus(value); return *this;}
308 inline Snapshot& WithStatus(SnapshotStatus&& value) { SetStatus(std::move(value)); return *this;}
310
312
315 inline double GetTotalBackupSizeInMegaBytes() const{ return m_totalBackupSizeInMegaBytes; }
316 inline bool TotalBackupSizeInMegaBytesHasBeenSet() const { return m_totalBackupSizeInMegaBytesHasBeenSet; }
317 inline void SetTotalBackupSizeInMegaBytes(double value) { m_totalBackupSizeInMegaBytesHasBeenSet = true; m_totalBackupSizeInMegaBytes = value; }
318 inline Snapshot& WithTotalBackupSizeInMegaBytes(double value) { SetTotalBackupSizeInMegaBytes(value); return *this;}
320 private:
321
322 Aws::Vector<Aws::String> m_accountsWithProvisionedRestoreAccess;
323 bool m_accountsWithProvisionedRestoreAccessHasBeenSet = false;
324
325 Aws::Vector<Aws::String> m_accountsWithRestoreAccess;
326 bool m_accountsWithRestoreAccessHasBeenSet = false;
327
328 double m_actualIncrementalBackupSizeInMegaBytes;
329 bool m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = false;
330
331 Aws::String m_adminPasswordSecretArn;
332 bool m_adminPasswordSecretArnHasBeenSet = false;
333
334 Aws::String m_adminPasswordSecretKmsKeyId;
335 bool m_adminPasswordSecretKmsKeyIdHasBeenSet = false;
336
337 Aws::String m_adminUsername;
338 bool m_adminUsernameHasBeenSet = false;
339
340 double m_backupProgressInMegaBytes;
341 bool m_backupProgressInMegaBytesHasBeenSet = false;
342
343 double m_currentBackupRateInMegaBytesPerSecond;
344 bool m_currentBackupRateInMegaBytesPerSecondHasBeenSet = false;
345
346 long long m_elapsedTimeInSeconds;
347 bool m_elapsedTimeInSecondsHasBeenSet = false;
348
349 long long m_estimatedSecondsToCompletion;
350 bool m_estimatedSecondsToCompletionHasBeenSet = false;
351
352 Aws::String m_kmsKeyId;
353 bool m_kmsKeyIdHasBeenSet = false;
354
355 Aws::String m_namespaceArn;
356 bool m_namespaceArnHasBeenSet = false;
357
358 Aws::String m_namespaceName;
359 bool m_namespaceNameHasBeenSet = false;
360
361 Aws::String m_ownerAccount;
362 bool m_ownerAccountHasBeenSet = false;
363
364 Aws::String m_snapshotArn;
365 bool m_snapshotArnHasBeenSet = false;
366
367 Aws::Utils::DateTime m_snapshotCreateTime;
368 bool m_snapshotCreateTimeHasBeenSet = false;
369
370 Aws::String m_snapshotName;
371 bool m_snapshotNameHasBeenSet = false;
372
373 int m_snapshotRemainingDays;
374 bool m_snapshotRemainingDaysHasBeenSet = false;
375
376 int m_snapshotRetentionPeriod;
377 bool m_snapshotRetentionPeriodHasBeenSet = false;
378
379 Aws::Utils::DateTime m_snapshotRetentionStartTime;
380 bool m_snapshotRetentionStartTimeHasBeenSet = false;
381
382 SnapshotStatus m_status;
383 bool m_statusHasBeenSet = false;
384
385 double m_totalBackupSizeInMegaBytes;
386 bool m_totalBackupSizeInMegaBytesHasBeenSet = false;
387 };
388
389} // namespace Model
390} // namespace RedshiftServerless
391} // namespace Aws
void SetNamespaceName(Aws::String &&value)
Definition Snapshot.h:206
void SetStatus(const SnapshotStatus &value)
Definition Snapshot.h:305
Snapshot & WithEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:167
void SetNamespaceArn(Aws::String &&value)
Definition Snapshot.h:192
long long GetEstimatedSecondsToCompletion() const
Definition Snapshot.h:164
Snapshot & WithAccountsWithProvisionedRestoreAccess(const Aws::Vector< Aws::String > &value)
Definition Snapshot.h:52
void SetSnapshotName(Aws::String &&value)
Definition Snapshot.h:260
AWS_REDSHIFTSERVERLESS_API Snapshot(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:318
Snapshot & WithNamespaceName(const char *value)
Definition Snapshot.h:210
Snapshot & WithAdminUsername(Aws::String &&value)
Definition Snapshot.h:125
void SetAdminPasswordSecretKmsKeyId(const char *value)
Definition Snapshot.h:109
Snapshot & WithAdminPasswordSecretArn(const Aws::String &value)
Definition Snapshot.h:95
void SetAdminPasswordSecretArn(const char *value)
Definition Snapshot.h:94
Snapshot & WithSnapshotName(Aws::String &&value)
Definition Snapshot.h:263
Snapshot & WithSnapshotName(const char *value)
Definition Snapshot.h:264
void SetOwnerAccount(const Aws::String &value)
Definition Snapshot.h:219
const Aws::String & GetNamespaceArn() const
Definition Snapshot.h:189
Snapshot & WithAdminPasswordSecretKmsKeyId(const char *value)
Definition Snapshot.h:112
void SetNamespaceArn(const Aws::String &value)
Definition Snapshot.h:191
Snapshot & WithOwnerAccount(const char *value)
Definition Snapshot.h:224
Snapshot & WithAdminUsername(const char *value)
Definition Snapshot.h:126
void SetCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:146
double GetActualIncrementalBackupSizeInMegaBytes() const
Definition Snapshot.h:79
bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const
Definition Snapshot.h:145
void SetSnapshotArn(const Aws::String &value)
Definition Snapshot.h:233
Snapshot & AddAccountsWithProvisionedRestoreAccess(const char *value)
Definition Snapshot.h:56
void SetSnapshotName(const char *value)
Definition Snapshot.h:261
Snapshot & WithSnapshotArn(const char *value)
Definition Snapshot.h:238
void SetSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:294
Snapshot & WithAdminPasswordSecretArn(Aws::String &&value)
Definition Snapshot.h:96
const SnapshotStatus & GetStatus() const
Definition Snapshot.h:303
Snapshot & WithNamespaceName(const Aws::String &value)
Definition Snapshot.h:208
Snapshot & WithOwnerAccount(const Aws::String &value)
Definition Snapshot.h:222
const Aws::Utils::DateTime & GetSnapshotRetentionStartTime() const
Definition Snapshot.h:291
void SetNamespaceName(const char *value)
Definition Snapshot.h:207
Snapshot & WithSnapshotArn(Aws::String &&value)
Definition Snapshot.h:237
void SetOwnerAccount(Aws::String &&value)
Definition Snapshot.h:220
const Aws::String & GetNamespaceName() const
Definition Snapshot.h:203
Snapshot & WithCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:147
Snapshot & WithActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:82
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountsWithRestoreAccess(Aws::Vector< Aws::String > &&value)
Definition Snapshot.h:67
const Aws::String & GetSnapshotArn() const
Definition Snapshot.h:231
Snapshot & WithOwnerAccount(Aws::String &&value)
Definition Snapshot.h:223
void SetTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:317
void SetOwnerAccount(const char *value)
Definition Snapshot.h:221
void SetActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:81
void SetAccountsWithRestoreAccess(const Aws::Vector< Aws::String > &value)
Definition Snapshot.h:66
AWS_REDSHIFTSERVERLESS_API Snapshot()
Snapshot & WithStatus(const SnapshotStatus &value)
Definition Snapshot.h:307
void SetAdminPasswordSecretKmsKeyId(const Aws::String &value)
Definition Snapshot.h:107
double GetCurrentBackupRateInMegaBytesPerSecond() const
Definition Snapshot.h:144
void SetElapsedTimeInSeconds(long long value)
Definition Snapshot.h:156
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:248
Snapshot & WithNamespaceArn(const Aws::String &value)
Definition Snapshot.h:194
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition Snapshot.h:245
Snapshot & WithSnapshotName(const Aws::String &value)
Definition Snapshot.h:262
Snapshot & WithKmsKeyId(const char *value)
Definition Snapshot.h:181
const Aws::Vector< Aws::String > & GetAccountsWithRestoreAccess() const
Definition Snapshot.h:64
Snapshot & WithAdminPasswordSecretKmsKeyId(const Aws::String &value)
Definition Snapshot.h:110
Snapshot & WithSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:295
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:174
void SetEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:166
Snapshot & WithAdminPasswordSecretArn(const char *value)
Definition Snapshot.h:97
void SetAdminPasswordSecretArn(Aws::String &&value)
Definition Snapshot.h:93
void SetBackupProgressInMegaBytes(double value)
Definition Snapshot.h:135
Snapshot & WithNamespaceName(Aws::String &&value)
Definition Snapshot.h:209
Snapshot & WithStatus(SnapshotStatus &&value)
Definition Snapshot.h:308
void SetKmsKeyId(const Aws::String &value)
Definition Snapshot.h:176
void SetNamespaceName(const Aws::String &value)
Definition Snapshot.h:205
Snapshot & AddAccountsWithRestoreAccess(const char *value)
Definition Snapshot.h:72
const Aws::String & GetAdminPasswordSecretArn() const
Definition Snapshot.h:90
void SetAdminPasswordSecretArn(const Aws::String &value)
Definition Snapshot.h:92
const Aws::String & GetSnapshotName() const
Definition Snapshot.h:257
void SetSnapshotArn(Aws::String &&value)
Definition Snapshot.h:234
AWS_REDSHIFTSERVERLESS_API Snapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithSnapshotRemainingDays(int value)
Definition Snapshot.h:274
Snapshot & WithNamespaceArn(Aws::String &&value)
Definition Snapshot.h:195
Snapshot & WithAdminPasswordSecretKmsKeyId(Aws::String &&value)
Definition Snapshot.h:111
void SetSnapshotName(const Aws::String &value)
Definition Snapshot.h:259
Snapshot & WithSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:296
const Aws::String & GetAdminUsername() const
Definition Snapshot.h:119
void SetAdminPasswordSecretKmsKeyId(Aws::String &&value)
Definition Snapshot.h:108
void SetKmsKeyId(const char *value)
Definition Snapshot.h:178
bool AccountsWithProvisionedRestoreAccessHasBeenSet() const
Definition Snapshot.h:49
Snapshot & AddAccountsWithRestoreAccess(Aws::String &&value)
Definition Snapshot.h:71
void SetKmsKeyId(Aws::String &&value)
Definition Snapshot.h:177
void SetStatus(SnapshotStatus &&value)
Definition Snapshot.h:306
Snapshot & WithNamespaceArn(const char *value)
Definition Snapshot.h:196
Snapshot & AddAccountsWithProvisionedRestoreAccess(Aws::String &&value)
Definition Snapshot.h:55
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:247
void SetAdminUsername(const Aws::String &value)
Definition Snapshot.h:121
void SetAccountsWithProvisionedRestoreAccess(const Aws::Vector< Aws::String > &value)
Definition Snapshot.h:50
void SetAdminUsername(const char *value)
Definition Snapshot.h:123
Snapshot & WithAccountsWithProvisionedRestoreAccess(Aws::Vector< Aws::String > &&value)
Definition Snapshot.h:53
Snapshot & WithElapsedTimeInSeconds(long long value)
Definition Snapshot.h:157
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
Definition Snapshot.h:105
Snapshot & WithSnapshotRetentionPeriod(int value)
Definition Snapshot.h:284
Snapshot & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:249
Snapshot & WithBackupProgressInMegaBytes(double value)
Definition Snapshot.h:136
Snapshot & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:250
void SetNamespaceArn(const char *value)
Definition Snapshot.h:193
Snapshot & WithAccountsWithRestoreAccess(Aws::Vector< Aws::String > &&value)
Definition Snapshot.h:69
void SetAccountsWithProvisionedRestoreAccess(Aws::Vector< Aws::String > &&value)
Definition Snapshot.h:51
Snapshot & WithSnapshotArn(const Aws::String &value)
Definition Snapshot.h:236
Snapshot & AddAccountsWithProvisionedRestoreAccess(const Aws::String &value)
Definition Snapshot.h:54
Snapshot & WithKmsKeyId(Aws::String &&value)
Definition Snapshot.h:180
Snapshot & AddAccountsWithRestoreAccess(const Aws::String &value)
Definition Snapshot.h:70
Snapshot & WithAdminUsername(const Aws::String &value)
Definition Snapshot.h:124
Snapshot & WithAccountsWithRestoreAccess(const Aws::Vector< Aws::String > &value)
Definition Snapshot.h:68
void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:293
void SetAdminUsername(Aws::String &&value)
Definition Snapshot.h:122
bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const
Definition Snapshot.h:80
const Aws::Vector< Aws::String > & GetAccountsWithProvisionedRestoreAccess() const
Definition Snapshot.h:48
Snapshot & WithKmsKeyId(const Aws::String &value)
Definition Snapshot.h:179
void SetSnapshotArn(const char *value)
Definition Snapshot.h:235
const Aws::String & GetOwnerAccount() const
Definition Snapshot.h:217
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue