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/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/model/AccountWithRestoreAccess.h>
13#include <aws/redshift/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_REDSHIFT_API Snapshot();
39 AWS_REDSHIFT_API Snapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_REDSHIFT_API Snapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
51 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
52 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
53 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
54 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
55 inline Snapshot& WithSnapshotIdentifier(const Aws::String& value) { SetSnapshotIdentifier(value); return *this;}
56 inline Snapshot& WithSnapshotIdentifier(Aws::String&& value) { SetSnapshotIdentifier(std::move(value)); return *this;}
57 inline Snapshot& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
59
61
64 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
65 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
66 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
67 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
68 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
69 inline Snapshot& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
70 inline Snapshot& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
71 inline Snapshot& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
73
75
79 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
80 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
81 inline void SetSnapshotCreateTime(const Aws::Utils::DateTime& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; }
82 inline void SetSnapshotCreateTime(Aws::Utils::DateTime&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::move(value); }
83 inline Snapshot& WithSnapshotCreateTime(const Aws::Utils::DateTime& value) { SetSnapshotCreateTime(value); return *this;}
84 inline Snapshot& WithSnapshotCreateTime(Aws::Utils::DateTime&& value) { SetSnapshotCreateTime(std::move(value)); return *this;}
86
88
96 inline const Aws::String& GetStatus() const{ return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
99 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
100 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
101 inline Snapshot& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
102 inline Snapshot& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
103 inline Snapshot& WithStatus(const char* value) { SetStatus(value); return *this;}
105
107
110 inline int GetPort() const{ return m_port; }
111 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
112 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
113 inline Snapshot& WithPort(int value) { SetPort(value); return *this;}
115
117
120 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
121 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
122 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
123 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
124 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
125 inline Snapshot& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
126 inline Snapshot& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
127 inline Snapshot& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetClusterCreateTime() const{ return m_clusterCreateTime; }
135 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
136 inline void SetClusterCreateTime(const Aws::Utils::DateTime& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = value; }
137 inline void SetClusterCreateTime(Aws::Utils::DateTime&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::move(value); }
138 inline Snapshot& WithClusterCreateTime(const Aws::Utils::DateTime& value) { SetClusterCreateTime(value); return *this;}
139 inline Snapshot& WithClusterCreateTime(Aws::Utils::DateTime&& value) { SetClusterCreateTime(std::move(value)); return *this;}
141
143
146 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
147 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
148 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
149 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
150 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
151 inline Snapshot& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
152 inline Snapshot& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
153 inline Snapshot& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
155
157
161 inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
162 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
163 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
164 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
165 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
166 inline Snapshot& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
167 inline Snapshot& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
168 inline Snapshot& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
170
172
176 inline const Aws::String& GetEngineFullVersion() const{ return m_engineFullVersion; }
177 inline bool EngineFullVersionHasBeenSet() const { return m_engineFullVersionHasBeenSet; }
178 inline void SetEngineFullVersion(const Aws::String& value) { m_engineFullVersionHasBeenSet = true; m_engineFullVersion = value; }
179 inline void SetEngineFullVersion(Aws::String&& value) { m_engineFullVersionHasBeenSet = true; m_engineFullVersion = std::move(value); }
180 inline void SetEngineFullVersion(const char* value) { m_engineFullVersionHasBeenSet = true; m_engineFullVersion.assign(value); }
181 inline Snapshot& WithEngineFullVersion(const Aws::String& value) { SetEngineFullVersion(value); return *this;}
182 inline Snapshot& WithEngineFullVersion(Aws::String&& value) { SetEngineFullVersion(std::move(value)); return *this;}
183 inline Snapshot& WithEngineFullVersion(const char* value) { SetEngineFullVersion(value); return *this;}
185
187
191 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
192 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
193 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
194 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
195 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
196 inline Snapshot& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
197 inline Snapshot& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
198 inline Snapshot& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
200
202
205 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
206 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
207 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
208 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
209 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
210 inline Snapshot& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
211 inline Snapshot& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
212 inline Snapshot& WithNodeType(const char* value) { SetNodeType(value); return *this;}
214
216
219 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
220 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
221 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
222 inline Snapshot& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
224
226
229 inline const Aws::String& GetDBName() const{ return m_dBName; }
230 inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; }
231 inline void SetDBName(const Aws::String& value) { m_dBNameHasBeenSet = true; m_dBName = value; }
232 inline void SetDBName(Aws::String&& value) { m_dBNameHasBeenSet = true; m_dBName = std::move(value); }
233 inline void SetDBName(const char* value) { m_dBNameHasBeenSet = true; m_dBName.assign(value); }
234 inline Snapshot& WithDBName(const Aws::String& value) { SetDBName(value); return *this;}
235 inline Snapshot& WithDBName(Aws::String&& value) { SetDBName(std::move(value)); return *this;}
236 inline Snapshot& WithDBName(const char* value) { SetDBName(value); return *this;}
238
240
244 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
245 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
246 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
247 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
248 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
249 inline Snapshot& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
250 inline Snapshot& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
251 inline Snapshot& WithVpcId(const char* value) { SetVpcId(value); return *this;}
253
255
258 inline bool GetEncrypted() const{ return m_encrypted; }
259 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
260 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
261 inline Snapshot& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
263
265
269 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
270 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
271 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
272 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
273 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
274 inline Snapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
275 inline Snapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
276 inline Snapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
278
280
285 inline bool GetEncryptedWithHSM() const{ return m_encryptedWithHSM; }
286 inline bool EncryptedWithHSMHasBeenSet() const { return m_encryptedWithHSMHasBeenSet; }
287 inline void SetEncryptedWithHSM(bool value) { m_encryptedWithHSMHasBeenSet = true; m_encryptedWithHSM = value; }
288 inline Snapshot& WithEncryptedWithHSM(bool value) { SetEncryptedWithHSM(value); return *this;}
290
292
297 inline const Aws::Vector<AccountWithRestoreAccess>& GetAccountsWithRestoreAccess() const{ return m_accountsWithRestoreAccess; }
298 inline bool AccountsWithRestoreAccessHasBeenSet() const { return m_accountsWithRestoreAccessHasBeenSet; }
299 inline void SetAccountsWithRestoreAccess(const Aws::Vector<AccountWithRestoreAccess>& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess = value; }
300 inline void SetAccountsWithRestoreAccess(Aws::Vector<AccountWithRestoreAccess>&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess = std::move(value); }
303 inline Snapshot& AddAccountsWithRestoreAccess(const AccountWithRestoreAccess& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.push_back(value); return *this; }
304 inline Snapshot& AddAccountsWithRestoreAccess(AccountWithRestoreAccess&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.push_back(std::move(value)); return *this; }
306
308
313 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
314 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
315 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
316 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
317 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
318 inline Snapshot& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
319 inline Snapshot& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
320 inline Snapshot& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
322
324
328 inline double GetTotalBackupSizeInMegaBytes() const{ return m_totalBackupSizeInMegaBytes; }
329 inline bool TotalBackupSizeInMegaBytesHasBeenSet() const { return m_totalBackupSizeInMegaBytesHasBeenSet; }
330 inline void SetTotalBackupSizeInMegaBytes(double value) { m_totalBackupSizeInMegaBytesHasBeenSet = true; m_totalBackupSizeInMegaBytes = value; }
331 inline Snapshot& WithTotalBackupSizeInMegaBytes(double value) { SetTotalBackupSizeInMegaBytes(value); return *this;}
333
335
338 inline double GetActualIncrementalBackupSizeInMegaBytes() const{ return m_actualIncrementalBackupSizeInMegaBytes; }
339 inline bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const { return m_actualIncrementalBackupSizeInMegaBytesHasBeenSet; }
340 inline void SetActualIncrementalBackupSizeInMegaBytes(double value) { m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = true; m_actualIncrementalBackupSizeInMegaBytes = value; }
343
345
349 inline double GetBackupProgressInMegaBytes() const{ return m_backupProgressInMegaBytes; }
350 inline bool BackupProgressInMegaBytesHasBeenSet() const { return m_backupProgressInMegaBytesHasBeenSet; }
351 inline void SetBackupProgressInMegaBytes(double value) { m_backupProgressInMegaBytesHasBeenSet = true; m_backupProgressInMegaBytes = value; }
352 inline Snapshot& WithBackupProgressInMegaBytes(double value) { SetBackupProgressInMegaBytes(value); return *this;}
354
356
360 inline double GetCurrentBackupRateInMegaBytesPerSecond() const{ return m_currentBackupRateInMegaBytesPerSecond; }
361 inline bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const { return m_currentBackupRateInMegaBytesPerSecondHasBeenSet; }
362 inline void SetCurrentBackupRateInMegaBytesPerSecond(double value) { m_currentBackupRateInMegaBytesPerSecondHasBeenSet = true; m_currentBackupRateInMegaBytesPerSecond = value; }
365
367
371 inline long long GetEstimatedSecondsToCompletion() const{ return m_estimatedSecondsToCompletion; }
372 inline bool EstimatedSecondsToCompletionHasBeenSet() const { return m_estimatedSecondsToCompletionHasBeenSet; }
373 inline void SetEstimatedSecondsToCompletion(long long value) { m_estimatedSecondsToCompletionHasBeenSet = true; m_estimatedSecondsToCompletion = value; }
374 inline Snapshot& WithEstimatedSecondsToCompletion(long long value) { SetEstimatedSecondsToCompletion(value); return *this;}
376
378
382 inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; }
383 inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; }
384 inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSecondsHasBeenSet = true; m_elapsedTimeInSeconds = value; }
385 inline Snapshot& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;}
387
389
392 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
393 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
394 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
395 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); }
396 inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); }
397 inline Snapshot& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
398 inline Snapshot& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
399 inline Snapshot& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
401
403
406 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
407 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
408 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
409 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
410 inline Snapshot& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
411 inline Snapshot& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
412 inline Snapshot& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
413 inline Snapshot& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
415
417
421 inline const Aws::Vector<Aws::String>& GetRestorableNodeTypes() const{ return m_restorableNodeTypes; }
422 inline bool RestorableNodeTypesHasBeenSet() const { return m_restorableNodeTypesHasBeenSet; }
423 inline void SetRestorableNodeTypes(const Aws::Vector<Aws::String>& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes = value; }
424 inline void SetRestorableNodeTypes(Aws::Vector<Aws::String>&& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes = std::move(value); }
426 inline Snapshot& WithRestorableNodeTypes(Aws::Vector<Aws::String>&& value) { SetRestorableNodeTypes(std::move(value)); return *this;}
427 inline Snapshot& AddRestorableNodeTypes(const Aws::String& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes.push_back(value); return *this; }
428 inline Snapshot& AddRestorableNodeTypes(Aws::String&& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes.push_back(std::move(value)); return *this; }
429 inline Snapshot& AddRestorableNodeTypes(const char* value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes.push_back(value); return *this; }
431
433
442 inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
443 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
444 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
445 inline Snapshot& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;}
447
449
452 inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
453 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
454 inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
455 inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
456 inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
457 inline Snapshot& WithMaintenanceTrackName(const Aws::String& value) { SetMaintenanceTrackName(value); return *this;}
458 inline Snapshot& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;}
459 inline Snapshot& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;}
461
463
468 inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; }
469 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
470 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
473
475
479 inline int GetManualSnapshotRemainingDays() const{ return m_manualSnapshotRemainingDays; }
480 inline bool ManualSnapshotRemainingDaysHasBeenSet() const { return m_manualSnapshotRemainingDaysHasBeenSet; }
481 inline void SetManualSnapshotRemainingDays(int value) { m_manualSnapshotRemainingDaysHasBeenSet = true; m_manualSnapshotRemainingDays = value; }
484
486
490 inline const Aws::Utils::DateTime& GetSnapshotRetentionStartTime() const{ return m_snapshotRetentionStartTime; }
491 inline bool SnapshotRetentionStartTimeHasBeenSet() const { return m_snapshotRetentionStartTimeHasBeenSet; }
492 inline void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime& value) { m_snapshotRetentionStartTimeHasBeenSet = true; m_snapshotRetentionStartTime = value; }
493 inline void SetSnapshotRetentionStartTime(Aws::Utils::DateTime&& value) { m_snapshotRetentionStartTimeHasBeenSet = true; m_snapshotRetentionStartTime = std::move(value); }
497
499
503 inline const Aws::String& GetMasterPasswordSecretArn() const{ return m_masterPasswordSecretArn; }
504 inline bool MasterPasswordSecretArnHasBeenSet() const { return m_masterPasswordSecretArnHasBeenSet; }
505 inline void SetMasterPasswordSecretArn(const Aws::String& value) { m_masterPasswordSecretArnHasBeenSet = true; m_masterPasswordSecretArn = value; }
506 inline void SetMasterPasswordSecretArn(Aws::String&& value) { m_masterPasswordSecretArnHasBeenSet = true; m_masterPasswordSecretArn = std::move(value); }
507 inline void SetMasterPasswordSecretArn(const char* value) { m_masterPasswordSecretArnHasBeenSet = true; m_masterPasswordSecretArn.assign(value); }
508 inline Snapshot& WithMasterPasswordSecretArn(const Aws::String& value) { SetMasterPasswordSecretArn(value); return *this;}
509 inline Snapshot& WithMasterPasswordSecretArn(Aws::String&& value) { SetMasterPasswordSecretArn(std::move(value)); return *this;}
510 inline Snapshot& WithMasterPasswordSecretArn(const char* value) { SetMasterPasswordSecretArn(value); return *this;}
512
514
518 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const{ return m_masterPasswordSecretKmsKeyId; }
519 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
520 inline void SetMasterPasswordSecretKmsKeyId(const Aws::String& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = value; }
521 inline void SetMasterPasswordSecretKmsKeyId(Aws::String&& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = std::move(value); }
522 inline void SetMasterPasswordSecretKmsKeyId(const char* value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId.assign(value); }
525 inline Snapshot& WithMasterPasswordSecretKmsKeyId(const char* value) { SetMasterPasswordSecretKmsKeyId(value); return *this;}
527
529
532 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
533 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
534 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
535 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
536 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
537 inline Snapshot& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;}
538 inline Snapshot& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
539 inline Snapshot& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
541 private:
542
543 Aws::String m_snapshotIdentifier;
544 bool m_snapshotIdentifierHasBeenSet = false;
545
546 Aws::String m_clusterIdentifier;
547 bool m_clusterIdentifierHasBeenSet = false;
548
549 Aws::Utils::DateTime m_snapshotCreateTime;
550 bool m_snapshotCreateTimeHasBeenSet = false;
551
552 Aws::String m_status;
553 bool m_statusHasBeenSet = false;
554
555 int m_port;
556 bool m_portHasBeenSet = false;
557
558 Aws::String m_availabilityZone;
559 bool m_availabilityZoneHasBeenSet = false;
560
561 Aws::Utils::DateTime m_clusterCreateTime;
562 bool m_clusterCreateTimeHasBeenSet = false;
563
564 Aws::String m_masterUsername;
565 bool m_masterUsernameHasBeenSet = false;
566
567 Aws::String m_clusterVersion;
568 bool m_clusterVersionHasBeenSet = false;
569
570 Aws::String m_engineFullVersion;
571 bool m_engineFullVersionHasBeenSet = false;
572
573 Aws::String m_snapshotType;
574 bool m_snapshotTypeHasBeenSet = false;
575
576 Aws::String m_nodeType;
577 bool m_nodeTypeHasBeenSet = false;
578
579 int m_numberOfNodes;
580 bool m_numberOfNodesHasBeenSet = false;
581
582 Aws::String m_dBName;
583 bool m_dBNameHasBeenSet = false;
584
585 Aws::String m_vpcId;
586 bool m_vpcIdHasBeenSet = false;
587
588 bool m_encrypted;
589 bool m_encryptedHasBeenSet = false;
590
591 Aws::String m_kmsKeyId;
592 bool m_kmsKeyIdHasBeenSet = false;
593
594 bool m_encryptedWithHSM;
595 bool m_encryptedWithHSMHasBeenSet = false;
596
597 Aws::Vector<AccountWithRestoreAccess> m_accountsWithRestoreAccess;
598 bool m_accountsWithRestoreAccessHasBeenSet = false;
599
600 Aws::String m_ownerAccount;
601 bool m_ownerAccountHasBeenSet = false;
602
603 double m_totalBackupSizeInMegaBytes;
604 bool m_totalBackupSizeInMegaBytesHasBeenSet = false;
605
606 double m_actualIncrementalBackupSizeInMegaBytes;
607 bool m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = false;
608
609 double m_backupProgressInMegaBytes;
610 bool m_backupProgressInMegaBytesHasBeenSet = false;
611
612 double m_currentBackupRateInMegaBytesPerSecond;
613 bool m_currentBackupRateInMegaBytesPerSecondHasBeenSet = false;
614
615 long long m_estimatedSecondsToCompletion;
616 bool m_estimatedSecondsToCompletionHasBeenSet = false;
617
618 long long m_elapsedTimeInSeconds;
619 bool m_elapsedTimeInSecondsHasBeenSet = false;
620
621 Aws::String m_sourceRegion;
622 bool m_sourceRegionHasBeenSet = false;
623
624 Aws::Vector<Tag> m_tags;
625 bool m_tagsHasBeenSet = false;
626
627 Aws::Vector<Aws::String> m_restorableNodeTypes;
628 bool m_restorableNodeTypesHasBeenSet = false;
629
630 bool m_enhancedVpcRouting;
631 bool m_enhancedVpcRoutingHasBeenSet = false;
632
633 Aws::String m_maintenanceTrackName;
634 bool m_maintenanceTrackNameHasBeenSet = false;
635
636 int m_manualSnapshotRetentionPeriod;
637 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
638
639 int m_manualSnapshotRemainingDays;
640 bool m_manualSnapshotRemainingDaysHasBeenSet = false;
641
642 Aws::Utils::DateTime m_snapshotRetentionStartTime;
643 bool m_snapshotRetentionStartTimeHasBeenSet = false;
644
645 Aws::String m_masterPasswordSecretArn;
646 bool m_masterPasswordSecretArnHasBeenSet = false;
647
648 Aws::String m_masterPasswordSecretKmsKeyId;
649 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
650
651 Aws::String m_snapshotArn;
652 bool m_snapshotArnHasBeenSet = false;
653 };
654
655} // namespace Model
656} // namespace Redshift
657} // namespace Aws
Snapshot & WithRestorableNodeTypes(Aws::Vector< Aws::String > &&value)
Definition Snapshot.h:426
void SetSnapshotType(const char *value)
Definition Snapshot.h:195
void SetEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:373
bool ElapsedTimeInSecondsHasBeenSet() const
Definition Snapshot.h:383
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition Snapshot.h:134
Snapshot & WithSnapshotIdentifier(const char *value)
Definition Snapshot.h:57
void SetSourceRegion(Aws::String &&value)
Definition Snapshot.h:395
void SetManualSnapshotRetentionPeriod(int value)
Definition Snapshot.h:470
const Aws::String & GetClusterIdentifier() const
Definition Snapshot.h:64
Snapshot & WithSnapshotArn(const Aws::String &value)
Definition Snapshot.h:537
Snapshot & WithDBName(const Aws::String &value)
Definition Snapshot.h:234
bool SnapshotCreateTimeHasBeenSet() const
Definition Snapshot.h:80
const Aws::String & GetMasterUsername() const
Definition Snapshot.h:146
void SetNodeType(const char *value)
Definition Snapshot.h:209
void SetMasterUsername(const char *value)
Definition Snapshot.h:150
void SetVpcId(const char *value)
Definition Snapshot.h:248
Snapshot & WithNodeType(Aws::String &&value)
Definition Snapshot.h:211
Snapshot & WithElapsedTimeInSeconds(long long value)
Definition Snapshot.h:385
Snapshot & WithTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:331
bool SnapshotArnHasBeenSet() const
Definition Snapshot.h:533
void SetAvailabilityZone(const char *value)
Definition Snapshot.h:124
void SetActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:340
bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const
Definition Snapshot.h:339
Snapshot & WithSnapshotIdentifier(const Aws::String &value)
Definition Snapshot.h:55
Snapshot & WithSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:495
void SetOwnerAccount(Aws::String &&value)
Definition Snapshot.h:316
void SetTags(const Aws::Vector< Tag > &value)
Definition Snapshot.h:408
AWS_REDSHIFT_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Snapshot & WithSnapshotType(const Aws::String &value)
Definition Snapshot.h:196
const Aws::Vector< Aws::String > & GetRestorableNodeTypes() const
Definition Snapshot.h:421
void SetEngineFullVersion(const char *value)
Definition Snapshot.h:180
Snapshot & WithMasterPasswordSecretArn(Aws::String &&value)
Definition Snapshot.h:509
Snapshot & WithClusterCreateTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:138
Snapshot & WithEngineFullVersion(const char *value)
Definition Snapshot.h:183
const Aws::Vector< Tag > & GetTags() const
Definition Snapshot.h:406
Snapshot & WithSnapshotIdentifier(Aws::String &&value)
Definition Snapshot.h:56
void SetNodeType(const Aws::String &value)
Definition Snapshot.h:207
const Aws::String & GetVpcId() const
Definition Snapshot.h:244
void SetClusterIdentifier(const Aws::String &value)
Definition Snapshot.h:66
void SetRestorableNodeTypes(const Aws::Vector< Aws::String > &value)
Definition Snapshot.h:423
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMasterPasswordSecretKmsKeyId(const char *value)
Definition Snapshot.h:522
void SetMasterPasswordSecretKmsKeyId(const Aws::String &value)
Definition Snapshot.h:520
Snapshot & WithEncryptedWithHSM(bool value)
Definition Snapshot.h:288
const Aws::String & GetMasterPasswordSecretKmsKeyId() const
Definition Snapshot.h:518
Snapshot & WithOwnerAccount(Aws::String &&value)
Definition Snapshot.h:319
void SetNodeType(Aws::String &&value)
Definition Snapshot.h:208
Snapshot & WithMaintenanceTrackName(Aws::String &&value)
Definition Snapshot.h:458
Snapshot & WithTags(Aws::Vector< Tag > &&value)
Definition Snapshot.h:411
Snapshot & WithSnapshotArn(Aws::String &&value)
Definition Snapshot.h:538
void SetVpcId(Aws::String &&value)
Definition Snapshot.h:247
void SetEncrypted(bool value)
Definition Snapshot.h:260
double GetActualIncrementalBackupSizeInMegaBytes() const
Definition Snapshot.h:338
Snapshot & WithNodeType(const char *value)
Definition Snapshot.h:212
Snapshot & AddRestorableNodeTypes(const Aws::String &value)
Definition Snapshot.h:427
bool TotalBackupSizeInMegaBytesHasBeenSet() const
Definition Snapshot.h:329
void SetSnapshotIdentifier(const char *value)
Definition Snapshot.h:54
void SetOwnerAccount(const Aws::String &value)
Definition Snapshot.h:315
Snapshot & WithManualSnapshotRetentionPeriod(int value)
Definition Snapshot.h:471
void SetMaintenanceTrackName(const Aws::String &value)
Definition Snapshot.h:454
void SetDBName(const Aws::String &value)
Definition Snapshot.h:231
const Aws::String & GetMaintenanceTrackName() const
Definition Snapshot.h:452
Snapshot & WithMasterPasswordSecretKmsKeyId(Aws::String &&value)
Definition Snapshot.h:524
Snapshot & WithClusterIdentifier(const char *value)
Definition Snapshot.h:71
Snapshot & WithNumberOfNodes(int value)
Definition Snapshot.h:222
AWS_REDSHIFT_API Snapshot()
bool ManualSnapshotRemainingDaysHasBeenSet() const
Definition Snapshot.h:480
void SetAccountsWithRestoreAccess(Aws::Vector< AccountWithRestoreAccess > &&value)
Definition Snapshot.h:300
Snapshot & WithKmsKeyId(const char *value)
Definition Snapshot.h:276
bool AccountsWithRestoreAccessHasBeenSet() const
Definition Snapshot.h:298
Snapshot & AddTags(Tag &&value)
Definition Snapshot.h:413
void SetAccountsWithRestoreAccess(const Aws::Vector< AccountWithRestoreAccess > &value)
Definition Snapshot.h:299
void SetSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:493
double GetCurrentBackupRateInMegaBytesPerSecond() const
Definition Snapshot.h:360
Snapshot & WithClusterCreateTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:139
Snapshot & WithSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:494
bool EncryptedWithHSMHasBeenSet() const
Definition Snapshot.h:286
void SetSnapshotIdentifier(Aws::String &&value)
Definition Snapshot.h:53
Snapshot & WithMasterPasswordSecretArn(const char *value)
Definition Snapshot.h:510
Snapshot & WithMasterUsername(Aws::String &&value)
Definition Snapshot.h:152
Snapshot & WithEngineFullVersion(Aws::String &&value)
Definition Snapshot.h:182
Snapshot & WithManualSnapshotRemainingDays(int value)
Definition Snapshot.h:482
Snapshot & WithEnhancedVpcRouting(bool value)
Definition Snapshot.h:445
bool ClusterIdentifierHasBeenSet() const
Definition Snapshot.h:65
Snapshot & WithVpcId(const Aws::String &value)
Definition Snapshot.h:249
const Aws::String & GetEngineFullVersion() const
Definition Snapshot.h:176
const Aws::String & GetMasterPasswordSecretArn() const
Definition Snapshot.h:503
Snapshot & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:83
void SetClusterVersion(const Aws::String &value)
Definition Snapshot.h:163
double GetTotalBackupSizeInMegaBytes() const
Definition Snapshot.h:328
Snapshot & AddRestorableNodeTypes(Aws::String &&value)
Definition Snapshot.h:428
void SetClusterIdentifier(Aws::String &&value)
Definition Snapshot.h:67
Snapshot & WithAccountsWithRestoreAccess(const Aws::Vector< AccountWithRestoreAccess > &value)
Definition Snapshot.h:301
const Aws::String & GetClusterVersion() const
Definition Snapshot.h:161
Snapshot & WithEngineFullVersion(const Aws::String &value)
Definition Snapshot.h:181
void SetClusterIdentifier(const char *value)
Definition Snapshot.h:68
const Aws::String & GetSourceRegion() const
Definition Snapshot.h:392
bool MasterPasswordSecretArnHasBeenSet() const
Definition Snapshot.h:504
bool OwnerAccountHasBeenSet() const
Definition Snapshot.h:314
Snapshot & WithClusterIdentifier(Aws::String &&value)
Definition Snapshot.h:70
Snapshot & AddAccountsWithRestoreAccess(AccountWithRestoreAccess &&value)
Definition Snapshot.h:304
void SetKmsKeyId(const Aws::String &value)
Definition Snapshot.h:271
void SetMaintenanceTrackName(Aws::String &&value)
Definition Snapshot.h:455
Snapshot & WithAvailabilityZone(Aws::String &&value)
Definition Snapshot.h:126
void SetManualSnapshotRemainingDays(int value)
Definition Snapshot.h:481
Snapshot & WithEstimatedSecondsToCompletion(long long value)
Definition Snapshot.h:374
Snapshot & WithNodeType(const Aws::String &value)
Definition Snapshot.h:210
bool MasterUsernameHasBeenSet() const
Definition Snapshot.h:147
void SetKmsKeyId(Aws::String &&value)
Definition Snapshot.h:272
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:81
Snapshot & WithClusterIdentifier(const Aws::String &value)
Definition Snapshot.h:69
Snapshot & WithOwnerAccount(const Aws::String &value)
Definition Snapshot.h:318
Snapshot & AddTags(const Tag &value)
Definition Snapshot.h:412
bool SnapshotTypeHasBeenSet() const
Definition Snapshot.h:192
Snapshot & WithRestorableNodeTypes(const Aws::Vector< Aws::String > &value)
Definition Snapshot.h:425
void SetStatus(Aws::String &&value)
Definition Snapshot.h:99
Snapshot & WithClusterVersion(const Aws::String &value)
Definition Snapshot.h:166
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetClusterCreateTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:136
Snapshot & WithMaintenanceTrackName(const Aws::String &value)
Definition Snapshot.h:457
const Aws::String & GetNodeType() const
Definition Snapshot.h:205
void SetMasterPasswordSecretArn(const Aws::String &value)
Definition Snapshot.h:505
bool BackupProgressInMegaBytesHasBeenSet() const
Definition Snapshot.h:350
void SetStatus(const char *value)
Definition Snapshot.h:100
int GetManualSnapshotRemainingDays() const
Definition Snapshot.h:479
const Aws::Vector< AccountWithRestoreAccess > & GetAccountsWithRestoreAccess() const
Definition Snapshot.h:297
void SetSnapshotType(Aws::String &&value)
Definition Snapshot.h:194
Snapshot & WithSnapshotType(const char *value)
Definition Snapshot.h:198
void SetSnapshotArn(Aws::String &&value)
Definition Snapshot.h:535
void SetAvailabilityZone(Aws::String &&value)
Definition Snapshot.h:123
void SetTags(Aws::Vector< Tag > &&value)
Definition Snapshot.h:409
Snapshot & WithMasterPasswordSecretArn(const Aws::String &value)
Definition Snapshot.h:508
const Aws::String & GetSnapshotType() const
Definition Snapshot.h:191
bool MasterPasswordSecretKmsKeyIdHasBeenSet() const
Definition Snapshot.h:519
Snapshot & WithCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:363
bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const
Definition Snapshot.h:361
const Aws::String & GetSnapshotIdentifier() const
Definition Snapshot.h:50
void SetTotalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:330
void SetRestorableNodeTypes(Aws::Vector< Aws::String > &&value)
Definition Snapshot.h:424
void SetSourceRegion(const char *value)
Definition Snapshot.h:396
void SetBackupProgressInMegaBytes(double value)
Definition Snapshot.h:351
bool EngineFullVersionHasBeenSet() const
Definition Snapshot.h:177
bool SnapshotIdentifierHasBeenSet() const
Definition Snapshot.h:51
Snapshot & WithSourceRegion(const char *value)
Definition Snapshot.h:399
void SetElapsedTimeInSeconds(long long value)
Definition Snapshot.h:384
void SetVpcId(const Aws::String &value)
Definition Snapshot.h:246
Snapshot & WithMasterUsername(const Aws::String &value)
Definition Snapshot.h:151
long long GetEstimatedSecondsToCompletion() const
Definition Snapshot.h:371
void SetSnapshotIdentifier(const Aws::String &value)
Definition Snapshot.h:52
Snapshot & WithSourceRegion(const Aws::String &value)
Definition Snapshot.h:397
void SetClusterCreateTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:137
Snapshot & WithKmsKeyId(Aws::String &&value)
Definition Snapshot.h:275
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:269
void SetMasterPasswordSecretArn(Aws::String &&value)
Definition Snapshot.h:506
Snapshot & WithAccountsWithRestoreAccess(Aws::Vector< AccountWithRestoreAccess > &&value)
Definition Snapshot.h:302
const Aws::String & GetOwnerAccount() const
Definition Snapshot.h:313
Snapshot & WithMasterPasswordSecretKmsKeyId(const Aws::String &value)
Definition Snapshot.h:523
bool GetEnhancedVpcRouting() const
Definition Snapshot.h:442
Snapshot & WithVpcId(Aws::String &&value)
Definition Snapshot.h:250
bool ManualSnapshotRetentionPeriodHasBeenSet() const
Definition Snapshot.h:469
bool NumberOfNodesHasBeenSet() const
Definition Snapshot.h:220
double GetBackupProgressInMegaBytes() const
Definition Snapshot.h:349
void SetCurrentBackupRateInMegaBytesPerSecond(double value)
Definition Snapshot.h:362
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition Snapshot.h:79
Snapshot & WithActualIncrementalBackupSizeInMegaBytes(double value)
Definition Snapshot.h:341
void SetDBName(Aws::String &&value)
Definition Snapshot.h:232
void SetClusterVersion(Aws::String &&value)
Definition Snapshot.h:164
bool ClusterCreateTimeHasBeenSet() const
Definition Snapshot.h:135
Snapshot & WithClusterVersion(Aws::String &&value)
Definition Snapshot.h:167
void SetMasterPasswordSecretKmsKeyId(Aws::String &&value)
Definition Snapshot.h:521
void SetOwnerAccount(const char *value)
Definition Snapshot.h:317
const Aws::String & GetDBName() const
Definition Snapshot.h:229
void SetNumberOfNodes(int value)
Definition Snapshot.h:221
Snapshot & WithOwnerAccount(const char *value)
Definition Snapshot.h:320
Snapshot & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:84
void SetAvailabilityZone(const Aws::String &value)
Definition Snapshot.h:122
Snapshot & WithStatus(const Aws::String &value)
Definition Snapshot.h:101
void SetClusterVersion(const char *value)
Definition Snapshot.h:165
Snapshot & WithStatus(Aws::String &&value)
Definition Snapshot.h:102
Snapshot & WithMasterUsername(const char *value)
Definition Snapshot.h:153
Snapshot & WithVpcId(const char *value)
Definition Snapshot.h:251
void SetMasterUsername(const Aws::String &value)
Definition Snapshot.h:148
bool SnapshotRetentionStartTimeHasBeenSet() const
Definition Snapshot.h:491
Snapshot & WithSourceRegion(Aws::String &&value)
Definition Snapshot.h:398
void SetStatus(const Aws::String &value)
Definition Snapshot.h:98
Snapshot & WithBackupProgressInMegaBytes(double value)
Definition Snapshot.h:352
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition Snapshot.h:82
const Aws::Utils::DateTime & GetSnapshotRetentionStartTime() const
Definition Snapshot.h:490
bool AvailabilityZoneHasBeenSet() const
Definition Snapshot.h:121
const Aws::String & GetStatus() const
Definition Snapshot.h:96
void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition Snapshot.h:492
Snapshot & WithDBName(const char *value)
Definition Snapshot.h:236
void SetSourceRegion(const Aws::String &value)
Definition Snapshot.h:394
int GetManualSnapshotRetentionPeriod() const
Definition Snapshot.h:468
bool EstimatedSecondsToCompletionHasBeenSet() const
Definition Snapshot.h:372
Snapshot & WithClusterVersion(const char *value)
Definition Snapshot.h:168
Snapshot & WithStatus(const char *value)
Definition Snapshot.h:103
Snapshot & WithAvailabilityZone(const Aws::String &value)
Definition Snapshot.h:125
Snapshot & WithMaintenanceTrackName(const char *value)
Definition Snapshot.h:459
void SetKmsKeyId(const char *value)
Definition Snapshot.h:273
void SetEncryptedWithHSM(bool value)
Definition Snapshot.h:287
void SetEnhancedVpcRouting(bool value)
Definition Snapshot.h:444
void SetEngineFullVersion(const Aws::String &value)
Definition Snapshot.h:178
Snapshot & WithKmsKeyId(const Aws::String &value)
Definition Snapshot.h:274
const Aws::String & GetAvailabilityZone() const
Definition Snapshot.h:120
Snapshot & AddAccountsWithRestoreAccess(const AccountWithRestoreAccess &value)
Definition Snapshot.h:303
bool EnhancedVpcRoutingHasBeenSet() const
Definition Snapshot.h:443
Snapshot & WithTags(const Aws::Vector< Tag > &value)
Definition Snapshot.h:410
void SetEngineFullVersion(Aws::String &&value)
Definition Snapshot.h:179
void SetMaintenanceTrackName(const char *value)
Definition Snapshot.h:456
Snapshot & WithMasterPasswordSecretKmsKeyId(const char *value)
Definition Snapshot.h:525
void SetDBName(const char *value)
Definition Snapshot.h:233
Snapshot & AddRestorableNodeTypes(const char *value)
Definition Snapshot.h:429
Snapshot & WithSnapshotType(Aws::String &&value)
Definition Snapshot.h:197
void SetSnapshotType(const Aws::String &value)
Definition Snapshot.h:193
bool RestorableNodeTypesHasBeenSet() const
Definition Snapshot.h:422
Snapshot & WithPort(int value)
Definition Snapshot.h:113
void SetSnapshotArn(const Aws::String &value)
Definition Snapshot.h:534
AWS_REDSHIFT_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
Snapshot & WithSnapshotArn(const char *value)
Definition Snapshot.h:539
const Aws::String & GetSnapshotArn() const
Definition Snapshot.h:532
bool MaintenanceTrackNameHasBeenSet() const
Definition Snapshot.h:453
Snapshot & WithDBName(Aws::String &&value)
Definition Snapshot.h:235
bool SourceRegionHasBeenSet() const
Definition Snapshot.h:393
void SetSnapshotArn(const char *value)
Definition Snapshot.h:536
Snapshot & WithEncrypted(bool value)
Definition Snapshot.h:261
void SetMasterPasswordSecretArn(const char *value)
Definition Snapshot.h:507
void SetMasterUsername(Aws::String &&value)
Definition Snapshot.h:149
long long GetElapsedTimeInSeconds() const
Definition Snapshot.h:382
Snapshot & WithAvailabilityZone(const char *value)
Definition Snapshot.h:127
bool ClusterVersionHasBeenSet() const
Definition Snapshot.h:162
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream