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/Tag.h>
49 template <
typename DBSnapshotIdentifierT = Aws::String>
51 m_dBSnapshotIdentifierHasBeenSet =
true;
52 m_dBSnapshotIdentifier = std::forward<DBSnapshotIdentifierT>(value);
54 template <
typename DBSnapshotIdentifierT = Aws::String>
68 template <
typename DBInstanceIdentifierT = Aws::String>
70 m_dBInstanceIdentifierHasBeenSet =
true;
71 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
73 template <
typename DBInstanceIdentifierT = Aws::String>
87 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
89 m_snapshotCreateTimeHasBeenSet =
true;
90 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
92 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
105 template <
typename EngineT = Aws::String>
107 m_engineHasBeenSet =
true;
108 m_engine = std::forward<EngineT>(value);
110 template <
typename EngineT = Aws::String>
124 m_allocatedStorageHasBeenSet =
true;
125 m_allocatedStorage = value;
139 template <
typename StatusT = Aws::String>
141 m_statusHasBeenSet =
true;
142 m_status = std::forward<StatusT>(value);
144 template <
typename StatusT = Aws::String>
159 m_portHasBeenSet =
true;
175 template <
typename AvailabilityZoneT = Aws::String>
177 m_availabilityZoneHasBeenSet =
true;
178 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
180 template <
typename AvailabilityZoneT = Aws::String>
193 template <
typename VpcIdT = Aws::String>
195 m_vpcIdHasBeenSet =
true;
196 m_vpcId = std::forward<VpcIdT>(value);
198 template <
typename VpcIdT = Aws::String>
200 SetVpcId(std::forward<VpcIdT>(value));
212 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
214 m_instanceCreateTimeHasBeenSet =
true;
215 m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value);
217 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
230 template <
typename MasterUsernameT = Aws::String>
232 m_masterUsernameHasBeenSet =
true;
233 m_masterUsername = std::forward<MasterUsernameT>(value);
235 template <
typename MasterUsernameT = Aws::String>
248 template <
typename EngineVersionT = Aws::String>
250 m_engineVersionHasBeenSet =
true;
251 m_engineVersion = std::forward<EngineVersionT>(value);
253 template <
typename EngineVersionT = Aws::String>
266 template <
typename LicenseModelT = Aws::String>
268 m_licenseModelHasBeenSet =
true;
269 m_licenseModel = std::forward<LicenseModelT>(value);
271 template <
typename LicenseModelT = Aws::String>
284 template <
typename SnapshotTypeT = Aws::String>
286 m_snapshotTypeHasBeenSet =
true;
287 m_snapshotType = std::forward<SnapshotTypeT>(value);
289 template <
typename SnapshotTypeT = Aws::String>
304 m_iopsHasBeenSet =
true;
320 m_storageThroughputHasBeenSet =
true;
321 m_storageThroughput = value;
335 template <
typename OptionGroupNameT = Aws::String>
337 m_optionGroupNameHasBeenSet =
true;
338 m_optionGroupName = std::forward<OptionGroupNameT>(value);
340 template <
typename OptionGroupNameT = Aws::String>
354 m_percentProgressHasBeenSet =
true;
355 m_percentProgress = value;
370 template <
typename SourceRegionT = Aws::String>
372 m_sourceRegionHasBeenSet =
true;
373 m_sourceRegion = std::forward<SourceRegionT>(value);
375 template <
typename SourceRegionT = Aws::String>
390 template <
typename SourceDBSnapshotIdentifierT = Aws::String>
392 m_sourceDBSnapshotIdentifierHasBeenSet =
true;
393 m_sourceDBSnapshotIdentifier = std::forward<SourceDBSnapshotIdentifierT>(value);
395 template <
typename SourceDBSnapshotIdentifierT = Aws::String>
408 template <
typename StorageTypeT = Aws::String>
410 m_storageTypeHasBeenSet =
true;
411 m_storageType = std::forward<StorageTypeT>(value);
413 template <
typename StorageTypeT = Aws::String>
427 template <
typename TdeCredentialArnT = Aws::String>
429 m_tdeCredentialArnHasBeenSet =
true;
430 m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value);
432 template <
typename TdeCredentialArnT = Aws::String>
446 m_encryptedHasBeenSet =
true;
463 template <
typename KmsKeyIdT = Aws::String>
465 m_kmsKeyIdHasBeenSet =
true;
466 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
468 template <
typename KmsKeyIdT = Aws::String>
481 template <
typename DBSnapshotArnT = Aws::String>
483 m_dBSnapshotArnHasBeenSet =
true;
484 m_dBSnapshotArn = std::forward<DBSnapshotArnT>(value);
486 template <
typename DBSnapshotArnT = Aws::String>
502 template <
typename TimezoneT = Aws::String>
504 m_timezoneHasBeenSet =
true;
505 m_timezone = std::forward<TimezoneT>(value);
507 template <
typename TimezoneT = Aws::String>
522 m_iAMDatabaseAuthenticationEnabledHasBeenSet =
true;
523 m_iAMDatabaseAuthenticationEnabled = value;
538 template <
typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
540 m_processorFeaturesHasBeenSet =
true;
541 m_processorFeatures = std::forward<ProcessorFeaturesT>(value);
543 template <
typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
548 template <
typename ProcessorFeaturesT = ProcessorFeature>
550 m_processorFeaturesHasBeenSet =
true;
551 m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value));
563 template <
typename DbiResourceIdT = Aws::String>
565 m_dbiResourceIdHasBeenSet =
true;
566 m_dbiResourceId = std::forward<DbiResourceIdT>(value);
568 template <
typename DbiResourceIdT = Aws::String>
579 template <
typename TagListT = Aws::Vector<Tag>>
581 m_tagListHasBeenSet =
true;
582 m_tagList = std::forward<TagListT>(value);
584 template <
typename TagListT = Aws::Vector<Tag>>
589 template <
typename TagListT = Tag>
591 m_tagListHasBeenSet =
true;
592 m_tagList.emplace_back(std::forward<TagListT>(value));
604 template <
typename SnapshotTargetT = Aws::String>
606 m_snapshotTargetHasBeenSet =
true;
607 m_snapshotTarget = std::forward<SnapshotTargetT>(value);
609 template <
typename SnapshotTargetT = Aws::String>
623 template <
typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
625 m_originalSnapshotCreateTimeHasBeenSet =
true;
626 m_originalSnapshotCreateTime = std::forward<OriginalSnapshotCreateTimeT>(value);
628 template <
typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
648 template <
typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
650 m_snapshotDatabaseTimeHasBeenSet =
true;
651 m_snapshotDatabaseTime = std::forward<SnapshotDatabaseTimeT>(value);
653 template <
typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
668 template <
typename DBSystemIdT = Aws::String>
670 m_dBSystemIdHasBeenSet =
true;
671 m_dBSystemId = std::forward<DBSystemIdT>(value);
673 template <
typename DBSystemIdT = Aws::String>
688 m_multiTenantHasBeenSet =
true;
689 m_multiTenant = value;
705 m_dedicatedLogVolumeHasBeenSet =
true;
706 m_dedicatedLogVolume = value;
722 template <
typename SnapshotAvailabilityZoneT = Aws::String>
724 m_snapshotAvailabilityZoneHasBeenSet =
true;
725 m_snapshotAvailabilityZone = std::forward<SnapshotAvailabilityZoneT>(value);
727 template <
typename SnapshotAvailabilityZoneT = Aws::String>
741 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
743 m_additionalStorageVolumesHasBeenSet =
true;
744 m_additionalStorageVolumes = std::forward<AdditionalStorageVolumesT>(value);
746 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
751 template <
typename AdditionalStorageVolumesT = AdditionalStorageVolume>
753 m_additionalStorageVolumesHasBeenSet =
true;
754 m_additionalStorageVolumes.emplace_back(std::forward<AdditionalStorageVolumesT>(value));
767 int m_allocatedStorage{0};
789 int m_storageThroughput{0};
793 int m_percentProgress{0};
803 bool m_encrypted{
false};
811 bool m_iAMDatabaseAuthenticationEnabled{
false};
827 bool m_multiTenant{
false};
829 bool m_dedicatedLogVolume{
false};
834 bool m_dBSnapshotIdentifierHasBeenSet =
false;
835 bool m_dBInstanceIdentifierHasBeenSet =
false;
836 bool m_snapshotCreateTimeHasBeenSet =
false;
837 bool m_engineHasBeenSet =
false;
838 bool m_allocatedStorageHasBeenSet =
false;
839 bool m_statusHasBeenSet =
false;
840 bool m_portHasBeenSet =
false;
841 bool m_availabilityZoneHasBeenSet =
false;
842 bool m_vpcIdHasBeenSet =
false;
843 bool m_instanceCreateTimeHasBeenSet =
false;
844 bool m_masterUsernameHasBeenSet =
false;
845 bool m_engineVersionHasBeenSet =
false;
846 bool m_licenseModelHasBeenSet =
false;
847 bool m_snapshotTypeHasBeenSet =
false;
848 bool m_iopsHasBeenSet =
false;
849 bool m_storageThroughputHasBeenSet =
false;
850 bool m_optionGroupNameHasBeenSet =
false;
851 bool m_percentProgressHasBeenSet =
false;
852 bool m_sourceRegionHasBeenSet =
false;
853 bool m_sourceDBSnapshotIdentifierHasBeenSet =
false;
854 bool m_storageTypeHasBeenSet =
false;
855 bool m_tdeCredentialArnHasBeenSet =
false;
856 bool m_encryptedHasBeenSet =
false;
857 bool m_kmsKeyIdHasBeenSet =
false;
858 bool m_dBSnapshotArnHasBeenSet =
false;
859 bool m_timezoneHasBeenSet =
false;
860 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
861 bool m_processorFeaturesHasBeenSet =
false;
862 bool m_dbiResourceIdHasBeenSet =
false;
863 bool m_tagListHasBeenSet =
false;
864 bool m_snapshotTargetHasBeenSet =
false;
865 bool m_originalSnapshotCreateTimeHasBeenSet =
false;
866 bool m_snapshotDatabaseTimeHasBeenSet =
false;
867 bool m_dBSystemIdHasBeenSet =
false;
868 bool m_multiTenantHasBeenSet =
false;
869 bool m_dedicatedLogVolumeHasBeenSet =
false;
870 bool m_snapshotAvailabilityZoneHasBeenSet =
false;
871 bool m_additionalStorageVolumesHasBeenSet =
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
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)
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 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)
bool InstanceCreateTimeHasBeenSet() const
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)
DBSnapshot & AddAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
const Aws::String & GetLicenseModel() const
bool LicenseModelHasBeenSet() 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)
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 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
bool ProcessorFeaturesHasBeenSet() const
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