7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/RDS_EXPORTS.h>
12#include <aws/rds/model/AdditionalStorageVolume.h>
13#include <aws/rds/model/ProcessorFeature.h>
14#include <aws/rds/model/StorageEncryptionType.h>
15#include <aws/rds/model/Tag.h>
50 template <
typename DBSnapshotIdentifierT = Aws::String>
52 m_dBSnapshotIdentifierHasBeenSet =
true;
53 m_dBSnapshotIdentifier = std::forward<DBSnapshotIdentifierT>(value);
55 template <
typename DBSnapshotIdentifierT = Aws::String>
69 template <
typename DBInstanceIdentifierT = Aws::String>
71 m_dBInstanceIdentifierHasBeenSet =
true;
72 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
74 template <
typename DBInstanceIdentifierT = Aws::String>
88 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
90 m_snapshotCreateTimeHasBeenSet =
true;
91 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
93 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
106 template <
typename EngineT = Aws::String>
108 m_engineHasBeenSet =
true;
109 m_engine = std::forward<EngineT>(value);
111 template <
typename EngineT = Aws::String>
125 m_allocatedStorageHasBeenSet =
true;
126 m_allocatedStorage = value;
140 template <
typename StatusT = Aws::String>
142 m_statusHasBeenSet =
true;
143 m_status = std::forward<StatusT>(value);
145 template <
typename StatusT = Aws::String>
160 m_portHasBeenSet =
true;
176 template <
typename AvailabilityZoneT = Aws::String>
178 m_availabilityZoneHasBeenSet =
true;
179 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
181 template <
typename AvailabilityZoneT = Aws::String>
194 template <
typename VpcIdT = Aws::String>
196 m_vpcIdHasBeenSet =
true;
197 m_vpcId = std::forward<VpcIdT>(value);
199 template <
typename VpcIdT = Aws::String>
201 SetVpcId(std::forward<VpcIdT>(value));
213 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
215 m_instanceCreateTimeHasBeenSet =
true;
216 m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value);
218 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
231 template <
typename MasterUsernameT = Aws::String>
233 m_masterUsernameHasBeenSet =
true;
234 m_masterUsername = std::forward<MasterUsernameT>(value);
236 template <
typename MasterUsernameT = Aws::String>
249 template <
typename EngineVersionT = Aws::String>
251 m_engineVersionHasBeenSet =
true;
252 m_engineVersion = std::forward<EngineVersionT>(value);
254 template <
typename EngineVersionT = Aws::String>
267 template <
typename LicenseModelT = Aws::String>
269 m_licenseModelHasBeenSet =
true;
270 m_licenseModel = std::forward<LicenseModelT>(value);
272 template <
typename LicenseModelT = Aws::String>
285 template <
typename SnapshotTypeT = Aws::String>
287 m_snapshotTypeHasBeenSet =
true;
288 m_snapshotType = std::forward<SnapshotTypeT>(value);
290 template <
typename SnapshotTypeT = Aws::String>
305 m_iopsHasBeenSet =
true;
321 m_storageThroughputHasBeenSet =
true;
322 m_storageThroughput = value;
336 template <
typename OptionGroupNameT = Aws::String>
338 m_optionGroupNameHasBeenSet =
true;
339 m_optionGroupName = std::forward<OptionGroupNameT>(value);
341 template <
typename OptionGroupNameT = Aws::String>
355 m_percentProgressHasBeenSet =
true;
356 m_percentProgress = value;
371 template <
typename SourceRegionT = Aws::String>
373 m_sourceRegionHasBeenSet =
true;
374 m_sourceRegion = std::forward<SourceRegionT>(value);
376 template <
typename SourceRegionT = Aws::String>
391 template <
typename SourceDBSnapshotIdentifierT = Aws::String>
393 m_sourceDBSnapshotIdentifierHasBeenSet =
true;
394 m_sourceDBSnapshotIdentifier = std::forward<SourceDBSnapshotIdentifierT>(value);
396 template <
typename SourceDBSnapshotIdentifierT = Aws::String>
409 template <
typename StorageTypeT = Aws::String>
411 m_storageTypeHasBeenSet =
true;
412 m_storageType = std::forward<StorageTypeT>(value);
414 template <
typename StorageTypeT = Aws::String>
428 template <
typename TdeCredentialArnT = Aws::String>
430 m_tdeCredentialArnHasBeenSet =
true;
431 m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value);
433 template <
typename TdeCredentialArnT = Aws::String>
447 m_encryptedHasBeenSet =
true;
468 m_storageEncryptionTypeHasBeenSet =
true;
469 m_storageEncryptionType = value;
484 m_backupRetentionPeriodHasBeenSet =
true;
485 m_backupRetentionPeriod = value;
501 template <
typename PreferredBackupWindowT = Aws::String>
503 m_preferredBackupWindowHasBeenSet =
true;
504 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
506 template <
typename PreferredBackupWindowT = Aws::String>
521 template <
typename KmsKeyIdT = Aws::String>
523 m_kmsKeyIdHasBeenSet =
true;
524 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
526 template <
typename KmsKeyIdT = Aws::String>
539 template <
typename DBSnapshotArnT = Aws::String>
541 m_dBSnapshotArnHasBeenSet =
true;
542 m_dBSnapshotArn = std::forward<DBSnapshotArnT>(value);
544 template <
typename DBSnapshotArnT = Aws::String>
560 template <
typename TimezoneT = Aws::String>
562 m_timezoneHasBeenSet =
true;
563 m_timezone = std::forward<TimezoneT>(value);
565 template <
typename TimezoneT = Aws::String>
580 m_iAMDatabaseAuthenticationEnabledHasBeenSet =
true;
581 m_iAMDatabaseAuthenticationEnabled = value;
596 template <
typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
598 m_processorFeaturesHasBeenSet =
true;
599 m_processorFeatures = std::forward<ProcessorFeaturesT>(value);
601 template <
typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
606 template <
typename ProcessorFeaturesT = ProcessorFeature>
608 m_processorFeaturesHasBeenSet =
true;
609 m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value));
621 template <
typename DbiResourceIdT = Aws::String>
623 m_dbiResourceIdHasBeenSet =
true;
624 m_dbiResourceId = std::forward<DbiResourceIdT>(value);
626 template <
typename DbiResourceIdT = Aws::String>
637 template <
typename TagListT = Aws::Vector<Tag>>
639 m_tagListHasBeenSet =
true;
640 m_tagList = std::forward<TagListT>(value);
642 template <
typename TagListT = Aws::Vector<Tag>>
647 template <
typename TagListT = Tag>
649 m_tagListHasBeenSet =
true;
650 m_tagList.emplace_back(std::forward<TagListT>(value));
662 template <
typename SnapshotTargetT = Aws::String>
664 m_snapshotTargetHasBeenSet =
true;
665 m_snapshotTarget = std::forward<SnapshotTargetT>(value);
667 template <
typename SnapshotTargetT = Aws::String>
681 template <
typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
683 m_originalSnapshotCreateTimeHasBeenSet =
true;
684 m_originalSnapshotCreateTime = std::forward<OriginalSnapshotCreateTimeT>(value);
686 template <
typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
706 template <
typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
708 m_snapshotDatabaseTimeHasBeenSet =
true;
709 m_snapshotDatabaseTime = std::forward<SnapshotDatabaseTimeT>(value);
711 template <
typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
726 template <
typename DBSystemIdT = Aws::String>
728 m_dBSystemIdHasBeenSet =
true;
729 m_dBSystemId = std::forward<DBSystemIdT>(value);
731 template <
typename DBSystemIdT = Aws::String>
746 m_multiTenantHasBeenSet =
true;
747 m_multiTenant = value;
763 m_dedicatedLogVolumeHasBeenSet =
true;
764 m_dedicatedLogVolume = value;
779 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
781 m_additionalStorageVolumesHasBeenSet =
true;
782 m_additionalStorageVolumes = std::forward<AdditionalStorageVolumesT>(value);
784 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
789 template <
typename AdditionalStorageVolumesT = AdditionalStorageVolume>
791 m_additionalStorageVolumesHasBeenSet =
true;
792 m_additionalStorageVolumes.emplace_back(std::forward<AdditionalStorageVolumesT>(value));
805 template <
typename SnapshotAvailabilityZoneT = Aws::String>
807 m_snapshotAvailabilityZoneHasBeenSet =
true;
808 m_snapshotAvailabilityZone = std::forward<SnapshotAvailabilityZoneT>(value);
810 template <
typename SnapshotAvailabilityZoneT = Aws::String>
825 int m_allocatedStorage{0};
847 int m_storageThroughput{0};
851 int m_percentProgress{0};
861 bool m_encrypted{
false};
865 int m_backupRetentionPeriod{0};
875 bool m_iAMDatabaseAuthenticationEnabled{
false};
891 bool m_multiTenant{
false};
893 bool m_dedicatedLogVolume{
false};
898 bool m_dBSnapshotIdentifierHasBeenSet =
false;
899 bool m_dBInstanceIdentifierHasBeenSet =
false;
900 bool m_snapshotCreateTimeHasBeenSet =
false;
901 bool m_engineHasBeenSet =
false;
902 bool m_allocatedStorageHasBeenSet =
false;
903 bool m_statusHasBeenSet =
false;
904 bool m_portHasBeenSet =
false;
905 bool m_availabilityZoneHasBeenSet =
false;
906 bool m_vpcIdHasBeenSet =
false;
907 bool m_instanceCreateTimeHasBeenSet =
false;
908 bool m_masterUsernameHasBeenSet =
false;
909 bool m_engineVersionHasBeenSet =
false;
910 bool m_licenseModelHasBeenSet =
false;
911 bool m_snapshotTypeHasBeenSet =
false;
912 bool m_iopsHasBeenSet =
false;
913 bool m_storageThroughputHasBeenSet =
false;
914 bool m_optionGroupNameHasBeenSet =
false;
915 bool m_percentProgressHasBeenSet =
false;
916 bool m_sourceRegionHasBeenSet =
false;
917 bool m_sourceDBSnapshotIdentifierHasBeenSet =
false;
918 bool m_storageTypeHasBeenSet =
false;
919 bool m_tdeCredentialArnHasBeenSet =
false;
920 bool m_encryptedHasBeenSet =
false;
921 bool m_storageEncryptionTypeHasBeenSet =
false;
922 bool m_backupRetentionPeriodHasBeenSet =
false;
923 bool m_preferredBackupWindowHasBeenSet =
false;
924 bool m_kmsKeyIdHasBeenSet =
false;
925 bool m_dBSnapshotArnHasBeenSet =
false;
926 bool m_timezoneHasBeenSet =
false;
927 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
928 bool m_processorFeaturesHasBeenSet =
false;
929 bool m_dbiResourceIdHasBeenSet =
false;
930 bool m_tagListHasBeenSet =
false;
931 bool m_snapshotTargetHasBeenSet =
false;
932 bool m_originalSnapshotCreateTimeHasBeenSet =
false;
933 bool m_snapshotDatabaseTimeHasBeenSet =
false;
934 bool m_dBSystemIdHasBeenSet =
false;
935 bool m_multiTenantHasBeenSet =
false;
936 bool m_dedicatedLogVolumeHasBeenSet =
false;
937 bool m_additionalStorageVolumesHasBeenSet =
false;
938 bool m_snapshotAvailabilityZoneHasBeenSet =
false;
DBSnapshot & WithSnapshotAvailabilityZone(SnapshotAvailabilityZoneT &&value)
void SetTimezone(TimezoneT &&value)
bool VpcIdHasBeenSet() const
bool MasterUsernameHasBeenSet() const
const Aws::String & GetEngine() const
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetTdeCredentialArn() const
bool SourceDBSnapshotIdentifierHasBeenSet() const
bool DBSystemIdHasBeenSet() const
const Aws::Utils::DateTime & GetInstanceCreateTime() const
void SetStorageThroughput(int value)
DBSnapshot & WithIops(int value)
void SetOptionGroupName(OptionGroupNameT &&value)
DBSnapshot & WithSourceRegion(SourceRegionT &&value)
const Aws::Vector< AdditionalStorageVolume > & GetAdditionalStorageVolumes() const
void SetOriginalSnapshotCreateTime(OriginalSnapshotCreateTimeT &&value)
DBSnapshot & WithOptionGroupName(OptionGroupNameT &&value)
const Aws::String & GetEngineVersion() const
DBSnapshot & WithEngineVersion(EngineVersionT &&value)
void SetDBSnapshotIdentifier(DBSnapshotIdentifierT &&value)
bool OptionGroupNameHasBeenSet() const
void SetMultiTenant(bool value)
void SetDbiResourceId(DbiResourceIdT &&value)
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
DBSnapshot & WithPercentProgress(int value)
AWS_RDS_API DBSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnapshotDatabaseTimeHasBeenSet() const
int GetStorageThroughput() const
bool EncryptedHasBeenSet() const
bool DBInstanceIdentifierHasBeenSet() const
DBSnapshot & AddProcessorFeatures(ProcessorFeaturesT &&value)
bool TdeCredentialArnHasBeenSet() const
const Aws::String & GetDBSnapshotArn() const
void SetSnapshotTarget(SnapshotTargetT &&value)
bool AllocatedStorageHasBeenSet() const
void SetProcessorFeatures(ProcessorFeaturesT &&value)
const Aws::Vector< ProcessorFeature > & GetProcessorFeatures() const
bool SourceRegionHasBeenSet() const
const Aws::String & GetPreferredBackupWindow() const
DBSnapshot & WithMasterUsername(MasterUsernameT &&value)
bool DbiResourceIdHasBeenSet() const
void SetVpcId(VpcIdT &&value)
const Aws::String & GetKmsKeyId() const
void SetTdeCredentialArn(TdeCredentialArnT &&value)
bool SnapshotCreateTimeHasBeenSet() const
bool AdditionalStorageVolumesHasBeenSet() const
DBSnapshot & WithOriginalSnapshotCreateTime(OriginalSnapshotCreateTimeT &&value)
bool PercentProgressHasBeenSet() const
void SetPercentProgress(int value)
DBSnapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
DBSnapshot & WithProcessorFeatures(ProcessorFeaturesT &&value)
bool SnapshotTypeHasBeenSet() const
void SetLicenseModel(LicenseModelT &&value)
DBSnapshot & AddTagList(TagListT &&value)
bool TagListHasBeenSet() const
const Aws::Utils::DateTime & GetSnapshotDatabaseTime() const
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool DBSnapshotArnHasBeenSet() const
bool EngineHasBeenSet() const
DBSnapshot & WithDbiResourceId(DbiResourceIdT &&value)
DBSnapshot & WithSnapshotDatabaseTime(SnapshotDatabaseTimeT &&value)
DBSnapshot & WithAllocatedStorage(int value)
bool BackupRetentionPeriodHasBeenSet() const
DBSnapshot & WithTagList(TagListT &&value)
DBSnapshot & WithLicenseModel(LicenseModelT &&value)
const Aws::String & GetDBSystemId() const
const Aws::String & GetVpcId() const
const Aws::String & GetOptionGroupName() const
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
bool StorageTypeHasBeenSet() const
DBSnapshot & WithPort(int value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStorageEncryptionType(StorageEncryptionType value)
void SetDedicatedLogVolume(bool value)
void SetInstanceCreateTime(InstanceCreateTimeT &&value)
DBSnapshot & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
bool OriginalSnapshotCreateTimeHasBeenSet() const
void SetDBSnapshotArn(DBSnapshotArnT &&value)
const Aws::Utils::DateTime & GetOriginalSnapshotCreateTime() const
bool GetEncrypted() const
const Aws::String & GetSnapshotAvailabilityZone() const
void SetEngineVersion(EngineVersionT &&value)
bool SnapshotAvailabilityZoneHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
DBSnapshot & WithMultiTenant(bool value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
bool InstanceCreateTimeHasBeenSet() const
DBSnapshot & WithBackupRetentionPeriod(int value)
void SetSnapshotDatabaseTime(SnapshotDatabaseTimeT &&value)
bool StorageThroughputHasBeenSet() const
bool DBSnapshotIdentifierHasBeenSet() const
void SetSnapshotAvailabilityZone(SnapshotAvailabilityZoneT &&value)
void SetEncrypted(bool value)
DBSnapshot & WithVpcId(VpcIdT &&value)
void SetSourceRegion(SourceRegionT &&value)
DBSnapshot & WithDBSnapshotArn(DBSnapshotArnT &&value)
bool TimezoneHasBeenSet() const
DBSnapshot & WithTimezone(TimezoneT &&value)
void SetAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
DBSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
void SetTagList(TagListT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetStorageType() const
DBSnapshot & WithStatus(StatusT &&value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
const Aws::String & GetSourceRegion() const
DBSnapshot & WithSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT &&value)
bool GetDedicatedLogVolume() const
const Aws::String & GetDbiResourceId() const
void SetStatus(StatusT &&value)
void SetBackupRetentionPeriod(int value)
DBSnapshot & AddAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
const Aws::String & GetLicenseModel() const
bool LicenseModelHasBeenSet() const
bool PreferredBackupWindowHasBeenSet() const
DBSnapshot & WithStorageThroughput(int value)
const Aws::String & GetDBSnapshotIdentifier() const
const Aws::String & GetTimezone() const
int GetAllocatedStorage() const
bool StatusHasBeenSet() const
DBSnapshot & WithAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
void SetStorageType(StorageTypeT &&value)
const Aws::String & GetDBInstanceIdentifier() const
const Aws::String & GetSnapshotTarget() const
bool PortHasBeenSet() const
void SetAllocatedStorage(int value)
bool IopsHasBeenSet() const
DBSnapshot & WithStorageType(StorageTypeT &&value)
const Aws::String & GetSourceDBSnapshotIdentifier() const
const Aws::Vector< Tag > & GetTagList() const
DBSnapshot & WithInstanceCreateTime(InstanceCreateTimeT &&value)
DBSnapshot & WithSnapshotType(SnapshotTypeT &&value)
int GetBackupRetentionPeriod() const
DBSnapshot & WithTdeCredentialArn(TdeCredentialArnT &&value)
bool DedicatedLogVolumeHasBeenSet() const
int GetPercentProgress() const
void SetSnapshotType(SnapshotTypeT &&value)
void SetSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT &&value)
bool GetIAMDatabaseAuthenticationEnabled() const
DBSnapshot & WithDBSystemId(DBSystemIdT &&value)
DBSnapshot & WithIAMDatabaseAuthenticationEnabled(bool value)
const Aws::String & GetAvailabilityZone() const
bool StorageEncryptionTypeHasBeenSet() const
bool GetMultiTenant() const
bool SnapshotTargetHasBeenSet() const
bool EngineVersionHasBeenSet() const
DBSnapshot & WithDedicatedLogVolume(bool value)
DBSnapshot & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetStatus() const
bool MultiTenantHasBeenSet() const
void SetEngine(EngineT &&value)
const Aws::String & GetMasterUsername() const
DBSnapshot & WithSnapshotTarget(SnapshotTargetT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DBSnapshot()=default
DBSnapshot & WithEngine(EngineT &&value)
const Aws::String & GetSnapshotType() const
DBSnapshot & WithStorageEncryptionType(StorageEncryptionType value)
bool ProcessorFeaturesHasBeenSet() const
StorageEncryptionType GetStorageEncryptionType() const
DBSnapshot & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
void SetMasterUsername(MasterUsernameT &&value)
void SetIAMDatabaseAuthenticationEnabled(bool value)
AWS_RDS_API DBSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBSnapshot & WithDBSnapshotIdentifier(DBSnapshotIdentifierT &&value)
void SetDBSystemId(DBSystemIdT &&value)
DBSnapshot & WithEncrypted(bool value)
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