AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Snapshot.h
Go to the documentation of this file.
1
6#pragma once
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:
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
49 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
50
54 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
55
59 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
60
64 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
65
69 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
70
74 inline Snapshot& WithSnapshotIdentifier(const Aws::String& value) { SetSnapshotIdentifier(value); return *this;}
75
79 inline Snapshot& WithSnapshotIdentifier(Aws::String&& value) { SetSnapshotIdentifier(std::move(value)); return *this;}
80
84 inline Snapshot& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
85
86
90 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
91
95 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
96
100 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
101
105 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
106
110 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
111
115 inline Snapshot& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
116
120 inline Snapshot& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
121
125 inline Snapshot& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
126
127
132 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
133
138 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
139
144 inline void SetSnapshotCreateTime(const Aws::Utils::DateTime& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; }
145
150 inline void SetSnapshotCreateTime(Aws::Utils::DateTime&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::move(value); }
151
156 inline Snapshot& WithSnapshotCreateTime(const Aws::Utils::DateTime& value) { SetSnapshotCreateTime(value); return *this;}
157
162 inline Snapshot& WithSnapshotCreateTime(Aws::Utils::DateTime&& value) { SetSnapshotCreateTime(std::move(value)); return *this;}
163
164
173 inline const Aws::String& GetStatus() const{ return m_status; }
174
183 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
184
193 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
194
203 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
204
213 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
214
223 inline Snapshot& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
224
233 inline Snapshot& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
234
243 inline Snapshot& WithStatus(const char* value) { SetStatus(value); return *this;}
244
245
249 inline int GetPort() const{ return m_port; }
250
254 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
255
259 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
260
264 inline Snapshot& WithPort(int value) { SetPort(value); return *this;}
265
266
270 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
271
275 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
276
280 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
281
285 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
286
290 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
291
295 inline Snapshot& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
296
300 inline Snapshot& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
301
305 inline Snapshot& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
306
307
311 inline const Aws::Utils::DateTime& GetClusterCreateTime() const{ return m_clusterCreateTime; }
312
316 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
317
321 inline void SetClusterCreateTime(const Aws::Utils::DateTime& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = value; }
322
326 inline void SetClusterCreateTime(Aws::Utils::DateTime&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::move(value); }
327
331 inline Snapshot& WithClusterCreateTime(const Aws::Utils::DateTime& value) { SetClusterCreateTime(value); return *this;}
332
336 inline Snapshot& WithClusterCreateTime(Aws::Utils::DateTime&& value) { SetClusterCreateTime(std::move(value)); return *this;}
337
338
342 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
343
347 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
348
352 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
353
357 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
358
362 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
363
367 inline Snapshot& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
368
372 inline Snapshot& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
373
377 inline Snapshot& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
378
379
384 inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
385
390 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
391
396 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
397
402 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
403
408 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
409
414 inline Snapshot& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
415
420 inline Snapshot& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
421
426 inline Snapshot& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
427
428
433 inline const Aws::String& GetEngineFullVersion() const{ return m_engineFullVersion; }
434
439 inline bool EngineFullVersionHasBeenSet() const { return m_engineFullVersionHasBeenSet; }
440
445 inline void SetEngineFullVersion(const Aws::String& value) { m_engineFullVersionHasBeenSet = true; m_engineFullVersion = value; }
446
451 inline void SetEngineFullVersion(Aws::String&& value) { m_engineFullVersionHasBeenSet = true; m_engineFullVersion = std::move(value); }
452
457 inline void SetEngineFullVersion(const char* value) { m_engineFullVersionHasBeenSet = true; m_engineFullVersion.assign(value); }
458
463 inline Snapshot& WithEngineFullVersion(const Aws::String& value) { SetEngineFullVersion(value); return *this;}
464
469 inline Snapshot& WithEngineFullVersion(Aws::String&& value) { SetEngineFullVersion(std::move(value)); return *this;}
470
475 inline Snapshot& WithEngineFullVersion(const char* value) { SetEngineFullVersion(value); return *this;}
476
477
482 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
483
488 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
489
494 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
495
500 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
501
506 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
507
512 inline Snapshot& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
513
518 inline Snapshot& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
519
524 inline Snapshot& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
525
526
530 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
531
535 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
536
540 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
541
545 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
546
550 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
551
555 inline Snapshot& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
556
560 inline Snapshot& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
561
565 inline Snapshot& WithNodeType(const char* value) { SetNodeType(value); return *this;}
566
567
571 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
572
576 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
577
581 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
582
586 inline Snapshot& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
587
588
592 inline const Aws::String& GetDBName() const{ return m_dBName; }
593
597 inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; }
598
602 inline void SetDBName(const Aws::String& value) { m_dBNameHasBeenSet = true; m_dBName = value; }
603
607 inline void SetDBName(Aws::String&& value) { m_dBNameHasBeenSet = true; m_dBName = std::move(value); }
608
612 inline void SetDBName(const char* value) { m_dBNameHasBeenSet = true; m_dBName.assign(value); }
613
617 inline Snapshot& WithDBName(const Aws::String& value) { SetDBName(value); return *this;}
618
622 inline Snapshot& WithDBName(Aws::String&& value) { SetDBName(std::move(value)); return *this;}
623
627 inline Snapshot& WithDBName(const char* value) { SetDBName(value); return *this;}
628
629
634 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
635
640 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
641
646 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
647
652 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
653
658 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
659
664 inline Snapshot& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
665
670 inline Snapshot& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
671
676 inline Snapshot& WithVpcId(const char* value) { SetVpcId(value); return *this;}
677
678
682 inline bool GetEncrypted() const{ return m_encrypted; }
683
687 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
688
692 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
693
697 inline Snapshot& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
698
699
704 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
705
710 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
711
716 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
717
722 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
723
728 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
729
734 inline Snapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
735
740 inline Snapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
741
746 inline Snapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
747
748
754 inline bool GetEncryptedWithHSM() const{ return m_encryptedWithHSM; }
755
761 inline bool EncryptedWithHSMHasBeenSet() const { return m_encryptedWithHSMHasBeenSet; }
762
768 inline void SetEncryptedWithHSM(bool value) { m_encryptedWithHSMHasBeenSet = true; m_encryptedWithHSM = value; }
769
775 inline Snapshot& WithEncryptedWithHSM(bool value) { SetEncryptedWithHSM(value); return *this;}
776
777
783 inline const Aws::Vector<AccountWithRestoreAccess>& GetAccountsWithRestoreAccess() const{ return m_accountsWithRestoreAccess; }
784
790 inline bool AccountsWithRestoreAccessHasBeenSet() const { return m_accountsWithRestoreAccessHasBeenSet; }
791
797 inline void SetAccountsWithRestoreAccess(const Aws::Vector<AccountWithRestoreAccess>& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess = value; }
798
804 inline void SetAccountsWithRestoreAccess(Aws::Vector<AccountWithRestoreAccess>&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess = std::move(value); }
805
812
819
825 inline Snapshot& AddAccountsWithRestoreAccess(const AccountWithRestoreAccess& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.push_back(value); return *this; }
826
832 inline Snapshot& AddAccountsWithRestoreAccess(AccountWithRestoreAccess&& value) { m_accountsWithRestoreAccessHasBeenSet = true; m_accountsWithRestoreAccess.push_back(std::move(value)); return *this; }
833
834
840 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
841
847 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
848
854 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
855
861 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
862
868 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
869
875 inline Snapshot& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
876
882 inline Snapshot& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
883
889 inline Snapshot& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
890
891
896 inline double GetTotalBackupSizeInMegaBytes() const{ return m_totalBackupSizeInMegaBytes; }
897
902 inline bool TotalBackupSizeInMegaBytesHasBeenSet() const { return m_totalBackupSizeInMegaBytesHasBeenSet; }
903
908 inline void SetTotalBackupSizeInMegaBytes(double value) { m_totalBackupSizeInMegaBytesHasBeenSet = true; m_totalBackupSizeInMegaBytes = value; }
909
914 inline Snapshot& WithTotalBackupSizeInMegaBytes(double value) { SetTotalBackupSizeInMegaBytes(value); return *this;}
915
916
920 inline double GetActualIncrementalBackupSizeInMegaBytes() const{ return m_actualIncrementalBackupSizeInMegaBytes; }
921
925 inline bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const { return m_actualIncrementalBackupSizeInMegaBytesHasBeenSet; }
926
930 inline void SetActualIncrementalBackupSizeInMegaBytes(double value) { m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = true; m_actualIncrementalBackupSizeInMegaBytes = value; }
931
936
937
942 inline double GetBackupProgressInMegaBytes() const{ return m_backupProgressInMegaBytes; }
943
948 inline bool BackupProgressInMegaBytesHasBeenSet() const { return m_backupProgressInMegaBytesHasBeenSet; }
949
954 inline void SetBackupProgressInMegaBytes(double value) { m_backupProgressInMegaBytesHasBeenSet = true; m_backupProgressInMegaBytes = value; }
955
960 inline Snapshot& WithBackupProgressInMegaBytes(double value) { SetBackupProgressInMegaBytes(value); return *this;}
961
962
967 inline double GetCurrentBackupRateInMegaBytesPerSecond() const{ return m_currentBackupRateInMegaBytesPerSecond; }
968
973 inline bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const { return m_currentBackupRateInMegaBytesPerSecondHasBeenSet; }
974
979 inline void SetCurrentBackupRateInMegaBytesPerSecond(double value) { m_currentBackupRateInMegaBytesPerSecondHasBeenSet = true; m_currentBackupRateInMegaBytesPerSecond = value; }
980
986
987
992 inline long long GetEstimatedSecondsToCompletion() const{ return m_estimatedSecondsToCompletion; }
993
998 inline bool EstimatedSecondsToCompletionHasBeenSet() const { return m_estimatedSecondsToCompletionHasBeenSet; }
999
1004 inline void SetEstimatedSecondsToCompletion(long long value) { m_estimatedSecondsToCompletionHasBeenSet = true; m_estimatedSecondsToCompletion = value; }
1005
1010 inline Snapshot& WithEstimatedSecondsToCompletion(long long value) { SetEstimatedSecondsToCompletion(value); return *this;}
1011
1012
1017 inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; }
1018
1023 inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; }
1024
1029 inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSecondsHasBeenSet = true; m_elapsedTimeInSeconds = value; }
1030
1035 inline Snapshot& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;}
1036
1037
1041 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
1042
1046 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
1047
1051 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
1052
1056 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); }
1057
1061 inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); }
1062
1066 inline Snapshot& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
1067
1071 inline Snapshot& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
1072
1076 inline Snapshot& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
1077
1078
1082 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1083
1087 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1088
1092 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1093
1097 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1098
1102 inline Snapshot& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1103
1107 inline Snapshot& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1108
1112 inline Snapshot& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1113
1117 inline Snapshot& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1118
1119
1124 inline const Aws::Vector<Aws::String>& GetRestorableNodeTypes() const{ return m_restorableNodeTypes; }
1125
1130 inline bool RestorableNodeTypesHasBeenSet() const { return m_restorableNodeTypesHasBeenSet; }
1131
1136 inline void SetRestorableNodeTypes(const Aws::Vector<Aws::String>& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes = value; }
1137
1142 inline void SetRestorableNodeTypes(Aws::Vector<Aws::String>&& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes = std::move(value); }
1143
1149
1154 inline Snapshot& WithRestorableNodeTypes(Aws::Vector<Aws::String>&& value) { SetRestorableNodeTypes(std::move(value)); return *this;}
1155
1160 inline Snapshot& AddRestorableNodeTypes(const Aws::String& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes.push_back(value); return *this; }
1161
1166 inline Snapshot& AddRestorableNodeTypes(Aws::String&& value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes.push_back(std::move(value)); return *this; }
1167
1172 inline Snapshot& AddRestorableNodeTypes(const char* value) { m_restorableNodeTypesHasBeenSet = true; m_restorableNodeTypes.push_back(value); return *this; }
1173
1174
1184 inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
1185
1195 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
1196
1206 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
1207
1217 inline Snapshot& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;}
1218
1219
1223 inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
1224
1228 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
1229
1233 inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
1234
1238 inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
1239
1243 inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
1244
1248 inline Snapshot& WithMaintenanceTrackName(const Aws::String& value) { SetMaintenanceTrackName(value); return *this;}
1249
1253 inline Snapshot& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;}
1254
1258 inline Snapshot& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;}
1259
1260
1266 inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; }
1267
1273 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
1274
1280 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
1281
1288
1289
1294 inline int GetManualSnapshotRemainingDays() const{ return m_manualSnapshotRemainingDays; }
1295
1300 inline bool ManualSnapshotRemainingDaysHasBeenSet() const { return m_manualSnapshotRemainingDaysHasBeenSet; }
1301
1306 inline void SetManualSnapshotRemainingDays(int value) { m_manualSnapshotRemainingDaysHasBeenSet = true; m_manualSnapshotRemainingDays = value; }
1307
1313
1314
1319 inline const Aws::Utils::DateTime& GetSnapshotRetentionStartTime() const{ return m_snapshotRetentionStartTime; }
1320
1325 inline bool SnapshotRetentionStartTimeHasBeenSet() const { return m_snapshotRetentionStartTimeHasBeenSet; }
1326
1331 inline void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime& value) { m_snapshotRetentionStartTimeHasBeenSet = true; m_snapshotRetentionStartTime = value; }
1332
1337 inline void SetSnapshotRetentionStartTime(Aws::Utils::DateTime&& value) { m_snapshotRetentionStartTimeHasBeenSet = true; m_snapshotRetentionStartTime = std::move(value); }
1338
1344
1350
1351 private:
1352
1353 Aws::String m_snapshotIdentifier;
1354 bool m_snapshotIdentifierHasBeenSet = false;
1355
1356 Aws::String m_clusterIdentifier;
1357 bool m_clusterIdentifierHasBeenSet = false;
1358
1359 Aws::Utils::DateTime m_snapshotCreateTime;
1360 bool m_snapshotCreateTimeHasBeenSet = false;
1361
1362 Aws::String m_status;
1363 bool m_statusHasBeenSet = false;
1364
1365 int m_port;
1366 bool m_portHasBeenSet = false;
1367
1368 Aws::String m_availabilityZone;
1369 bool m_availabilityZoneHasBeenSet = false;
1370
1371 Aws::Utils::DateTime m_clusterCreateTime;
1372 bool m_clusterCreateTimeHasBeenSet = false;
1373
1374 Aws::String m_masterUsername;
1375 bool m_masterUsernameHasBeenSet = false;
1376
1377 Aws::String m_clusterVersion;
1378 bool m_clusterVersionHasBeenSet = false;
1379
1380 Aws::String m_engineFullVersion;
1381 bool m_engineFullVersionHasBeenSet = false;
1382
1383 Aws::String m_snapshotType;
1384 bool m_snapshotTypeHasBeenSet = false;
1385
1386 Aws::String m_nodeType;
1387 bool m_nodeTypeHasBeenSet = false;
1388
1389 int m_numberOfNodes;
1390 bool m_numberOfNodesHasBeenSet = false;
1391
1392 Aws::String m_dBName;
1393 bool m_dBNameHasBeenSet = false;
1394
1395 Aws::String m_vpcId;
1396 bool m_vpcIdHasBeenSet = false;
1397
1398 bool m_encrypted;
1399 bool m_encryptedHasBeenSet = false;
1400
1401 Aws::String m_kmsKeyId;
1402 bool m_kmsKeyIdHasBeenSet = false;
1403
1404 bool m_encryptedWithHSM;
1405 bool m_encryptedWithHSMHasBeenSet = false;
1406
1407 Aws::Vector<AccountWithRestoreAccess> m_accountsWithRestoreAccess;
1408 bool m_accountsWithRestoreAccessHasBeenSet = false;
1409
1410 Aws::String m_ownerAccount;
1411 bool m_ownerAccountHasBeenSet = false;
1412
1413 double m_totalBackupSizeInMegaBytes;
1414 bool m_totalBackupSizeInMegaBytesHasBeenSet = false;
1415
1416 double m_actualIncrementalBackupSizeInMegaBytes;
1417 bool m_actualIncrementalBackupSizeInMegaBytesHasBeenSet = false;
1418
1419 double m_backupProgressInMegaBytes;
1420 bool m_backupProgressInMegaBytesHasBeenSet = false;
1421
1422 double m_currentBackupRateInMegaBytesPerSecond;
1423 bool m_currentBackupRateInMegaBytesPerSecondHasBeenSet = false;
1424
1425 long long m_estimatedSecondsToCompletion;
1426 bool m_estimatedSecondsToCompletionHasBeenSet = false;
1427
1428 long long m_elapsedTimeInSeconds;
1429 bool m_elapsedTimeInSecondsHasBeenSet = false;
1430
1431 Aws::String m_sourceRegion;
1432 bool m_sourceRegionHasBeenSet = false;
1433
1434 Aws::Vector<Tag> m_tags;
1435 bool m_tagsHasBeenSet = false;
1436
1437 Aws::Vector<Aws::String> m_restorableNodeTypes;
1438 bool m_restorableNodeTypesHasBeenSet = false;
1439
1440 bool m_enhancedVpcRouting;
1441 bool m_enhancedVpcRoutingHasBeenSet = false;
1442
1443 Aws::String m_maintenanceTrackName;
1444 bool m_maintenanceTrackNameHasBeenSet = false;
1445
1446 int m_manualSnapshotRetentionPeriod;
1447 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
1448
1449 int m_manualSnapshotRemainingDays;
1450 bool m_manualSnapshotRemainingDaysHasBeenSet = false;
1451
1452 Aws::Utils::DateTime m_snapshotRetentionStartTime;
1453 bool m_snapshotRetentionStartTimeHasBeenSet = false;
1454 };
1455
1456} // namespace Model
1457} // namespace Redshift
1458} // namespace Aws
#define AWS_REDSHIFT_API
Snapshot & WithRestorableNodeTypes(Aws::Vector< Aws::String > &&value)
Definition: Snapshot.h:1154
void SetSnapshotType(const char *value)
Definition: Snapshot.h:506
void SetEstimatedSecondsToCompletion(long long value)
Definition: Snapshot.h:1004
bool ElapsedTimeInSecondsHasBeenSet() const
Definition: Snapshot.h:1023
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition: Snapshot.h:311
Snapshot & WithSnapshotIdentifier(const char *value)
Definition: Snapshot.h:84
void SetSourceRegion(Aws::String &&value)
Definition: Snapshot.h:1056
void SetManualSnapshotRetentionPeriod(int value)
Definition: Snapshot.h:1280
const Aws::String & GetClusterIdentifier() const
Definition: Snapshot.h:90
Snapshot & WithDBName(const Aws::String &value)
Definition: Snapshot.h:617
bool SnapshotCreateTimeHasBeenSet() const
Definition: Snapshot.h:138
const Aws::String & GetMasterUsername() const
Definition: Snapshot.h:342
void SetNodeType(const char *value)
Definition: Snapshot.h:550
void SetMasterUsername(const char *value)
Definition: Snapshot.h:362
void SetVpcId(const char *value)
Definition: Snapshot.h:658
Snapshot & WithNodeType(Aws::String &&value)
Definition: Snapshot.h:560
Snapshot & WithElapsedTimeInSeconds(long long value)
Definition: Snapshot.h:1035
Snapshot & WithTotalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:914
void SetAvailabilityZone(const char *value)
Definition: Snapshot.h:290
void SetActualIncrementalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:930
bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const
Definition: Snapshot.h:925
Snapshot & WithSnapshotIdentifier(const Aws::String &value)
Definition: Snapshot.h:74
Snapshot & WithSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:1349
void SetOwnerAccount(Aws::String &&value)
Definition: Snapshot.h:861
void SetTags(const Aws::Vector< Tag > &value)
Definition: Snapshot.h:1092
AWS_REDSHIFT_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Snapshot & WithSnapshotType(const Aws::String &value)
Definition: Snapshot.h:512
const Aws::Vector< Aws::String > & GetRestorableNodeTypes() const
Definition: Snapshot.h:1124
void SetEngineFullVersion(const char *value)
Definition: Snapshot.h:457
Snapshot & WithClusterCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:331
Snapshot & WithEngineFullVersion(const char *value)
Definition: Snapshot.h:475
const Aws::Vector< Tag > & GetTags() const
Definition: Snapshot.h:1082
Snapshot & WithSnapshotIdentifier(Aws::String &&value)
Definition: Snapshot.h:79
void SetNodeType(const Aws::String &value)
Definition: Snapshot.h:540
const Aws::String & GetVpcId() const
Definition: Snapshot.h:634
void SetClusterIdentifier(const Aws::String &value)
Definition: Snapshot.h:100
void SetRestorableNodeTypes(const Aws::Vector< Aws::String > &value)
Definition: Snapshot.h:1136
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Snapshot & WithEncryptedWithHSM(bool value)
Definition: Snapshot.h:775
Snapshot & WithOwnerAccount(Aws::String &&value)
Definition: Snapshot.h:882
void SetNodeType(Aws::String &&value)
Definition: Snapshot.h:545
Snapshot & WithMaintenanceTrackName(Aws::String &&value)
Definition: Snapshot.h:1253
Snapshot & WithTags(Aws::Vector< Tag > &&value)
Definition: Snapshot.h:1107
void SetVpcId(Aws::String &&value)
Definition: Snapshot.h:652
void SetEncrypted(bool value)
Definition: Snapshot.h:692
double GetActualIncrementalBackupSizeInMegaBytes() const
Definition: Snapshot.h:920
Snapshot & WithNodeType(const char *value)
Definition: Snapshot.h:565
Snapshot & AddRestorableNodeTypes(const Aws::String &value)
Definition: Snapshot.h:1160
bool TotalBackupSizeInMegaBytesHasBeenSet() const
Definition: Snapshot.h:902
void SetSnapshotIdentifier(const char *value)
Definition: Snapshot.h:69
void SetOwnerAccount(const Aws::String &value)
Definition: Snapshot.h:854
Snapshot & WithManualSnapshotRetentionPeriod(int value)
Definition: Snapshot.h:1287
void SetMaintenanceTrackName(const Aws::String &value)
Definition: Snapshot.h:1233
void SetDBName(const Aws::String &value)
Definition: Snapshot.h:602
const Aws::String & GetMaintenanceTrackName() const
Definition: Snapshot.h:1223
Snapshot & WithClusterIdentifier(const char *value)
Definition: Snapshot.h:125
Snapshot & WithNumberOfNodes(int value)
Definition: Snapshot.h:586
AWS_REDSHIFT_API Snapshot()
bool ManualSnapshotRemainingDaysHasBeenSet() const
Definition: Snapshot.h:1300
void SetAccountsWithRestoreAccess(Aws::Vector< AccountWithRestoreAccess > &&value)
Definition: Snapshot.h:804
Snapshot & WithKmsKeyId(const char *value)
Definition: Snapshot.h:746
bool AccountsWithRestoreAccessHasBeenSet() const
Definition: Snapshot.h:790
Snapshot & AddTags(Tag &&value)
Definition: Snapshot.h:1117
void SetAccountsWithRestoreAccess(const Aws::Vector< AccountWithRestoreAccess > &value)
Definition: Snapshot.h:797
void SetSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:1337
double GetCurrentBackupRateInMegaBytesPerSecond() const
Definition: Snapshot.h:967
Snapshot & WithClusterCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:336
Snapshot & WithSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:1343
bool EncryptedWithHSMHasBeenSet() const
Definition: Snapshot.h:761
void SetSnapshotIdentifier(Aws::String &&value)
Definition: Snapshot.h:64
Snapshot & WithMasterUsername(Aws::String &&value)
Definition: Snapshot.h:372
Snapshot & WithEngineFullVersion(Aws::String &&value)
Definition: Snapshot.h:469
Snapshot & WithManualSnapshotRemainingDays(int value)
Definition: Snapshot.h:1312
Snapshot & WithEnhancedVpcRouting(bool value)
Definition: Snapshot.h:1217
bool ClusterIdentifierHasBeenSet() const
Definition: Snapshot.h:95
Snapshot & WithVpcId(const Aws::String &value)
Definition: Snapshot.h:664
const Aws::String & GetEngineFullVersion() const
Definition: Snapshot.h:433
Snapshot & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:156
void SetClusterVersion(const Aws::String &value)
Definition: Snapshot.h:396
double GetTotalBackupSizeInMegaBytes() const
Definition: Snapshot.h:896
Snapshot & AddRestorableNodeTypes(Aws::String &&value)
Definition: Snapshot.h:1166
void SetClusterIdentifier(Aws::String &&value)
Definition: Snapshot.h:105
Snapshot & WithAccountsWithRestoreAccess(const Aws::Vector< AccountWithRestoreAccess > &value)
Definition: Snapshot.h:811
const Aws::String & GetClusterVersion() const
Definition: Snapshot.h:384
Snapshot & WithEngineFullVersion(const Aws::String &value)
Definition: Snapshot.h:463
void SetClusterIdentifier(const char *value)
Definition: Snapshot.h:110
const Aws::String & GetSourceRegion() const
Definition: Snapshot.h:1041
bool OwnerAccountHasBeenSet() const
Definition: Snapshot.h:847
Snapshot & WithClusterIdentifier(Aws::String &&value)
Definition: Snapshot.h:120
Snapshot & AddAccountsWithRestoreAccess(AccountWithRestoreAccess &&value)
Definition: Snapshot.h:832
bool NodeTypeHasBeenSet() const
Definition: Snapshot.h:535
void SetKmsKeyId(const Aws::String &value)
Definition: Snapshot.h:716
void SetMaintenanceTrackName(Aws::String &&value)
Definition: Snapshot.h:1238
Snapshot & WithAvailabilityZone(Aws::String &&value)
Definition: Snapshot.h:300
void SetManualSnapshotRemainingDays(int value)
Definition: Snapshot.h:1306
Snapshot & WithEstimatedSecondsToCompletion(long long value)
Definition: Snapshot.h:1010
Snapshot & WithNodeType(const Aws::String &value)
Definition: Snapshot.h:555
bool MasterUsernameHasBeenSet() const
Definition: Snapshot.h:347
void SetKmsKeyId(Aws::String &&value)
Definition: Snapshot.h:722
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:144
Snapshot & WithClusterIdentifier(const Aws::String &value)
Definition: Snapshot.h:115
Snapshot & WithOwnerAccount(const Aws::String &value)
Definition: Snapshot.h:875
Snapshot & AddTags(const Tag &value)
Definition: Snapshot.h:1112
bool SnapshotTypeHasBeenSet() const
Definition: Snapshot.h:488
Snapshot & WithRestorableNodeTypes(const Aws::Vector< Aws::String > &value)
Definition: Snapshot.h:1148
void SetStatus(Aws::String &&value)
Definition: Snapshot.h:203
Snapshot & WithClusterVersion(const Aws::String &value)
Definition: Snapshot.h:414
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:321
Snapshot & WithMaintenanceTrackName(const Aws::String &value)
Definition: Snapshot.h:1248
const Aws::String & GetNodeType() const
Definition: Snapshot.h:530
bool BackupProgressInMegaBytesHasBeenSet() const
Definition: Snapshot.h:948
void SetStatus(const char *value)
Definition: Snapshot.h:213
int GetManualSnapshotRemainingDays() const
Definition: Snapshot.h:1294
const Aws::Vector< AccountWithRestoreAccess > & GetAccountsWithRestoreAccess() const
Definition: Snapshot.h:783
void SetSnapshotType(Aws::String &&value)
Definition: Snapshot.h:500
Snapshot & WithSnapshotType(const char *value)
Definition: Snapshot.h:524
void SetAvailabilityZone(Aws::String &&value)
Definition: Snapshot.h:285
void SetTags(Aws::Vector< Tag > &&value)
Definition: Snapshot.h:1097
const Aws::String & GetSnapshotType() const
Definition: Snapshot.h:482
Snapshot & WithCurrentBackupRateInMegaBytesPerSecond(double value)
Definition: Snapshot.h:985
bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const
Definition: Snapshot.h:973
const Aws::String & GetSnapshotIdentifier() const
Definition: Snapshot.h:49
void SetTotalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:908
void SetRestorableNodeTypes(Aws::Vector< Aws::String > &&value)
Definition: Snapshot.h:1142
void SetSourceRegion(const char *value)
Definition: Snapshot.h:1061
void SetBackupProgressInMegaBytes(double value)
Definition: Snapshot.h:954
bool EngineFullVersionHasBeenSet() const
Definition: Snapshot.h:439
bool SnapshotIdentifierHasBeenSet() const
Definition: Snapshot.h:54
Snapshot & WithSourceRegion(const char *value)
Definition: Snapshot.h:1076
void SetElapsedTimeInSeconds(long long value)
Definition: Snapshot.h:1029
void SetVpcId(const Aws::String &value)
Definition: Snapshot.h:646
Snapshot & WithMasterUsername(const Aws::String &value)
Definition: Snapshot.h:367
long long GetEstimatedSecondsToCompletion() const
Definition: Snapshot.h:992
void SetSnapshotIdentifier(const Aws::String &value)
Definition: Snapshot.h:59
Snapshot & WithSourceRegion(const Aws::String &value)
Definition: Snapshot.h:1066
bool GetEncryptedWithHSM() const
Definition: Snapshot.h:754
void SetClusterCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:326
Snapshot & WithKmsKeyId(Aws::String &&value)
Definition: Snapshot.h:740
bool KmsKeyIdHasBeenSet() const
Definition: Snapshot.h:710
const Aws::String & GetKmsKeyId() const
Definition: Snapshot.h:704
Snapshot & WithAccountsWithRestoreAccess(Aws::Vector< AccountWithRestoreAccess > &&value)
Definition: Snapshot.h:818
const Aws::String & GetOwnerAccount() const
Definition: Snapshot.h:840
bool GetEnhancedVpcRouting() const
Definition: Snapshot.h:1184
Snapshot & WithVpcId(Aws::String &&value)
Definition: Snapshot.h:670
bool ManualSnapshotRetentionPeriodHasBeenSet() const
Definition: Snapshot.h:1273
bool NumberOfNodesHasBeenSet() const
Definition: Snapshot.h:576
double GetBackupProgressInMegaBytes() const
Definition: Snapshot.h:942
void SetCurrentBackupRateInMegaBytesPerSecond(double value)
Definition: Snapshot.h:979
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition: Snapshot.h:132
Snapshot & WithActualIncrementalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:935
void SetDBName(Aws::String &&value)
Definition: Snapshot.h:607
void SetClusterVersion(Aws::String &&value)
Definition: Snapshot.h:402
bool ClusterCreateTimeHasBeenSet() const
Definition: Snapshot.h:316
Snapshot & WithClusterVersion(Aws::String &&value)
Definition: Snapshot.h:420
void SetOwnerAccount(const char *value)
Definition: Snapshot.h:868
const Aws::String & GetDBName() const
Definition: Snapshot.h:592
void SetNumberOfNodes(int value)
Definition: Snapshot.h:581
Snapshot & WithOwnerAccount(const char *value)
Definition: Snapshot.h:889
Snapshot & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:162
void SetAvailabilityZone(const Aws::String &value)
Definition: Snapshot.h:280
Snapshot & WithStatus(const Aws::String &value)
Definition: Snapshot.h:223
void SetClusterVersion(const char *value)
Definition: Snapshot.h:408
Snapshot & WithStatus(Aws::String &&value)
Definition: Snapshot.h:233
Snapshot & WithMasterUsername(const char *value)
Definition: Snapshot.h:377
Snapshot & WithVpcId(const char *value)
Definition: Snapshot.h:676
void SetMasterUsername(const Aws::String &value)
Definition: Snapshot.h:352
bool SnapshotRetentionStartTimeHasBeenSet() const
Definition: Snapshot.h:1325
Snapshot & WithSourceRegion(Aws::String &&value)
Definition: Snapshot.h:1071
void SetStatus(const Aws::String &value)
Definition: Snapshot.h:193
Snapshot & WithBackupProgressInMegaBytes(double value)
Definition: Snapshot.h:960
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:150
const Aws::Utils::DateTime & GetSnapshotRetentionStartTime() const
Definition: Snapshot.h:1319
bool AvailabilityZoneHasBeenSet() const
Definition: Snapshot.h:275
const Aws::String & GetStatus() const
Definition: Snapshot.h:173
void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:1331
Snapshot & WithDBName(const char *value)
Definition: Snapshot.h:627
void SetSourceRegion(const Aws::String &value)
Definition: Snapshot.h:1051
int GetManualSnapshotRetentionPeriod() const
Definition: Snapshot.h:1266
bool EstimatedSecondsToCompletionHasBeenSet() const
Definition: Snapshot.h:998
Snapshot & WithClusterVersion(const char *value)
Definition: Snapshot.h:426
Snapshot & WithStatus(const char *value)
Definition: Snapshot.h:243
Snapshot & WithAvailabilityZone(const Aws::String &value)
Definition: Snapshot.h:295
Snapshot & WithMaintenanceTrackName(const char *value)
Definition: Snapshot.h:1258
void SetKmsKeyId(const char *value)
Definition: Snapshot.h:728
void SetEncryptedWithHSM(bool value)
Definition: Snapshot.h:768
void SetEnhancedVpcRouting(bool value)
Definition: Snapshot.h:1206
void SetEngineFullVersion(const Aws::String &value)
Definition: Snapshot.h:445
Snapshot & WithKmsKeyId(const Aws::String &value)
Definition: Snapshot.h:734
const Aws::String & GetAvailabilityZone() const
Definition: Snapshot.h:270
Snapshot & AddAccountsWithRestoreAccess(const AccountWithRestoreAccess &value)
Definition: Snapshot.h:825
bool EnhancedVpcRoutingHasBeenSet() const
Definition: Snapshot.h:1195
Snapshot & WithTags(const Aws::Vector< Tag > &value)
Definition: Snapshot.h:1102
void SetEngineFullVersion(Aws::String &&value)
Definition: Snapshot.h:451
void SetMaintenanceTrackName(const char *value)
Definition: Snapshot.h:1243
void SetDBName(const char *value)
Definition: Snapshot.h:612
Snapshot & AddRestorableNodeTypes(const char *value)
Definition: Snapshot.h:1172
Snapshot & WithSnapshotType(Aws::String &&value)
Definition: Snapshot.h:518
void SetSnapshotType(const Aws::String &value)
Definition: Snapshot.h:494
bool RestorableNodeTypesHasBeenSet() const
Definition: Snapshot.h:1130
bool EncryptedHasBeenSet() const
Definition: Snapshot.h:687
Snapshot & WithPort(int value)
Definition: Snapshot.h:264
AWS_REDSHIFT_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MaintenanceTrackNameHasBeenSet() const
Definition: Snapshot.h:1228
Snapshot & WithDBName(Aws::String &&value)
Definition: Snapshot.h:622
bool SourceRegionHasBeenSet() const
Definition: Snapshot.h:1046
Snapshot & WithEncrypted(bool value)
Definition: Snapshot.h:697
void SetMasterUsername(Aws::String &&value)
Definition: Snapshot.h:357
long long GetElapsedTimeInSeconds() const
Definition: Snapshot.h:1017
Snapshot & WithAvailabilityZone(const char *value)
Definition: Snapshot.h:305
bool ClusterVersionHasBeenSet() const
Definition: Snapshot.h:390
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