AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AccountsWithProvisionedRestoreAccessT = Aws::Vector<Aws::String>>
51 void SetAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT&& value) { m_accountsWithProvisionedRestoreAccessHasBeenSet = true; m_accountsWithProvisionedRestoreAccess = std::forward<AccountsWithProvisionedRestoreAccessT>(value); }
52 template<typename AccountsWithProvisionedRestoreAccessT = Aws::Vector<Aws::String>>
53 Snapshot& WithAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT&& value) { SetAccountsWithProvisionedRestoreAccess(std::forward<AccountsWithProvisionedRestoreAccessT>(value)); return *this;}
54 template<typename AccountsWithProvisionedRestoreAccessT = Aws::String>
55 Snapshot& AddAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT&& value) { m_accountsWithProvisionedRestoreAccessHasBeenSet = true; m_accountsWithProvisionedRestoreAccess.emplace_back(std::forward<AccountsWithProvisionedRestoreAccessT>(value)); return *this; }
57
59
63 inline const Aws::Vector<Aws::String>& GetAccountsWithRestoreAccess() const { return m_accountsWithRestoreAccess; }
64 inline bool AccountsWithRestoreAccessHasBeenSet() const { return m_accountsWithRestoreAccessHasBeenSet; }
65 template<typename AccountsWithRestoreAccessT = Aws::Vector<Aws::String>>
66 void SetAccountsWithRestoreAccess(AccountsWithRestoreAccessT&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess = std::forward<AccountsWithRestoreAccessT>(value); }
67 template<typename AccountsWithRestoreAccessT = Aws::Vector<Aws::String>>
68 Snapshot& WithAccountsWithRestoreAccess(AccountsWithRestoreAccessT&& value) { SetAccountsWithRestoreAccess(std::forward<AccountsWithRestoreAccessT>(value)); return *this;}
69 template<typename AccountsWithRestoreAccessT = Aws::String>
70 Snapshot& AddAccountsWithRestoreAccess(AccountsWithRestoreAccessT&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.emplace_back(std::forward<AccountsWithRestoreAccessT>(value)); return *this; }
72
74
77 inline double GetActualIncrementalBackupSizeInMegaBytes() const { return m_actualIncrementalBackupSizeInMegaBytes; }
78 inline bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const { return m_actualIncrementalBackupSizeInMegaBytesHasBeenSet; }
79 inline void SetActualIncrementalBackupSizeInMegaBytes(double value) { m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = true; m_actualIncrementalBackupSizeInMegaBytes = value; }
82
84
88 inline const Aws::String& GetAdminPasswordSecretArn() const { return m_adminPasswordSecretArn; }
89 inline bool AdminPasswordSecretArnHasBeenSet() const { return m_adminPasswordSecretArnHasBeenSet; }
90 template<typename AdminPasswordSecretArnT = Aws::String>
91 void SetAdminPasswordSecretArn(AdminPasswordSecretArnT&& value) { m_adminPasswordSecretArnHasBeenSet = true; m_adminPasswordSecretArn = std::forward<AdminPasswordSecretArnT>(value); }
92 template<typename AdminPasswordSecretArnT = Aws::String>
93 Snapshot& WithAdminPasswordSecretArn(AdminPasswordSecretArnT&& value) { SetAdminPasswordSecretArn(std::forward<AdminPasswordSecretArnT>(value)); return *this;}
95
97
101 inline const Aws::String& GetAdminPasswordSecretKmsKeyId() const { return m_adminPasswordSecretKmsKeyId; }
102 inline bool AdminPasswordSecretKmsKeyIdHasBeenSet() const { return m_adminPasswordSecretKmsKeyIdHasBeenSet; }
103 template<typename AdminPasswordSecretKmsKeyIdT = Aws::String>
104 void SetAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT&& value) { m_adminPasswordSecretKmsKeyIdHasBeenSet = true; m_adminPasswordSecretKmsKeyId = std::forward<AdminPasswordSecretKmsKeyIdT>(value); }
105 template<typename AdminPasswordSecretKmsKeyIdT = Aws::String>
106 Snapshot& WithAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT&& value) { SetAdminPasswordSecretKmsKeyId(std::forward<AdminPasswordSecretKmsKeyIdT>(value)); return *this;}
108
110
113 inline const Aws::String& GetAdminUsername() const { return m_adminUsername; }
114 inline bool AdminUsernameHasBeenSet() const { return m_adminUsernameHasBeenSet; }
115 template<typename AdminUsernameT = Aws::String>
116 void SetAdminUsername(AdminUsernameT&& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = std::forward<AdminUsernameT>(value); }
117 template<typename AdminUsernameT = Aws::String>
118 Snapshot& WithAdminUsername(AdminUsernameT&& value) { SetAdminUsername(std::forward<AdminUsernameT>(value)); return *this;}
120
122
125 inline double GetBackupProgressInMegaBytes() const { return m_backupProgressInMegaBytes; }
126 inline bool BackupProgressInMegaBytesHasBeenSet() const { return m_backupProgressInMegaBytesHasBeenSet; }
127 inline void SetBackupProgressInMegaBytes(double value) { m_backupProgressInMegaBytesHasBeenSet = true; m_backupProgressInMegaBytes = value; }
128 inline Snapshot& WithBackupProgressInMegaBytes(double value) { SetBackupProgressInMegaBytes(value); return *this;}
130
132
136 inline double GetCurrentBackupRateInMegaBytesPerSecond() const { return m_currentBackupRateInMegaBytesPerSecond; }
137 inline bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const { return m_currentBackupRateInMegaBytesPerSecondHasBeenSet; }
138 inline void SetCurrentBackupRateInMegaBytesPerSecond(double value) { m_currentBackupRateInMegaBytesPerSecondHasBeenSet = true; m_currentBackupRateInMegaBytesPerSecond = value; }
141
143
146 inline long long GetElapsedTimeInSeconds() const { return m_elapsedTimeInSeconds; }
147 inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; }
148 inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSecondsHasBeenSet = true; m_elapsedTimeInSeconds = value; }
149 inline Snapshot& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;}
151
153
156 inline long long GetEstimatedSecondsToCompletion() const { return m_estimatedSecondsToCompletion; }
157 inline bool EstimatedSecondsToCompletionHasBeenSet() const { return m_estimatedSecondsToCompletionHasBeenSet; }
158 inline void SetEstimatedSecondsToCompletion(long long value) { m_estimatedSecondsToCompletionHasBeenSet = true; m_estimatedSecondsToCompletion = value; }
159 inline Snapshot& WithEstimatedSecondsToCompletion(long long value) { SetEstimatedSecondsToCompletion(value); return *this;}
161
163
166 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
167 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
168 template<typename KmsKeyIdT = Aws::String>
169 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
170 template<typename KmsKeyIdT = Aws::String>
171 Snapshot& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
173
175
179 inline const Aws::String& GetNamespaceArn() const { return m_namespaceArn; }
180 inline bool NamespaceArnHasBeenSet() const { return m_namespaceArnHasBeenSet; }
181 template<typename NamespaceArnT = Aws::String>
182 void SetNamespaceArn(NamespaceArnT&& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = std::forward<NamespaceArnT>(value); }
183 template<typename NamespaceArnT = Aws::String>
184 Snapshot& WithNamespaceArn(NamespaceArnT&& value) { SetNamespaceArn(std::forward<NamespaceArnT>(value)); return *this;}
186
188
191 inline const Aws::String& GetNamespaceName() const { return m_namespaceName; }
192 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
193 template<typename NamespaceNameT = Aws::String>
194 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::forward<NamespaceNameT>(value); }
195 template<typename NamespaceNameT = Aws::String>
196 Snapshot& WithNamespaceName(NamespaceNameT&& value) { SetNamespaceName(std::forward<NamespaceNameT>(value)); return *this;}
198
200
203 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
204 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
205 template<typename OwnerAccountT = Aws::String>
206 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
207 template<typename OwnerAccountT = Aws::String>
208 Snapshot& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
210
212
215 inline const Aws::String& GetSnapshotArn() const { return m_snapshotArn; }
216 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
217 template<typename SnapshotArnT = Aws::String>
218 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
219 template<typename SnapshotArnT = Aws::String>
220 Snapshot& WithSnapshotArn(SnapshotArnT&& value) { SetSnapshotArn(std::forward<SnapshotArnT>(value)); return *this;}
222
224
227 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
228 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
229 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
230 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
231 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
232 Snapshot& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) { SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value)); return *this;}
234
236
239 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
240 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
241 template<typename SnapshotNameT = Aws::String>
242 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::forward<SnapshotNameT>(value); }
243 template<typename SnapshotNameT = Aws::String>
244 Snapshot& WithSnapshotName(SnapshotNameT&& value) { SetSnapshotName(std::forward<SnapshotNameT>(value)); return *this;}
246
248
251 inline int GetSnapshotRemainingDays() const { return m_snapshotRemainingDays; }
252 inline bool SnapshotRemainingDaysHasBeenSet() const { return m_snapshotRemainingDaysHasBeenSet; }
253 inline void SetSnapshotRemainingDays(int value) { m_snapshotRemainingDaysHasBeenSet = true; m_snapshotRemainingDays = value; }
254 inline Snapshot& WithSnapshotRemainingDays(int value) { SetSnapshotRemainingDays(value); return *this;}
256
258
261 inline int GetSnapshotRetentionPeriod() const { return m_snapshotRetentionPeriod; }
262 inline bool SnapshotRetentionPeriodHasBeenSet() const { return m_snapshotRetentionPeriodHasBeenSet; }
263 inline void SetSnapshotRetentionPeriod(int value) { m_snapshotRetentionPeriodHasBeenSet = true; m_snapshotRetentionPeriod = value; }
264 inline Snapshot& WithSnapshotRetentionPeriod(int value) { SetSnapshotRetentionPeriod(value); return *this;}
266
268
271 inline const Aws::Utils::DateTime& GetSnapshotRetentionStartTime() const { return m_snapshotRetentionStartTime; }
272 inline bool SnapshotRetentionStartTimeHasBeenSet() const { return m_snapshotRetentionStartTimeHasBeenSet; }
273 template<typename SnapshotRetentionStartTimeT = Aws::Utils::DateTime>
274 void SetSnapshotRetentionStartTime(SnapshotRetentionStartTimeT&& value) { m_snapshotRetentionStartTimeHasBeenSet = true; m_snapshotRetentionStartTime = std::forward<SnapshotRetentionStartTimeT>(value); }
275 template<typename SnapshotRetentionStartTimeT = Aws::Utils::DateTime>
276 Snapshot& WithSnapshotRetentionStartTime(SnapshotRetentionStartTimeT&& value) { SetSnapshotRetentionStartTime(std::forward<SnapshotRetentionStartTimeT>(value)); return *this;}
278
280
283 inline SnapshotStatus GetStatus() const { return m_status; }
284 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
285 inline void SetStatus(SnapshotStatus value) { m_statusHasBeenSet = true; m_status = value; }
286 inline Snapshot& WithStatus(SnapshotStatus value) { SetStatus(value); return *this;}
288
290
293 inline double GetTotalBackupSizeInMegaBytes() const { return m_totalBackupSizeInMegaBytes; }
294 inline bool TotalBackupSizeInMegaBytesHasBeenSet() const { return m_totalBackupSizeInMegaBytesHasBeenSet; }
295 inline void SetTotalBackupSizeInMegaBytes(double value) { m_totalBackupSizeInMegaBytesHasBeenSet = true; m_totalBackupSizeInMegaBytes = value; }
296 inline Snapshot& WithTotalBackupSizeInMegaBytes(double value) { SetTotalBackupSizeInMegaBytes(value); return *this;}
298 private:
299
300 Aws::Vector<Aws::String> m_accountsWithProvisionedRestoreAccess;
301 bool m_accountsWithProvisionedRestoreAccessHasBeenSet = false;
302
303 Aws::Vector<Aws::String> m_accountsWithRestoreAccess;
304 bool m_accountsWithRestoreAccessHasBeenSet = false;
305
306 double m_actualIncrementalBackupSizeInMegaBytes{0.0};
307 bool m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = false;
308
309 Aws::String m_adminPasswordSecretArn;
310 bool m_adminPasswordSecretArnHasBeenSet = false;
311
312 Aws::String m_adminPasswordSecretKmsKeyId;
313 bool m_adminPasswordSecretKmsKeyIdHasBeenSet = false;
314
315 Aws::String m_adminUsername;
316 bool m_adminUsernameHasBeenSet = false;
317
318 double m_backupProgressInMegaBytes{0.0};
319 bool m_backupProgressInMegaBytesHasBeenSet = false;
320
321 double m_currentBackupRateInMegaBytesPerSecond{0.0};
322 bool m_currentBackupRateInMegaBytesPerSecondHasBeenSet = false;
323
324 long long m_elapsedTimeInSeconds{0};
325 bool m_elapsedTimeInSecondsHasBeenSet = false;
326
327 long long m_estimatedSecondsToCompletion{0};
328 bool m_estimatedSecondsToCompletionHasBeenSet = false;
329
330 Aws::String m_kmsKeyId;
331 bool m_kmsKeyIdHasBeenSet = false;
332
333 Aws::String m_namespaceArn;
334 bool m_namespaceArnHasBeenSet = false;
335
336 Aws::String m_namespaceName;
337 bool m_namespaceNameHasBeenSet = false;
338
339 Aws::String m_ownerAccount;
340 bool m_ownerAccountHasBeenSet = false;
341
342 Aws::String m_snapshotArn;
343 bool m_snapshotArnHasBeenSet = false;
344
345 Aws::Utils::DateTime m_snapshotCreateTime{};
346 bool m_snapshotCreateTimeHasBeenSet = false;
347
348 Aws::String m_snapshotName;
349 bool m_snapshotNameHasBeenSet = false;
350
351 int m_snapshotRemainingDays{0};
352 bool m_snapshotRemainingDaysHasBeenSet = false;
353
354 int m_snapshotRetentionPeriod{0};
355 bool m_snapshotRetentionPeriodHasBeenSet = false;
356
357 Aws::Utils::DateTime m_snapshotRetentionStartTime{};
358 bool m_snapshotRetentionStartTimeHasBeenSet = false;
359
361 bool m_statusHasBeenSet = false;
362
363 double m_totalBackupSizeInMegaBytes{0.0};
364 bool m_totalBackupSizeInMegaBytesHasBeenSet = false;
365 };
366
367} // namespace Model
368} // namespace RedshiftServerless
369} // namespace Aws
Snapshot & WithAdminPasswordSecretArn(AdminPasswordSecretArnT &&value)
Definition Snapshot.h:93
void SetAdminPasswordSecretArn(AdminPasswordSecretArnT &&value)
Definition Snapshot.h:91
Snapshot & WithEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:159
long long GetEstimatedSecondsToCompletion() const
Definition Snapshot.h:156
Snapshot & AddAccountsWithRestoreAccess(AccountsWithRestoreAccessT &&value)
Definition Snapshot.h:70
void SetSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:242
AWS_REDSHIFTSERVERLESS_API Snapshot(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:296
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:171
Snapshot & WithAdminUsername(AdminUsernameT &&value)
Definition Snapshot.h:118
const Aws::String & GetNamespaceArn() const
Definition Snapshot.h:179
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
Definition Snapshot.h:230
void SetCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:138
double GetActualIncrementalBackupSizeInMegaBytes() const
Definition Snapshot.h:77
bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const
Definition Snapshot.h:137
void SetSnapshotRetentionStartTime(SnapshotRetentionStartTimeT &&value)
Definition Snapshot.h:274
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:169
Snapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
Definition Snapshot.h:232
const Aws::Utils::DateTime & GetSnapshotRetentionStartTime() const
Definition Snapshot.h:271
const Aws::String & GetNamespaceName() const
Definition Snapshot.h:191
Snapshot & WithCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:139
Snapshot & WithActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:80
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
Snapshot & WithStatus(SnapshotStatus value)
Definition Snapshot.h:286
const Aws::String & GetSnapshotArn() const
Definition Snapshot.h:215
void SetTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:295
void SetActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:79
void SetOwnerAccount(OwnerAccountT &&value)
Definition Snapshot.h:206
Snapshot & WithAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
Definition Snapshot.h:106
Snapshot & WithAccountsWithRestoreAccess(AccountsWithRestoreAccessT &&value)
Definition Snapshot.h:68
void SetAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
Definition Snapshot.h:104
void SetStatus(SnapshotStatus value)
Definition Snapshot.h:285
double GetCurrentBackupRateInMegaBytesPerSecond() const
Definition Snapshot.h:136
void SetElapsedTimeInSeconds(long long value)
Definition Snapshot.h:148
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition Snapshot.h:227
const Aws::Vector< Aws::String > & GetAccountsWithRestoreAccess() const
Definition Snapshot.h:63
Snapshot & WithAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT &&value)
Definition Snapshot.h:53
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:166
void SetEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:158
Snapshot & WithSnapshotRetentionStartTime(SnapshotRetentionStartTimeT &&value)
Definition Snapshot.h:276
void SetBackupProgressInMegaBytes(double value)
Definition Snapshot.h:127
void SetNamespaceName(NamespaceNameT &&value)
Definition Snapshot.h:194
void SetAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT &&value)
Definition Snapshot.h:51
Snapshot & WithOwnerAccount(OwnerAccountT &&value)
Definition Snapshot.h:208
const Aws::String & GetAdminPasswordSecretArn() const
Definition Snapshot.h:88
const Aws::String & GetSnapshotName() const
Definition Snapshot.h:239
void SetSnapshotArn(SnapshotArnT &&value)
Definition Snapshot.h:218
AWS_REDSHIFTSERVERLESS_API Snapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
Snapshot & WithSnapshotRemainingDays(int value)
Definition Snapshot.h:254
Snapshot & WithSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:244
const Aws::String & GetAdminUsername() const
Definition Snapshot.h:113
bool AccountsWithProvisionedRestoreAccessHasBeenSet() const
Definition Snapshot.h:49
Snapshot & WithNamespaceArn(NamespaceArnT &&value)
Definition Snapshot.h:184
void SetNamespaceArn(NamespaceArnT &&value)
Definition Snapshot.h:182
Snapshot & WithNamespaceName(NamespaceNameT &&value)
Definition Snapshot.h:196
Snapshot & WithElapsedTimeInSeconds(long long value)
Definition Snapshot.h:149
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
Definition Snapshot.h:101
Snapshot & WithSnapshotRetentionPeriod(int value)
Definition Snapshot.h:264
Snapshot & WithBackupProgressInMegaBytes(double value)
Definition Snapshot.h:128
AWS_REDSHIFTSERVERLESS_API Snapshot()=default
void SetAccountsWithRestoreAccess(AccountsWithRestoreAccessT &&value)
Definition Snapshot.h:66
Snapshot & WithSnapshotArn(SnapshotArnT &&value)
Definition Snapshot.h:220
bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const
Definition Snapshot.h:78
const Aws::Vector< Aws::String > & GetAccountsWithProvisionedRestoreAccess() const
Definition Snapshot.h:48
void SetAdminUsername(AdminUsernameT &&value)
Definition Snapshot.h:116
Snapshot & AddAccountsWithProvisionedRestoreAccess(AccountsWithProvisionedRestoreAccessT &&value)
Definition Snapshot.h:55
const Aws::String & GetOwnerAccount() const
Definition Snapshot.h:203
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue