AWS SDK for C++  1.9.156
AWS SDK for C++
Snapshot.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <aws/redshift/model/Tag.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlNode;
23 } // namespace Xml
24 } // namespace Utils
25 namespace Redshift
26 {
27 namespace Model
28 {
29 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  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 
811  inline Snapshot& WithAccountsWithRestoreAccess(const Aws::Vector<AccountWithRestoreAccess>& value) { SetAccountsWithRestoreAccess(value); return *this;}
812 
818  inline Snapshot& WithAccountsWithRestoreAccess(Aws::Vector<AccountWithRestoreAccess>&& value) { SetAccountsWithRestoreAccess(std::move(value)); return *this;}
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 
935  inline Snapshot& WithActualIncrementalBackupSizeInMegaBytes(double value) { SetActualIncrementalBackupSizeInMegaBytes(value); return *this;}
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 
985  inline Snapshot& WithCurrentBackupRateInMegaBytesPerSecond(double value) { SetCurrentBackupRateInMegaBytesPerSecond(value); return *this;}
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 
1148  inline Snapshot& WithRestorableNodeTypes(const Aws::Vector<Aws::String>& value) { SetRestorableNodeTypes(value); return *this;}
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 
1287  inline Snapshot& WithManualSnapshotRetentionPeriod(int value) { SetManualSnapshotRetentionPeriod(value); return *this;}
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 
1312  inline Snapshot& WithManualSnapshotRemainingDays(int value) { SetManualSnapshotRemainingDays(value); return *this;}
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 
1343  inline Snapshot& WithSnapshotRetentionStartTime(const Aws::Utils::DateTime& value) { SetSnapshotRetentionStartTime(value); return *this;}
1344 
1349  inline Snapshot& WithSnapshotRetentionStartTime(Aws::Utils::DateTime&& value) { SetSnapshotRetentionStartTime(std::move(value)); return *this;}
1350 
1351  private:
1352 
1353  Aws::String m_snapshotIdentifier;
1354  bool m_snapshotIdentifierHasBeenSet;
1355 
1356  Aws::String m_clusterIdentifier;
1357  bool m_clusterIdentifierHasBeenSet;
1358 
1359  Aws::Utils::DateTime m_snapshotCreateTime;
1360  bool m_snapshotCreateTimeHasBeenSet;
1361 
1362  Aws::String m_status;
1363  bool m_statusHasBeenSet;
1364 
1365  int m_port;
1366  bool m_portHasBeenSet;
1367 
1368  Aws::String m_availabilityZone;
1369  bool m_availabilityZoneHasBeenSet;
1370 
1371  Aws::Utils::DateTime m_clusterCreateTime;
1372  bool m_clusterCreateTimeHasBeenSet;
1373 
1374  Aws::String m_masterUsername;
1375  bool m_masterUsernameHasBeenSet;
1376 
1377  Aws::String m_clusterVersion;
1378  bool m_clusterVersionHasBeenSet;
1379 
1380  Aws::String m_engineFullVersion;
1381  bool m_engineFullVersionHasBeenSet;
1382 
1383  Aws::String m_snapshotType;
1384  bool m_snapshotTypeHasBeenSet;
1385 
1386  Aws::String m_nodeType;
1387  bool m_nodeTypeHasBeenSet;
1388 
1389  int m_numberOfNodes;
1390  bool m_numberOfNodesHasBeenSet;
1391 
1392  Aws::String m_dBName;
1393  bool m_dBNameHasBeenSet;
1394 
1395  Aws::String m_vpcId;
1396  bool m_vpcIdHasBeenSet;
1397 
1398  bool m_encrypted;
1399  bool m_encryptedHasBeenSet;
1400 
1401  Aws::String m_kmsKeyId;
1402  bool m_kmsKeyIdHasBeenSet;
1403 
1404  bool m_encryptedWithHSM;
1405  bool m_encryptedWithHSMHasBeenSet;
1406 
1407  Aws::Vector<AccountWithRestoreAccess> m_accountsWithRestoreAccess;
1408  bool m_accountsWithRestoreAccessHasBeenSet;
1409 
1410  Aws::String m_ownerAccount;
1411  bool m_ownerAccountHasBeenSet;
1412 
1413  double m_totalBackupSizeInMegaBytes;
1414  bool m_totalBackupSizeInMegaBytesHasBeenSet;
1415 
1416  double m_actualIncrementalBackupSizeInMegaBytes;
1417  bool m_actualIncrementalBackupSizeInMegaBytesHasBeenSet;
1418 
1419  double m_backupProgressInMegaBytes;
1420  bool m_backupProgressInMegaBytesHasBeenSet;
1421 
1422  double m_currentBackupRateInMegaBytesPerSecond;
1423  bool m_currentBackupRateInMegaBytesPerSecondHasBeenSet;
1424 
1425  long long m_estimatedSecondsToCompletion;
1426  bool m_estimatedSecondsToCompletionHasBeenSet;
1427 
1428  long long m_elapsedTimeInSeconds;
1429  bool m_elapsedTimeInSecondsHasBeenSet;
1430 
1431  Aws::String m_sourceRegion;
1432  bool m_sourceRegionHasBeenSet;
1433 
1434  Aws::Vector<Tag> m_tags;
1435  bool m_tagsHasBeenSet;
1436 
1437  Aws::Vector<Aws::String> m_restorableNodeTypes;
1438  bool m_restorableNodeTypesHasBeenSet;
1439 
1440  bool m_enhancedVpcRouting;
1441  bool m_enhancedVpcRoutingHasBeenSet;
1442 
1443  Aws::String m_maintenanceTrackName;
1444  bool m_maintenanceTrackNameHasBeenSet;
1445 
1446  int m_manualSnapshotRetentionPeriod;
1447  bool m_manualSnapshotRetentionPeriodHasBeenSet;
1448 
1449  int m_manualSnapshotRemainingDays;
1450  bool m_manualSnapshotRemainingDaysHasBeenSet;
1451 
1452  Aws::Utils::DateTime m_snapshotRetentionStartTime;
1453  bool m_snapshotRetentionStartTimeHasBeenSet;
1454  };
1455 
1456 } // namespace Model
1457 } // namespace Redshift
1458 } // namespace Aws
Aws::Redshift::Model::Snapshot::EngineFullVersionHasBeenSet
bool EngineFullVersionHasBeenSet() const
Definition: Snapshot.h:439
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Redshift::Model::Snapshot::WithEncrypted
Snapshot & WithEncrypted(bool value)
Definition: Snapshot.h:697
Aws::Redshift::Model::Snapshot::GetOwnerAccount
const Aws::String & GetOwnerAccount() const
Definition: Snapshot.h:840
Aws::Redshift::Model::Snapshot::SetMasterUsername
void SetMasterUsername(const char *value)
Definition: Snapshot.h:362
Aws::Redshift::Model::Tag
Definition: Tag.h:33
Aws::Redshift::Model::Snapshot::SetEncrypted
void SetEncrypted(bool value)
Definition: Snapshot.h:692
Aws::Redshift::Model::Snapshot::WithSourceRegion
Snapshot & WithSourceRegion(const Aws::String &value)
Definition: Snapshot.h:1066
Aws::Redshift::Model::Snapshot::SetSnapshotType
void SetSnapshotType(Aws::String &&value)
Definition: Snapshot.h:500
Aws::Redshift::Model::Snapshot::WithClusterVersion
Snapshot & WithClusterVersion(const char *value)
Definition: Snapshot.h:426
Aws::Redshift::Model::Snapshot::SetEngineFullVersion
void SetEngineFullVersion(const char *value)
Definition: Snapshot.h:457
Aws::Redshift::Model::Snapshot::WithVpcId
Snapshot & WithVpcId(Aws::String &&value)
Definition: Snapshot.h:670
Aws::Redshift::Model::Snapshot::WithRestorableNodeTypes
Snapshot & WithRestorableNodeTypes(const Aws::Vector< Aws::String > &value)
Definition: Snapshot.h:1148
Aws::Redshift::Model::Snapshot::ClusterVersionHasBeenSet
bool ClusterVersionHasBeenSet() const
Definition: Snapshot.h:390
Aws::Redshift::Model::Snapshot::operator=
Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountWithRestoreAccess.h
Aws::Redshift::Model::Snapshot::SetOwnerAccount
void SetOwnerAccount(const char *value)
Definition: Snapshot.h:868
Aws::Redshift::Model::Snapshot::WithManualSnapshotRemainingDays
Snapshot & WithManualSnapshotRemainingDays(int value)
Definition: Snapshot.h:1312
Aws::Redshift::Model::Snapshot::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Snapshot.h:1082
Aws::Redshift::Model::Snapshot::WithCurrentBackupRateInMegaBytesPerSecond
Snapshot & WithCurrentBackupRateInMegaBytesPerSecond(double value)
Definition: Snapshot.h:985
Aws::Redshift::Model::Snapshot::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: Snapshot.h:110
Aws::Redshift::Model::Snapshot::SetSourceRegion
void SetSourceRegion(const Aws::String &value)
Definition: Snapshot.h:1051
Aws::Redshift::Model::Snapshot::AddAccountsWithRestoreAccess
Snapshot & AddAccountsWithRestoreAccess(const AccountWithRestoreAccess &value)
Definition: Snapshot.h:825
Aws::Redshift::Model::Snapshot::MaintenanceTrackNameHasBeenSet
bool MaintenanceTrackNameHasBeenSet() const
Definition: Snapshot.h:1228
Aws::Redshift::Model::Snapshot::EncryptedHasBeenSet
bool EncryptedHasBeenSet() const
Definition: Snapshot.h:687
Aws::Redshift::Model::Snapshot::WithSnapshotCreateTime
Snapshot & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:156
Aws::Redshift::Model::Snapshot::SetEnhancedVpcRouting
void SetEnhancedVpcRouting(bool value)
Definition: Snapshot.h:1206
Aws::Redshift::Model::Snapshot::GetEncrypted
bool GetEncrypted() const
Definition: Snapshot.h:682
Aws::Redshift::Model::Snapshot::WithStatus
Snapshot & WithStatus(const Aws::String &value)
Definition: Snapshot.h:223
Aws::Redshift::Model::Snapshot::GetNodeType
const Aws::String & GetNodeType() const
Definition: Snapshot.h:530
Aws::Redshift::Model::Snapshot::NodeTypeHasBeenSet
bool NodeTypeHasBeenSet() const
Definition: Snapshot.h:535
Aws::Redshift::Model::Snapshot::ActualIncrementalBackupSizeInMegaBytesHasBeenSet
bool ActualIncrementalBackupSizeInMegaBytesHasBeenSet() const
Definition: Snapshot.h:925
Aws::Redshift::Model::Snapshot::EnhancedVpcRoutingHasBeenSet
bool EnhancedVpcRoutingHasBeenSet() const
Definition: Snapshot.h:1195
Aws::Redshift::Model::Snapshot::GetMasterUsername
const Aws::String & GetMasterUsername() const
Definition: Snapshot.h:342
Aws::Redshift::Model::Snapshot::WithSourceRegion
Snapshot & WithSourceRegion(Aws::String &&value)
Definition: Snapshot.h:1071
Aws::Redshift::Model::Snapshot::WithSnapshotCreateTime
Snapshot & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:162
Aws::Redshift::Model::Snapshot::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: Snapshot.h:710
Aws::Redshift::Model::Snapshot::SetPort
void SetPort(int value)
Definition: Snapshot.h:259
Aws::Redshift::Model::Snapshot::SetNodeType
void SetNodeType(const Aws::String &value)
Definition: Snapshot.h:540
Aws::Redshift::Model::Snapshot::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Snapshot.h:1092
Aws::Redshift::Model::Snapshot::SetSnapshotCreateTime
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:150
DateTime.h
Tag.h
Aws::Redshift::Model::Snapshot::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: Snapshot.h:722
Aws::Redshift::Model::Snapshot::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: Snapshot.h:646
Aws::Redshift::Model::Snapshot::SetCurrentBackupRateInMegaBytesPerSecond
void SetCurrentBackupRateInMegaBytesPerSecond(double value)
Definition: Snapshot.h:979
Aws::Redshift::Model::Snapshot::WithKmsKeyId
Snapshot & WithKmsKeyId(const Aws::String &value)
Definition: Snapshot.h:734
Aws::Redshift::Model::Snapshot::SetEngineFullVersion
void SetEngineFullVersion(Aws::String &&value)
Definition: Snapshot.h:451
Aws::Redshift::Model::Snapshot::GetManualSnapshotRemainingDays
int GetManualSnapshotRemainingDays() const
Definition: Snapshot.h:1294
Aws::Redshift::Model::Snapshot::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: Snapshot.h:280
Aws::Redshift::Model::Snapshot::GetPort
int GetPort() const
Definition: Snapshot.h:249
Aws::Redshift::Model::Snapshot::WithVpcId
Snapshot & WithVpcId(const Aws::String &value)
Definition: Snapshot.h:664
Aws::Redshift::Model::Snapshot::WithEngineFullVersion
Snapshot & WithEngineFullVersion(Aws::String &&value)
Definition: Snapshot.h:469
Aws::Redshift::Model::Snapshot::GetManualSnapshotRetentionPeriod
int GetManualSnapshotRetentionPeriod() const
Definition: Snapshot.h:1266
Aws::Redshift::Model::Snapshot::WithEstimatedSecondsToCompletion
Snapshot & WithEstimatedSecondsToCompletion(long long value)
Definition: Snapshot.h:1010
Aws::Redshift::Model::Snapshot::WithClusterCreateTime
Snapshot & WithClusterCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:336
Aws::Redshift::Model::Snapshot::SetSnapshotIdentifier
void SetSnapshotIdentifier(const Aws::String &value)
Definition: Snapshot.h:59
Aws::Redshift::Model::Snapshot::WithMasterUsername
Snapshot & WithMasterUsername(Aws::String &&value)
Definition: Snapshot.h:372
Aws::Redshift::Model::Snapshot::ClusterCreateTimeHasBeenSet
bool ClusterCreateTimeHasBeenSet() const
Definition: Snapshot.h:316
Aws::Redshift::Model::Snapshot::SetActualIncrementalBackupSizeInMegaBytes
void SetActualIncrementalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:930
Aws::Redshift::Model::Snapshot::WithOwnerAccount
Snapshot & WithOwnerAccount(const char *value)
Definition: Snapshot.h:889
Aws::Redshift::Model::Snapshot::SetRestorableNodeTypes
void SetRestorableNodeTypes(Aws::Vector< Aws::String > &&value)
Definition: Snapshot.h:1142
Aws::Redshift::Model::Snapshot::WithMaintenanceTrackName
Snapshot & WithMaintenanceTrackName(const Aws::String &value)
Definition: Snapshot.h:1248
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::Snapshot::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: Snapshot.h:100
Aws::Redshift::Model::Snapshot::SetManualSnapshotRetentionPeriod
void SetManualSnapshotRetentionPeriod(int value)
Definition: Snapshot.h:1280
Aws::Redshift::Model::Snapshot::SetNumberOfNodes
void SetNumberOfNodes(int value)
Definition: Snapshot.h:581
Aws::Redshift::Model::Snapshot::WithClusterCreateTime
Snapshot & WithClusterCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:331
Aws::Redshift::Model::Snapshot::WithSnapshotIdentifier
Snapshot & WithSnapshotIdentifier(const Aws::String &value)
Definition: Snapshot.h:74
Aws::Redshift::Model::Snapshot::WithElapsedTimeInSeconds
Snapshot & WithElapsedTimeInSeconds(long long value)
Definition: Snapshot.h:1035
Aws::Redshift::Model::Snapshot::SetSnapshotCreateTime
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:144
AWSStreamFwd.h
Aws::Redshift::Model::Snapshot::Snapshot
Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::Snapshot::GetTotalBackupSizeInMegaBytes
double GetTotalBackupSizeInMegaBytes() const
Definition: Snapshot.h:896
Aws::Redshift::Model::Snapshot::ElapsedTimeInSecondsHasBeenSet
bool ElapsedTimeInSecondsHasBeenSet() const
Definition: Snapshot.h:1023
Aws::Redshift::Model::Snapshot::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: Snapshot.h:652
AWSVector.h
Aws::Redshift::Model::Snapshot::WithMaintenanceTrackName
Snapshot & WithMaintenanceTrackName(Aws::String &&value)
Definition: Snapshot.h:1253
Aws::Redshift::Model::Snapshot::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: Snapshot.h:704
Aws::Redshift::Model::Snapshot::GetStatus
const Aws::String & GetStatus() const
Definition: Snapshot.h:173
Aws::Redshift::Model::Snapshot::WithDBName
Snapshot & WithDBName(const char *value)
Definition: Snapshot.h:627
Aws::Redshift::Model::Snapshot::WithStatus
Snapshot & WithStatus(Aws::String &&value)
Definition: Snapshot.h:233
Aws::Redshift::Model::Snapshot::ManualSnapshotRemainingDaysHasBeenSet
bool ManualSnapshotRemainingDaysHasBeenSet() const
Definition: Snapshot.h:1300
Aws::Redshift::Model::Snapshot::WithSourceRegion
Snapshot & WithSourceRegion(const char *value)
Definition: Snapshot.h:1076
Aws::Redshift::Model::Snapshot::AccountsWithRestoreAccessHasBeenSet
bool AccountsWithRestoreAccessHasBeenSet() const
Definition: Snapshot.h:790
Aws::Redshift::Model::Snapshot::RestorableNodeTypesHasBeenSet
bool RestorableNodeTypesHasBeenSet() const
Definition: Snapshot.h:1130
Aws::Redshift::Model::Snapshot::WithClusterIdentifier
Snapshot & WithClusterIdentifier(const char *value)
Definition: Snapshot.h:125
Aws::Redshift::Model::Snapshot::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Snapshot.h:1087
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::Snapshot::SetEngineFullVersion
void SetEngineFullVersion(const Aws::String &value)
Definition: Snapshot.h:445
Aws::Redshift::Model::Snapshot::SetSnapshotType
void SetSnapshotType(const Aws::String &value)
Definition: Snapshot.h:494
Aws::Redshift::Model::Snapshot::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: Snapshot.h:270
Aws::Redshift::Model::Snapshot::WithDBName
Snapshot & WithDBName(const Aws::String &value)
Definition: Snapshot.h:617
Aws::Redshift::Model::Snapshot::SnapshotTypeHasBeenSet
bool SnapshotTypeHasBeenSet() const
Definition: Snapshot.h:488
Aws::Redshift::Model::Snapshot::GetActualIncrementalBackupSizeInMegaBytes
double GetActualIncrementalBackupSizeInMegaBytes() const
Definition: Snapshot.h:920
Aws::Redshift::Model::Snapshot::WithAccountsWithRestoreAccess
Snapshot & WithAccountsWithRestoreAccess(const Aws::Vector< AccountWithRestoreAccess > &value)
Definition: Snapshot.h:811
Aws::Redshift::Model::Snapshot::WithRestorableNodeTypes
Snapshot & WithRestorableNodeTypes(Aws::Vector< Aws::String > &&value)
Definition: Snapshot.h:1154
Aws::Redshift::Model::Snapshot::WithBackupProgressInMegaBytes
Snapshot & WithBackupProgressInMegaBytes(double value)
Definition: Snapshot.h:960
Aws::Redshift::Model::Snapshot::OwnerAccountHasBeenSet
bool OwnerAccountHasBeenSet() const
Definition: Snapshot.h:847
Aws::Redshift::Model::Snapshot::ManualSnapshotRetentionPeriodHasBeenSet
bool ManualSnapshotRetentionPeriodHasBeenSet() const
Definition: Snapshot.h:1273
Aws::Redshift::Model::Snapshot::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Snapshot.h:1097
Aws::Redshift::Model::Snapshot::SetSourceRegion
void SetSourceRegion(const char *value)
Definition: Snapshot.h:1061
Aws::Redshift::Model::Snapshot::Snapshot
Snapshot()
Aws::Redshift::Model::Snapshot::WithTotalBackupSizeInMegaBytes
Snapshot & WithTotalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:914
Aws::Redshift::Model::Snapshot::WithAvailabilityZone
Snapshot & WithAvailabilityZone(const char *value)
Definition: Snapshot.h:305
Aws::Redshift::Model::Snapshot::WithNodeType
Snapshot & WithNodeType(Aws::String &&value)
Definition: Snapshot.h:560
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::Snapshot::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: Snapshot.h:290
Aws::Redshift::Model::Snapshot::SetSnapshotIdentifier
void SetSnapshotIdentifier(Aws::String &&value)
Definition: Snapshot.h:64
Aws::Redshift::Model::Snapshot::GetEncryptedWithHSM
bool GetEncryptedWithHSM() const
Definition: Snapshot.h:754
Aws::Redshift::Model::Snapshot::GetAccountsWithRestoreAccess
const Aws::Vector< AccountWithRestoreAccess > & GetAccountsWithRestoreAccess() const
Definition: Snapshot.h:783
Aws::Redshift::Model::Snapshot::GetClusterVersion
const Aws::String & GetClusterVersion() const
Definition: Snapshot.h:384
Aws::Redshift::Model::Snapshot::TotalBackupSizeInMegaBytesHasBeenSet
bool TotalBackupSizeInMegaBytesHasBeenSet() const
Definition: Snapshot.h:902
Aws::Redshift::Model::Snapshot::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: Snapshot.h:105
Aws::Redshift::Model::Snapshot::SetEncryptedWithHSM
void SetEncryptedWithHSM(bool value)
Definition: Snapshot.h:768
Aws::Redshift::Model::Snapshot::SetStatus
void SetStatus(const char *value)
Definition: Snapshot.h:213
Aws::Redshift::Model::Snapshot::SetMaintenanceTrackName
void SetMaintenanceTrackName(const char *value)
Definition: Snapshot.h:1243
Aws::Redshift::Model::Snapshot::SetAccountsWithRestoreAccess
void SetAccountsWithRestoreAccess(Aws::Vector< AccountWithRestoreAccess > &&value)
Definition: Snapshot.h:804
Aws::Redshift::Model::Snapshot::SetStatus
void SetStatus(const Aws::String &value)
Definition: Snapshot.h:193
Aws::Redshift::Model::Snapshot::SetBackupProgressInMegaBytes
void SetBackupProgressInMegaBytes(double value)
Definition: Snapshot.h:954
Aws::Redshift::Model::Snapshot::WithTags
Snapshot & WithTags(const Aws::Vector< Tag > &value)
Definition: Snapshot.h:1102
Aws::Redshift::Model::Snapshot::SetClusterVersion
void SetClusterVersion(const char *value)
Definition: Snapshot.h:408
Aws::Redshift::Model::Snapshot::AddRestorableNodeTypes
Snapshot & AddRestorableNodeTypes(Aws::String &&value)
Definition: Snapshot.h:1166
Aws::Redshift::Model::Snapshot
Definition: Snapshot.h:36
Aws::Redshift::Model::Snapshot::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::Snapshot::WithOwnerAccount
Snapshot & WithOwnerAccount(Aws::String &&value)
Definition: Snapshot.h:882
Aws::Redshift::Model::Snapshot::SetClusterCreateTime
void SetClusterCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:326
Aws::Redshift::Model::Snapshot::WithDBName
Snapshot & WithDBName(Aws::String &&value)
Definition: Snapshot.h:622
Aws::Redshift::Model::Snapshot::WithTags
Snapshot & WithTags(Aws::Vector< Tag > &&value)
Definition: Snapshot.h:1107
Aws::Redshift::Model::Snapshot::SetDBName
void SetDBName(Aws::String &&value)
Definition: Snapshot.h:607
Aws::Redshift::Model::Snapshot::GetSnapshotIdentifier
const Aws::String & GetSnapshotIdentifier() const
Definition: Snapshot.h:49
Aws::Redshift::Model::Snapshot::SetOwnerAccount
void SetOwnerAccount(Aws::String &&value)
Definition: Snapshot.h:861
Aws::Redshift::Model::Snapshot::GetDBName
const Aws::String & GetDBName() const
Definition: Snapshot.h:592
Aws::Redshift::Model::Snapshot::WithClusterIdentifier
Snapshot & WithClusterIdentifier(const Aws::String &value)
Definition: Snapshot.h:115
Aws::Redshift::Model::Snapshot::SetNodeType
void SetNodeType(Aws::String &&value)
Definition: Snapshot.h:545
Aws::Redshift::Model::Snapshot::SetClusterCreateTime
void SetClusterCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:321
Aws::Redshift::Model::Snapshot::SetSourceRegion
void SetSourceRegion(Aws::String &&value)
Definition: Snapshot.h:1056
Aws::Redshift::Model::Snapshot::AddRestorableNodeTypes
Snapshot & AddRestorableNodeTypes(const char *value)
Definition: Snapshot.h:1172
Aws::Redshift::Model::Snapshot::AddTags
Snapshot & AddTags(Tag &&value)
Definition: Snapshot.h:1117
Aws::Redshift::Model::Snapshot::GetEnhancedVpcRouting
bool GetEnhancedVpcRouting() const
Definition: Snapshot.h:1184
AWSString.h
Aws::Redshift::Model::Snapshot::SetSnapshotIdentifier
void SetSnapshotIdentifier(const char *value)
Definition: Snapshot.h:69
Aws::Redshift::Model::Snapshot::DBNameHasBeenSet
bool DBNameHasBeenSet() const
Definition: Snapshot.h:597
Aws::Redshift::Model::Snapshot::CurrentBackupRateInMegaBytesPerSecondHasBeenSet
bool CurrentBackupRateInMegaBytesPerSecondHasBeenSet() const
Definition: Snapshot.h:973
Aws::Redshift::Model::Snapshot::WithNodeType
Snapshot & WithNodeType(const char *value)
Definition: Snapshot.h:565
Aws::Redshift::Model::Snapshot::SnapshotIdentifierHasBeenSet
bool SnapshotIdentifierHasBeenSet() const
Definition: Snapshot.h:54
Aws::Redshift::Model::Snapshot::GetEstimatedSecondsToCompletion
long long GetEstimatedSecondsToCompletion() const
Definition: Snapshot.h:992
Aws::Redshift::Model::Snapshot::WithSnapshotType
Snapshot & WithSnapshotType(const char *value)
Definition: Snapshot.h:524
Aws::Redshift::Model::Snapshot::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: Snapshot.h:285
Aws::Redshift::Model::Snapshot::EstimatedSecondsToCompletionHasBeenSet
bool EstimatedSecondsToCompletionHasBeenSet() const
Definition: Snapshot.h:998
Aws::Redshift::Model::Snapshot::SnapshotRetentionStartTimeHasBeenSet
bool SnapshotRetentionStartTimeHasBeenSet() const
Definition: Snapshot.h:1325
Aws::Redshift::Model::Snapshot::SetManualSnapshotRemainingDays
void SetManualSnapshotRemainingDays(int value)
Definition: Snapshot.h:1306
Aws::Redshift::Model::Snapshot::GetEngineFullVersion
const Aws::String & GetEngineFullVersion() const
Definition: Snapshot.h:433
Aws::Redshift::Model::Snapshot::GetSnapshotRetentionStartTime
const Aws::Utils::DateTime & GetSnapshotRetentionStartTime() const
Definition: Snapshot.h:1319
Aws::Redshift::Model::Snapshot::SetOwnerAccount
void SetOwnerAccount(const Aws::String &value)
Definition: Snapshot.h:854
Aws::Redshift::Model::Snapshot::WithKmsKeyId
Snapshot & WithKmsKeyId(Aws::String &&value)
Definition: Snapshot.h:740
Aws::Redshift::Model::Snapshot::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: Snapshot.h:716
Aws::Redshift::Model::Snapshot::WithMasterUsername
Snapshot & WithMasterUsername(const char *value)
Definition: Snapshot.h:377
Aws::Redshift::Model::Snapshot::WithVpcId
Snapshot & WithVpcId(const char *value)
Definition: Snapshot.h:676
Aws::Redshift::Model::Snapshot::WithSnapshotRetentionStartTime
Snapshot & WithSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:1343
Aws::Redshift::Model::Snapshot::WithEngineFullVersion
Snapshot & WithEngineFullVersion(const char *value)
Definition: Snapshot.h:475
Aws::Redshift::Model::Snapshot::SetMaintenanceTrackName
void SetMaintenanceTrackName(const Aws::String &value)
Definition: Snapshot.h:1233
Aws::Redshift::Model::Snapshot::GetSnapshotCreateTime
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition: Snapshot.h:132
Aws::Redshift::Model::Snapshot::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: Snapshot.h:90
Aws::Redshift::Model::Snapshot::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::Snapshot::SetClusterVersion
void SetClusterVersion(Aws::String &&value)
Definition: Snapshot.h:402
Aws::Redshift::Model::Snapshot::WithAccountsWithRestoreAccess
Snapshot & WithAccountsWithRestoreAccess(Aws::Vector< AccountWithRestoreAccess > &&value)
Definition: Snapshot.h:818
Aws::Redshift::Model::Snapshot::WithPort
Snapshot & WithPort(int value)
Definition: Snapshot.h:264
Aws::Redshift::Model::Snapshot::WithNodeType
Snapshot & WithNodeType(const Aws::String &value)
Definition: Snapshot.h:555
Aws::Redshift::Model::Snapshot::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: Snapshot.h:728
Aws::Redshift::Model::Snapshot::SetSnapshotRetentionStartTime
void SetSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:1337
Aws::Redshift::Model::Snapshot::GetBackupProgressInMegaBytes
double GetBackupProgressInMegaBytes() const
Definition: Snapshot.h:942
Aws::Redshift::Model::Snapshot::AddRestorableNodeTypes
Snapshot & AddRestorableNodeTypes(const Aws::String &value)
Definition: Snapshot.h:1160
Aws::Redshift::Model::Snapshot::WithEngineFullVersion
Snapshot & WithEngineFullVersion(const Aws::String &value)
Definition: Snapshot.h:463
Aws::Redshift::Model::Snapshot::SetAccountsWithRestoreAccess
void SetAccountsWithRestoreAccess(const Aws::Vector< AccountWithRestoreAccess > &value)
Definition: Snapshot.h:797
Aws::Redshift::Model::Snapshot::WithMaintenanceTrackName
Snapshot & WithMaintenanceTrackName(const char *value)
Definition: Snapshot.h:1258
Aws::Redshift::Model::Snapshot::WithEncryptedWithHSM
Snapshot & WithEncryptedWithHSM(bool value)
Definition: Snapshot.h:775
Aws::Redshift::Model::Snapshot::SetDBName
void SetDBName(const char *value)
Definition: Snapshot.h:612
Aws::Redshift::Model::Snapshot::SetEstimatedSecondsToCompletion
void SetEstimatedSecondsToCompletion(long long value)
Definition: Snapshot.h:1004
Aws::Redshift::Model::Snapshot::SetElapsedTimeInSeconds
void SetElapsedTimeInSeconds(long long value)
Definition: Snapshot.h:1029
Aws::Redshift::Model::Snapshot::GetElapsedTimeInSeconds
long long GetElapsedTimeInSeconds() const
Definition: Snapshot.h:1017
Aws::Redshift::Model::Snapshot::GetVpcId
const Aws::String & GetVpcId() const
Definition: Snapshot.h:634
Aws::Redshift::Model::Snapshot::SetTotalBackupSizeInMegaBytes
void SetTotalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:908
Aws::Redshift::Model::Snapshot::WithAvailabilityZone
Snapshot & WithAvailabilityZone(const Aws::String &value)
Definition: Snapshot.h:295
Aws::Redshift::Model::Snapshot::AddAccountsWithRestoreAccess
Snapshot & AddAccountsWithRestoreAccess(AccountWithRestoreAccess &&value)
Definition: Snapshot.h:832
Aws::Redshift::Model::Snapshot::WithSnapshotRetentionStartTime
Snapshot & WithSnapshotRetentionStartTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:1349
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::Snapshot::EncryptedWithHSMHasBeenSet
bool EncryptedWithHSMHasBeenSet() const
Definition: Snapshot.h:761
Aws::Redshift::Model::Snapshot::SetVpcId
void SetVpcId(const char *value)
Definition: Snapshot.h:658
Aws::Redshift::Model::Snapshot::WithSnapshotIdentifier
Snapshot & WithSnapshotIdentifier(Aws::String &&value)
Definition: Snapshot.h:79
Aws::Redshift::Model::Snapshot::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: Snapshot.h:640
Redshift_EXPORTS.h
Aws::Redshift::Model::Snapshot::SetMasterUsername
void SetMasterUsername(Aws::String &&value)
Definition: Snapshot.h:357
Aws::Redshift::Model::Snapshot::WithOwnerAccount
Snapshot & WithOwnerAccount(const Aws::String &value)
Definition: Snapshot.h:875
Aws::Redshift::Model::Snapshot::GetNumberOfNodes
int GetNumberOfNodes() const
Definition: Snapshot.h:571
Aws::Redshift::Model::Snapshot::SetSnapshotType
void SetSnapshotType(const char *value)
Definition: Snapshot.h:506
Aws::Redshift::Model::Snapshot::SetMasterUsername
void SetMasterUsername(const Aws::String &value)
Definition: Snapshot.h:352
Aws::Redshift::Model::Snapshot::SnapshotCreateTimeHasBeenSet
bool SnapshotCreateTimeHasBeenSet() const
Definition: Snapshot.h:138
Aws::Redshift::Model::Snapshot::GetClusterCreateTime
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition: Snapshot.h:311
Aws::Redshift::Model::Snapshot::WithManualSnapshotRetentionPeriod
Snapshot & WithManualSnapshotRetentionPeriod(int value)
Definition: Snapshot.h:1287
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::Snapshot::WithStatus
Snapshot & WithStatus(const char *value)
Definition: Snapshot.h:243
Aws::Redshift::Model::AccountWithRestoreAccess
Definition: AccountWithRestoreAccess.h:33
Aws::Redshift::Model::Snapshot::WithSnapshotType
Snapshot & WithSnapshotType(const Aws::String &value)
Definition: Snapshot.h:512
Aws::Redshift::Model::Snapshot::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: Snapshot.h:275
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::Snapshot::SetSnapshotRetentionStartTime
void SetSnapshotRetentionStartTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:1331
Aws::Redshift::Model::Snapshot::GetSourceRegion
const Aws::String & GetSourceRegion() const
Definition: Snapshot.h:1041
Aws::Redshift::Model::Snapshot::SetNodeType
void SetNodeType(const char *value)
Definition: Snapshot.h:550
Aws::Redshift::Model::Snapshot::SetClusterVersion
void SetClusterVersion(const Aws::String &value)
Definition: Snapshot.h:396
Aws::Redshift::Model::Snapshot::WithClusterVersion
Snapshot & WithClusterVersion(const Aws::String &value)
Definition: Snapshot.h:414
Aws::Redshift::Model::Snapshot::MasterUsernameHasBeenSet
bool MasterUsernameHasBeenSet() const
Definition: Snapshot.h:347
Aws::Redshift::Model::Snapshot::GetCurrentBackupRateInMegaBytesPerSecond
double GetCurrentBackupRateInMegaBytesPerSecond() const
Definition: Snapshot.h:967
Aws::Redshift::Model::Snapshot::SourceRegionHasBeenSet
bool SourceRegionHasBeenSet() const
Definition: Snapshot.h:1046
Aws::Redshift::Model::Snapshot::WithSnapshotIdentifier
Snapshot & WithSnapshotIdentifier(const char *value)
Definition: Snapshot.h:84
Aws::Redshift::Model::Snapshot::GetSnapshotType
const Aws::String & GetSnapshotType() const
Definition: Snapshot.h:482
Aws::Redshift::Model::Snapshot::WithNumberOfNodes
Snapshot & WithNumberOfNodes(int value)
Definition: Snapshot.h:586
Aws::Redshift::Model::Snapshot::GetMaintenanceTrackName
const Aws::String & GetMaintenanceTrackName() const
Definition: Snapshot.h:1223
Aws::Redshift::Model::Snapshot::NumberOfNodesHasBeenSet
bool NumberOfNodesHasBeenSet() const
Definition: Snapshot.h:576
Aws::Redshift::Model::Snapshot::WithClusterIdentifier
Snapshot & WithClusterIdentifier(Aws::String &&value)
Definition: Snapshot.h:120
Aws::Redshift::Model::Snapshot::WithMasterUsername
Snapshot & WithMasterUsername(const Aws::String &value)
Definition: Snapshot.h:367
Aws::Redshift::Model::Snapshot::SetRestorableNodeTypes
void SetRestorableNodeTypes(const Aws::Vector< Aws::String > &value)
Definition: Snapshot.h:1136
Aws::Redshift::Model::Snapshot::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Snapshot.h:183
Aws::Redshift::Model::Snapshot::AddTags
Snapshot & AddTags(const Tag &value)
Definition: Snapshot.h:1112
Aws::Redshift::Model::Snapshot::SetStatus
void SetStatus(Aws::String &&value)
Definition: Snapshot.h:203
Aws::Redshift::Model::Snapshot::WithKmsKeyId
Snapshot & WithKmsKeyId(const char *value)
Definition: Snapshot.h:746
Aws::Redshift::Model::Snapshot::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: Snapshot.h:95
Aws::Redshift::Model::Snapshot::WithClusterVersion
Snapshot & WithClusterVersion(Aws::String &&value)
Definition: Snapshot.h:420
Aws::Redshift::Model::Snapshot::WithSnapshotType
Snapshot & WithSnapshotType(Aws::String &&value)
Definition: Snapshot.h:518
Aws::Redshift::Model::Snapshot::GetRestorableNodeTypes
const Aws::Vector< Aws::String > & GetRestorableNodeTypes() const
Definition: Snapshot.h:1124
Aws::Redshift::Model::Snapshot::WithEnhancedVpcRouting
Snapshot & WithEnhancedVpcRouting(bool value)
Definition: Snapshot.h:1217
Aws::Redshift::Model::Snapshot::WithAvailabilityZone
Snapshot & WithAvailabilityZone(Aws::String &&value)
Definition: Snapshot.h:300
Aws::Redshift::Model::Snapshot::PortHasBeenSet
bool PortHasBeenSet() const
Definition: Snapshot.h:254
Aws::Redshift::Model::Snapshot::SetMaintenanceTrackName
void SetMaintenanceTrackName(Aws::String &&value)
Definition: Snapshot.h:1238
Aws::Redshift::Model::Snapshot::BackupProgressInMegaBytesHasBeenSet
bool BackupProgressInMegaBytesHasBeenSet() const
Definition: Snapshot.h:948
Aws::Redshift::Model::Snapshot::WithActualIncrementalBackupSizeInMegaBytes
Snapshot & WithActualIncrementalBackupSizeInMegaBytes(double value)
Definition: Snapshot.h:935
Aws::Redshift::Model::Snapshot::SetDBName
void SetDBName(const Aws::String &value)
Definition: Snapshot.h:602