7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/rds/model/Tag.h>
54 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
55 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
56 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
58 template<
typename AvailabilityZonesT = Aws::String>
59 DBClusterSnapshot&
AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
return *
this; }
68 template<
typename DBClusterSnapshotIdentifierT = Aws::String>
69 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet =
true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
70 template<
typename DBClusterSnapshotIdentifierT = Aws::String>
81 template<
typename DBClusterIdentifierT = Aws::String>
82 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
83 template<
typename DBClusterIdentifierT = Aws::String>
94 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
95 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet =
true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
96 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
106 template<
typename EngineT = Aws::String>
107 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
108 template<
typename EngineT = Aws::String>
118 template<
typename EngineModeT = Aws::String>
119 void SetEngineMode(EngineModeT&& value) { m_engineModeHasBeenSet =
true; m_engineMode = std::forward<EngineModeT>(value); }
120 template<
typename EngineModeT = Aws::String>
130 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
142 template<
typename StatusT = Aws::String>
143 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
144 template<
typename StatusT = Aws::String>
155 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
165 template<
typename VpcIdT = Aws::String>
166 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
167 template<
typename VpcIdT = Aws::String>
178 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
179 void SetClusterCreateTime(ClusterCreateTimeT&& value) { m_clusterCreateTimeHasBeenSet =
true; m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value); }
180 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
190 template<
typename MasterUsernameT = Aws::String>
191 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
192 template<
typename MasterUsernameT = Aws::String>
202 template<
typename EngineVersionT = Aws::String>
203 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
204 template<
typename EngineVersionT = Aws::String>
214 template<
typename LicenseModelT = Aws::String>
215 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet =
true; m_licenseModel = std::forward<LicenseModelT>(value); }
216 template<
typename LicenseModelT = Aws::String>
226 template<
typename SnapshotTypeT = Aws::String>
227 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet =
true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
228 template<
typename SnapshotTypeT = Aws::String>
238 inline void SetPercentProgress(
int value) { m_percentProgressHasBeenSet =
true; m_percentProgress = value; }
248 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
261 template<
typename KmsKeyIdT = Aws::String>
262 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
263 template<
typename KmsKeyIdT = Aws::String>
273 template<
typename DBClusterSnapshotArnT = Aws::String>
274 void SetDBClusterSnapshotArn(DBClusterSnapshotArnT&& value) { m_dBClusterSnapshotArnHasBeenSet =
true; m_dBClusterSnapshotArn = std::forward<DBClusterSnapshotArnT>(value); }
275 template<
typename DBClusterSnapshotArnT = Aws::String>
287 template<
typename SourceDBClusterSnapshotArnT = Aws::String>
288 void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT&& value) { m_sourceDBClusterSnapshotArnHasBeenSet =
true; m_sourceDBClusterSnapshotArn = std::forward<SourceDBClusterSnapshotArnT>(value); }
289 template<
typename SourceDBClusterSnapshotArnT = Aws::String>
308 template<
typename TagListT = Aws::Vector<Tag>>
309 void SetTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList = std::forward<TagListT>(value); }
310 template<
typename TagListT = Aws::Vector<Tag>>
312 template<
typename TagListT = Tag>
313 DBClusterSnapshot&
AddTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList.emplace_back(std::forward<TagListT>(value));
return *
this; }
322 template<
typename DBSystemIdT = Aws::String>
323 void SetDBSystemId(DBSystemIdT&& value) { m_dBSystemIdHasBeenSet =
true; m_dBSystemId = std::forward<DBSystemIdT>(value); }
324 template<
typename DBSystemIdT = Aws::String>
335 template<
typename StorageTypeT = Aws::String>
336 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
337 template<
typename StorageTypeT = Aws::String>
348 template<
typename DbClusterResourceIdT = Aws::String>
349 void SetDbClusterResourceId(DbClusterResourceIdT&& value) { m_dbClusterResourceIdHasBeenSet =
true; m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value); }
350 template<
typename DbClusterResourceIdT = Aws::String>
363 inline void SetStorageThroughput(
int value) { m_storageThroughputHasBeenSet =
true; m_storageThroughput = value; }
369 bool m_availabilityZonesHasBeenSet =
false;
372 bool m_dBClusterSnapshotIdentifierHasBeenSet =
false;
375 bool m_dBClusterIdentifierHasBeenSet =
false;
378 bool m_snapshotCreateTimeHasBeenSet =
false;
381 bool m_engineHasBeenSet =
false;
384 bool m_engineModeHasBeenSet =
false;
386 int m_allocatedStorage{0};
387 bool m_allocatedStorageHasBeenSet =
false;
390 bool m_statusHasBeenSet =
false;
393 bool m_portHasBeenSet =
false;
396 bool m_vpcIdHasBeenSet =
false;
399 bool m_clusterCreateTimeHasBeenSet =
false;
402 bool m_masterUsernameHasBeenSet =
false;
405 bool m_engineVersionHasBeenSet =
false;
408 bool m_licenseModelHasBeenSet =
false;
411 bool m_snapshotTypeHasBeenSet =
false;
413 int m_percentProgress{0};
414 bool m_percentProgressHasBeenSet =
false;
416 bool m_storageEncrypted{
false};
417 bool m_storageEncryptedHasBeenSet =
false;
420 bool m_kmsKeyIdHasBeenSet =
false;
423 bool m_dBClusterSnapshotArnHasBeenSet =
false;
426 bool m_sourceDBClusterSnapshotArnHasBeenSet =
false;
428 bool m_iAMDatabaseAuthenticationEnabled{
false};
429 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
432 bool m_tagListHasBeenSet =
false;
435 bool m_dBSystemIdHasBeenSet =
false;
438 bool m_storageTypeHasBeenSet =
false;
441 bool m_dbClusterResourceIdHasBeenSet =
false;
443 int m_storageThroughput{0};
444 bool m_storageThroughputHasBeenSet =
false;
bool LicenseModelHasBeenSet() const
bool GetIAMDatabaseAuthenticationEnabled() const
void SetStorageType(StorageTypeT &&value)
DBClusterSnapshot & WithSnapshotType(SnapshotTypeT &&value)
const Aws::String & GetDBClusterSnapshotIdentifier() const
bool StorageEncryptedHasBeenSet() const
void SetEngine(EngineT &&value)
void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&value)
void SetMasterUsername(MasterUsernameT &&value)
void SetPercentProgress(int value)
void SetSnapshotType(SnapshotTypeT &&value)
DBClusterSnapshot & WithIAMDatabaseAuthenticationEnabled(bool value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
DBClusterSnapshot & WithDbClusterResourceId(DbClusterResourceIdT &&value)
DBClusterSnapshot & WithVpcId(VpcIdT &&value)
void SetDBSystemId(DBSystemIdT &&value)
const Aws::String & GetDbClusterResourceId() const
bool DbClusterResourceIdHasBeenSet() const
void SetTagList(TagListT &&value)
DBClusterSnapshot & WithStorageEncrypted(bool value)
DBClusterSnapshot & WithDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
bool EngineVersionHasBeenSet() const
bool GetStorageEncrypted() const
int GetPercentProgress() const
const Aws::String & GetStorageType() const
bool DBClusterSnapshotArnHasBeenSet() const
AWS_RDS_API DBClusterSnapshot()=default
const Aws::String & GetSourceDBClusterSnapshotArn() const
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
bool SnapshotCreateTimeHasBeenSet() const
bool PercentProgressHasBeenSet() const
void SetLicenseModel(LicenseModelT &&value)
bool AvailabilityZonesHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
bool SourceDBClusterSnapshotArnHasBeenSet() const
DBClusterSnapshot & WithStorageThroughput(int value)
const Aws::Vector< Tag > & GetTagList() const
DBClusterSnapshot & WithEngineVersion(EngineVersionT &&value)
const Aws::String & GetStatus() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool VpcIdHasBeenSet() const
DBClusterSnapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
DBClusterSnapshot & WithDBSystemId(DBSystemIdT &&value)
void SetVpcId(VpcIdT &&value)
bool StatusHasBeenSet() const
void SetIAMDatabaseAuthenticationEnabled(bool value)
AWS_RDS_API DBClusterSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StorageThroughputHasBeenSet() const
DBClusterSnapshot & WithClusterCreateTime(ClusterCreateTimeT &&value)
void SetAllocatedStorage(int value)
bool MasterUsernameHasBeenSet() const
DBClusterSnapshot & WithStorageType(StorageTypeT &&value)
bool EngineHasBeenSet() const
AWS_RDS_API DBClusterSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
DBClusterSnapshot & WithLicenseModel(LicenseModelT &&value)
void SetEngineMode(EngineModeT &&value)
bool PortHasBeenSet() const
const Aws::String & GetEngine() const
void SetStorageEncrypted(bool value)
int GetAllocatedStorage() const
DBClusterSnapshot & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
void SetClusterCreateTime(ClusterCreateTimeT &&value)
const Aws::String & GetVpcId() const
const Aws::String & GetDBClusterSnapshotArn() const
bool DBSystemIdHasBeenSet() const
bool AllocatedStorageHasBeenSet() const
const Aws::String & GetEngineVersion() const
bool ClusterCreateTimeHasBeenSet() const
bool SnapshotTypeHasBeenSet() const
int GetStorageThroughput() const
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DBClusterSnapshot & AddAvailabilityZones(AvailabilityZonesT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool StorageTypeHasBeenSet() const
DBClusterSnapshot & WithAllocatedStorage(int value)
void SetStorageThroughput(int value)
const Aws::String & GetDBClusterIdentifier() const
DBClusterSnapshot & WithTagList(TagListT &&value)
const Aws::String & GetLicenseModel() const
const Aws::Utils::DateTime & GetClusterCreateTime() const
DBClusterSnapshot & WithStatus(StatusT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
void SetDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
DBClusterSnapshot & WithEngine(EngineT &&value)
const Aws::String & GetEngineMode() const
bool DBClusterSnapshotIdentifierHasBeenSet() const
const Aws::String & GetMasterUsername() const
DBClusterSnapshot & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
bool EngineModeHasBeenSet() const
const Aws::String & GetSnapshotType() const
const Aws::String & GetKmsKeyId() const
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetDBSystemId() const
bool TagListHasBeenSet() const
DBClusterSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
DBClusterSnapshot & WithPercentProgress(int value)
DBClusterSnapshot & WithAvailabilityZones(AvailabilityZonesT &&value)
DBClusterSnapshot & WithMasterUsername(MasterUsernameT &&value)
void SetStatus(StatusT &&value)
DBClusterSnapshot & WithEngineMode(EngineModeT &&value)
DBClusterSnapshot & WithPort(int value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
DBClusterSnapshot & AddTagList(TagListT &&value)
bool KmsKeyIdHasBeenSet() const
bool DBClusterIdentifierHasBeenSet() const
DBClusterSnapshot & WithSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&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