7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/ProcessorFeature.h>
13#include <aws/rds/model/Tag.h>
54 template<
typename DBSnapshotIdentifierT = Aws::String>
55 void SetDBSnapshotIdentifier(DBSnapshotIdentifierT&& value) { m_dBSnapshotIdentifierHasBeenSet =
true; m_dBSnapshotIdentifier = std::forward<DBSnapshotIdentifierT>(value); }
56 template<
typename DBSnapshotIdentifierT = Aws::String>
67 template<
typename DBInstanceIdentifierT = Aws::String>
68 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) { m_dBInstanceIdentifierHasBeenSet =
true; m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value); }
69 template<
typename DBInstanceIdentifierT = Aws::String>
80 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
81 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet =
true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
82 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
92 template<
typename EngineT = Aws::String>
93 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
94 template<
typename EngineT = Aws::String>
104 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
114 template<
typename StatusT = Aws::String>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
116 template<
typename StatusT = Aws::String>
127 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
138 template<
typename AvailabilityZoneT = Aws::String>
139 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
140 template<
typename AvailabilityZoneT = Aws::String>
150 template<
typename VpcIdT = Aws::String>
151 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
152 template<
typename VpcIdT = Aws::String>
163 template<
typename InstanceCreateTimeT = Aws::Utils::DateTime>
164 void SetInstanceCreateTime(InstanceCreateTimeT&& value) { m_instanceCreateTimeHasBeenSet =
true; m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value); }
165 template<
typename InstanceCreateTimeT = Aws::Utils::DateTime>
175 template<
typename MasterUsernameT = Aws::String>
176 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
177 template<
typename MasterUsernameT = Aws::String>
187 template<
typename EngineVersionT = Aws::String>
188 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
189 template<
typename EngineVersionT = Aws::String>
199 template<
typename LicenseModelT = Aws::String>
200 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet =
true; m_licenseModel = std::forward<LicenseModelT>(value); }
201 template<
typename LicenseModelT = Aws::String>
211 template<
typename SnapshotTypeT = Aws::String>
212 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet =
true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
213 template<
typename SnapshotTypeT = Aws::String>
224 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
234 template<
typename OptionGroupNameT = Aws::String>
235 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet =
true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
236 template<
typename OptionGroupNameT = Aws::String>
246 inline void SetPercentProgress(
int value) { m_percentProgressHasBeenSet =
true; m_percentProgress = value; }
257 template<
typename SourceRegionT = Aws::String>
258 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion = std::forward<SourceRegionT>(value); }
259 template<
typename SourceRegionT = Aws::String>
271 template<
typename SourceDBSnapshotIdentifierT = Aws::String>
272 void SetSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT&& value) { m_sourceDBSnapshotIdentifierHasBeenSet =
true; m_sourceDBSnapshotIdentifier = std::forward<SourceDBSnapshotIdentifierT>(value); }
273 template<
typename SourceDBSnapshotIdentifierT = Aws::String>
283 template<
typename StorageTypeT = Aws::String>
284 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
285 template<
typename StorageTypeT = Aws::String>
296 template<
typename TdeCredentialArnT = Aws::String>
297 void SetTdeCredentialArn(TdeCredentialArnT&& value) { m_tdeCredentialArnHasBeenSet =
true; m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value); }
298 template<
typename TdeCredentialArnT = Aws::String>
308 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
320 template<
typename KmsKeyIdT = Aws::String>
321 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
322 template<
typename KmsKeyIdT = Aws::String>
332 template<
typename DBSnapshotArnT = Aws::String>
333 void SetDBSnapshotArn(DBSnapshotArnT&& value) { m_dBSnapshotArnHasBeenSet =
true; m_dBSnapshotArn = std::forward<DBSnapshotArnT>(value); }
334 template<
typename DBSnapshotArnT = Aws::String>
347 template<
typename TimezoneT = Aws::String>
348 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet =
true; m_timezone = std::forward<TimezoneT>(value); }
349 template<
typename TimezoneT = Aws::String>
371 template<
typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
372 void SetProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet =
true; m_processorFeatures = std::forward<ProcessorFeaturesT>(value); }
373 template<
typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
375 template<
typename ProcessorFeaturesT = ProcessorFeature>
376 DBSnapshot&
AddProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet =
true; m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value));
return *
this; }
386 template<
typename DbiResourceIdT = Aws::String>
387 void SetDbiResourceId(DbiResourceIdT&& value) { m_dbiResourceIdHasBeenSet =
true; m_dbiResourceId = std::forward<DbiResourceIdT>(value); }
388 template<
typename DbiResourceIdT = Aws::String>
396 template<
typename TagListT = Aws::Vector<Tag>>
397 void SetTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList = std::forward<TagListT>(value); }
398 template<
typename TagListT = Aws::Vector<Tag>>
400 template<
typename TagListT = Tag>
401 DBSnapshot&
AddTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList.emplace_back(std::forward<TagListT>(value));
return *
this; }
411 template<
typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
412 void SetOriginalSnapshotCreateTime(OriginalSnapshotCreateTimeT&& value) { m_originalSnapshotCreateTimeHasBeenSet =
true; m_originalSnapshotCreateTime = std::forward<OriginalSnapshotCreateTimeT>(value); }
413 template<
typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
430 template<
typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
431 void SetSnapshotDatabaseTime(SnapshotDatabaseTimeT&& value) { m_snapshotDatabaseTimeHasBeenSet =
true; m_snapshotDatabaseTime = std::forward<SnapshotDatabaseTimeT>(value); }
432 template<
typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
443 template<
typename SnapshotTargetT = Aws::String>
444 void SetSnapshotTarget(SnapshotTargetT&& value) { m_snapshotTargetHasBeenSet =
true; m_snapshotTarget = std::forward<SnapshotTargetT>(value); }
445 template<
typename SnapshotTargetT = Aws::String>
455 inline void SetStorageThroughput(
int value) { m_storageThroughputHasBeenSet =
true; m_storageThroughput = value; }
467 template<
typename DBSystemIdT = Aws::String>
468 void SetDBSystemId(DBSystemIdT&& value) { m_dBSystemIdHasBeenSet =
true; m_dBSystemId = std::forward<DBSystemIdT>(value); }
469 template<
typename DBSystemIdT = Aws::String>
480 inline void SetDedicatedLogVolume(
bool value) { m_dedicatedLogVolumeHasBeenSet =
true; m_dedicatedLogVolume = value; }
491 inline void SetMultiTenant(
bool value) { m_multiTenantHasBeenSet =
true; m_multiTenant = value; }
503 template<
typename SnapshotAvailabilityZoneT = Aws::String>
504 void SetSnapshotAvailabilityZone(SnapshotAvailabilityZoneT&& value) { m_snapshotAvailabilityZoneHasBeenSet =
true; m_snapshotAvailabilityZone = std::forward<SnapshotAvailabilityZoneT>(value); }
505 template<
typename SnapshotAvailabilityZoneT = Aws::String>
511 bool m_dBSnapshotIdentifierHasBeenSet =
false;
514 bool m_dBInstanceIdentifierHasBeenSet =
false;
517 bool m_snapshotCreateTimeHasBeenSet =
false;
520 bool m_engineHasBeenSet =
false;
522 int m_allocatedStorage{0};
523 bool m_allocatedStorageHasBeenSet =
false;
526 bool m_statusHasBeenSet =
false;
529 bool m_portHasBeenSet =
false;
532 bool m_availabilityZoneHasBeenSet =
false;
535 bool m_vpcIdHasBeenSet =
false;
538 bool m_instanceCreateTimeHasBeenSet =
false;
541 bool m_masterUsernameHasBeenSet =
false;
544 bool m_engineVersionHasBeenSet =
false;
547 bool m_licenseModelHasBeenSet =
false;
550 bool m_snapshotTypeHasBeenSet =
false;
553 bool m_iopsHasBeenSet =
false;
556 bool m_optionGroupNameHasBeenSet =
false;
558 int m_percentProgress{0};
559 bool m_percentProgressHasBeenSet =
false;
562 bool m_sourceRegionHasBeenSet =
false;
565 bool m_sourceDBSnapshotIdentifierHasBeenSet =
false;
568 bool m_storageTypeHasBeenSet =
false;
571 bool m_tdeCredentialArnHasBeenSet =
false;
573 bool m_encrypted{
false};
574 bool m_encryptedHasBeenSet =
false;
577 bool m_kmsKeyIdHasBeenSet =
false;
580 bool m_dBSnapshotArnHasBeenSet =
false;
583 bool m_timezoneHasBeenSet =
false;
585 bool m_iAMDatabaseAuthenticationEnabled{
false};
586 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
589 bool m_processorFeaturesHasBeenSet =
false;
592 bool m_dbiResourceIdHasBeenSet =
false;
595 bool m_tagListHasBeenSet =
false;
598 bool m_originalSnapshotCreateTimeHasBeenSet =
false;
601 bool m_snapshotDatabaseTimeHasBeenSet =
false;
604 bool m_snapshotTargetHasBeenSet =
false;
606 int m_storageThroughput{0};
607 bool m_storageThroughputHasBeenSet =
false;
610 bool m_dBSystemIdHasBeenSet =
false;
612 bool m_dedicatedLogVolume{
false};
613 bool m_dedicatedLogVolumeHasBeenSet =
false;
615 bool m_multiTenant{
false};
616 bool m_multiTenantHasBeenSet =
false;
619 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)
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
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)
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)
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
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