7#include <aws/neptune/Neptune_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>
53 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
54 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
55 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
57 template<
typename AvailabilityZonesT = Aws::String>
58 DBClusterSnapshot&
AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
return *
this; }
78 template<
typename DBClusterSnapshotIdentifierT = Aws::String>
79 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet =
true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
80 template<
typename DBClusterSnapshotIdentifierT = Aws::String>
91 template<
typename DBClusterIdentifierT = Aws::String>
92 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
93 template<
typename DBClusterIdentifierT = Aws::String>
104 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
105 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet =
true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
106 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
116 template<
typename EngineT = Aws::String>
117 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
118 template<
typename EngineT = Aws::String>
128 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
138 template<
typename StatusT = Aws::String>
139 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
140 template<
typename StatusT = Aws::String>
151 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
161 template<
typename VpcIdT = Aws::String>
162 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
163 template<
typename VpcIdT = Aws::String>
174 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
175 void SetClusterCreateTime(ClusterCreateTimeT&& value) { m_clusterCreateTimeHasBeenSet =
true; m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value); }
176 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
186 template<
typename MasterUsernameT = Aws::String>
187 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
188 template<
typename MasterUsernameT = Aws::String>
198 template<
typename EngineVersionT = Aws::String>
199 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
200 template<
typename EngineVersionT = Aws::String>
210 template<
typename LicenseModelT = Aws::String>
211 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet =
true; m_licenseModel = std::forward<LicenseModelT>(value); }
212 template<
typename LicenseModelT = Aws::String>
222 template<
typename SnapshotTypeT = Aws::String>
223 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet =
true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
224 template<
typename SnapshotTypeT = Aws::String>
234 inline void SetPercentProgress(
int value) { m_percentProgressHasBeenSet =
true; m_percentProgress = value; }
244 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
255 template<
typename KmsKeyIdT = Aws::String>
256 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
257 template<
typename KmsKeyIdT = Aws::String>
267 template<
typename DBClusterSnapshotArnT = Aws::String>
268 void SetDBClusterSnapshotArn(DBClusterSnapshotArnT&& value) { m_dBClusterSnapshotArnHasBeenSet =
true; m_dBClusterSnapshotArn = std::forward<DBClusterSnapshotArnT>(value); }
269 template<
typename DBClusterSnapshotArnT = Aws::String>
281 template<
typename SourceDBClusterSnapshotArnT = Aws::String>
282 void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT&& value) { m_sourceDBClusterSnapshotArnHasBeenSet =
true; m_sourceDBClusterSnapshotArn = std::forward<SourceDBClusterSnapshotArnT>(value); }
283 template<
typename SourceDBClusterSnapshotArnT = Aws::String>
304 template<
typename StorageTypeT = Aws::String>
305 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
306 template<
typename StorageTypeT = Aws::String>
312 bool m_availabilityZonesHasBeenSet =
false;
315 bool m_dBClusterSnapshotIdentifierHasBeenSet =
false;
318 bool m_dBClusterIdentifierHasBeenSet =
false;
321 bool m_snapshotCreateTimeHasBeenSet =
false;
324 bool m_engineHasBeenSet =
false;
326 int m_allocatedStorage{0};
327 bool m_allocatedStorageHasBeenSet =
false;
330 bool m_statusHasBeenSet =
false;
333 bool m_portHasBeenSet =
false;
336 bool m_vpcIdHasBeenSet =
false;
339 bool m_clusterCreateTimeHasBeenSet =
false;
342 bool m_masterUsernameHasBeenSet =
false;
345 bool m_engineVersionHasBeenSet =
false;
348 bool m_licenseModelHasBeenSet =
false;
351 bool m_snapshotTypeHasBeenSet =
false;
353 int m_percentProgress{0};
354 bool m_percentProgressHasBeenSet =
false;
356 bool m_storageEncrypted{
false};
357 bool m_storageEncryptedHasBeenSet =
false;
360 bool m_kmsKeyIdHasBeenSet =
false;
363 bool m_dBClusterSnapshotArnHasBeenSet =
false;
366 bool m_sourceDBClusterSnapshotArnHasBeenSet =
false;
368 bool m_iAMDatabaseAuthenticationEnabled{
false};
369 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
372 bool m_storageTypeHasBeenSet =
false;
DBClusterSnapshot & WithStatus(StatusT &&value)
bool VpcIdHasBeenSet() const
bool GetIAMDatabaseAuthenticationEnabled() const
bool StatusHasBeenSet() const
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
void SetStorageEncrypted(bool value)
DBClusterSnapshot & WithSnapshotType(SnapshotTypeT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetEngineVersion(EngineVersionT &&value)
const Aws::String & GetStorageType() const
void SetStatus(StatusT &&value)
void SetClusterCreateTime(ClusterCreateTimeT &&value)
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetEngine() const
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
bool AvailabilityZonesHasBeenSet() const
bool EngineHasBeenSet() const
void SetLicenseModel(LicenseModelT &&value)
const Aws::String & GetMasterUsername() const
DBClusterSnapshot & WithAvailabilityZones(AvailabilityZonesT &&value)
bool DBClusterSnapshotArnHasBeenSet() const
bool LicenseModelHasBeenSet() const
DBClusterSnapshot & WithStorageEncrypted(bool value)
DBClusterSnapshot & WithPercentProgress(int value)
bool SourceDBClusterSnapshotArnHasBeenSet() const
AWS_NEPTUNE_API DBClusterSnapshot()=default
DBClusterSnapshot & WithLicenseModel(LicenseModelT &&value)
DBClusterSnapshot & AddAvailabilityZones(AvailabilityZonesT &&value)
bool EngineVersionHasBeenSet() const
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
const Aws::String & GetSnapshotType() const
void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&value)
DBClusterSnapshot & WithAllocatedStorage(int value)
DBClusterSnapshot & WithIAMDatabaseAuthenticationEnabled(bool value)
void SetStorageType(StorageTypeT &&value)
DBClusterSnapshot & WithMasterUsername(MasterUsernameT &&value)
void SetIAMDatabaseAuthenticationEnabled(bool value)
DBClusterSnapshot & WithStorageType(StorageTypeT &&value)
bool DBClusterSnapshotIdentifierHasBeenSet() const
bool AllocatedStorageHasBeenSet() const
void SetVpcId(VpcIdT &&value)
const Aws::String & GetKmsKeyId() const
AWS_NEPTUNE_API DBClusterSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSnapshotType(SnapshotTypeT &&value)
int GetPercentProgress() const
bool PortHasBeenSet() const
const Aws::String & GetLicenseModel() const
DBClusterSnapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
void SetAllocatedStorage(int value)
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetDBClusterSnapshotArn() const
bool MasterUsernameHasBeenSet() const
bool StorageEncryptedHasBeenSet() const
void SetEngine(EngineT &&value)
bool DBClusterIdentifierHasBeenSet() const
bool GetStorageEncrypted() const
bool StorageTypeHasBeenSet() const
AWS_NEPTUNE_API DBClusterSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetSourceDBClusterSnapshotArn() const
const Aws::Utils::DateTime & GetClusterCreateTime() const
DBClusterSnapshot & WithDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
DBClusterSnapshot & WithClusterCreateTime(ClusterCreateTimeT &&value)
DBClusterSnapshot & WithVpcId(VpcIdT &&value)
void SetDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
const Aws::String & GetDBClusterSnapshotIdentifier() const
const Aws::String & GetDBClusterIdentifier() const
bool SnapshotTypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
DBClusterSnapshot & WithSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&value)
const Aws::String & GetStatus() const
DBClusterSnapshot & WithEngineVersion(EngineVersionT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
void SetPercentProgress(int value)
const Aws::String & GetVpcId() const
DBClusterSnapshot & WithEngine(EngineT &&value)
DBClusterSnapshot & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
bool PercentProgressHasBeenSet() const
bool SnapshotCreateTimeHasBeenSet() const
void SetMasterUsername(MasterUsernameT &&value)
DBClusterSnapshot & WithPort(int value)
int GetAllocatedStorage() const
bool ClusterCreateTimeHasBeenSet() const
const Aws::String & GetEngineVersion() const
DBClusterSnapshot & WithDBClusterIdentifier(DBClusterIdentifierT &&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