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/docdb/DocDB_EXPORTS.h>
45 template <
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
47 m_availabilityZonesHasBeenSet =
true;
48 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
50 template <
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
55 template <
typename AvailabilityZonesT = Aws::String>
57 m_availabilityZonesHasBeenSet =
true;
58 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
69 template <
typename DBClusterSnapshotIdentifierT = Aws::String>
71 m_dBClusterSnapshotIdentifierHasBeenSet =
true;
72 m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value);
74 template <
typename DBClusterSnapshotIdentifierT = Aws::String>
88 template <
typename DBClusterIdentifierT = Aws::String>
90 m_dBClusterIdentifierHasBeenSet =
true;
91 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
93 template <
typename DBClusterIdentifierT = Aws::String>
106 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
108 m_snapshotCreateTimeHasBeenSet =
true;
109 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
111 template <
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
124 template <
typename EngineT = Aws::String>
126 m_engineHasBeenSet =
true;
127 m_engine = std::forward<EngineT>(value);
129 template <
typename EngineT = Aws::String>
142 template <
typename StatusT = Aws::String>
144 m_statusHasBeenSet =
true;
145 m_status = std::forward<StatusT>(value);
147 template <
typename StatusT = Aws::String>
162 m_portHasBeenSet =
true;
178 template <
typename VpcIdT = Aws::String>
180 m_vpcIdHasBeenSet =
true;
181 m_vpcId = std::forward<VpcIdT>(value);
183 template <
typename VpcIdT = Aws::String>
185 SetVpcId(std::forward<VpcIdT>(value));
197 template <
typename ClusterCreateTimeT = Aws::Utils::DateTime>
199 m_clusterCreateTimeHasBeenSet =
true;
200 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
202 template <
typename ClusterCreateTimeT = Aws::Utils::DateTime>
215 template <
typename MasterUsernameT = Aws::String>
217 m_masterUsernameHasBeenSet =
true;
218 m_masterUsername = std::forward<MasterUsernameT>(value);
220 template <
typename MasterUsernameT = Aws::String>
233 template <
typename EngineVersionT = Aws::String>
235 m_engineVersionHasBeenSet =
true;
236 m_engineVersion = std::forward<EngineVersionT>(value);
238 template <
typename EngineVersionT = Aws::String>
251 template <
typename SnapshotTypeT = Aws::String>
253 m_snapshotTypeHasBeenSet =
true;
254 m_snapshotType = std::forward<SnapshotTypeT>(value);
256 template <
typename SnapshotTypeT = Aws::String>
270 m_percentProgressHasBeenSet =
true;
271 m_percentProgress = value;
286 m_storageEncryptedHasBeenSet =
true;
287 m_storageEncrypted = value;
302 template <
typename KmsKeyIdT = Aws::String>
304 m_kmsKeyIdHasBeenSet =
true;
305 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
307 template <
typename KmsKeyIdT = Aws::String>
320 template <
typename DBClusterSnapshotArnT = Aws::String>
322 m_dBClusterSnapshotArnHasBeenSet =
true;
323 m_dBClusterSnapshotArn = std::forward<DBClusterSnapshotArnT>(value);
325 template <
typename DBClusterSnapshotArnT = Aws::String>
339 template <
typename SourceDBClusterSnapshotArnT = Aws::String>
341 m_sourceDBClusterSnapshotArnHasBeenSet =
true;
342 m_sourceDBClusterSnapshotArn = std::forward<SourceDBClusterSnapshotArnT>(value);
344 template <
typename SourceDBClusterSnapshotArnT = Aws::String>
361 template <
typename StorageTypeT = Aws::String>
363 m_storageTypeHasBeenSet =
true;
364 m_storageType = std::forward<StorageTypeT>(value);
366 template <
typename StorageTypeT = Aws::String>
397 int m_percentProgress{0};
399 bool m_storageEncrypted{
false};
408 bool m_availabilityZonesHasBeenSet =
false;
409 bool m_dBClusterSnapshotIdentifierHasBeenSet =
false;
410 bool m_dBClusterIdentifierHasBeenSet =
false;
411 bool m_snapshotCreateTimeHasBeenSet =
false;
412 bool m_engineHasBeenSet =
false;
413 bool m_statusHasBeenSet =
false;
414 bool m_portHasBeenSet =
false;
415 bool m_vpcIdHasBeenSet =
false;
416 bool m_clusterCreateTimeHasBeenSet =
false;
417 bool m_masterUsernameHasBeenSet =
false;
418 bool m_engineVersionHasBeenSet =
false;
419 bool m_snapshotTypeHasBeenSet =
false;
420 bool m_percentProgressHasBeenSet =
false;
421 bool m_storageEncryptedHasBeenSet =
false;
422 bool m_kmsKeyIdHasBeenSet =
false;
423 bool m_dBClusterSnapshotArnHasBeenSet =
false;
424 bool m_sourceDBClusterSnapshotArnHasBeenSet =
false;
425 bool m_storageTypeHasBeenSet =
false;
DBClusterSnapshot & WithVpcId(VpcIdT &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetClusterCreateTime() const
const Aws::String & GetStorageType() const
void SetDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
void SetVpcId(VpcIdT &&value)
DBClusterSnapshot & WithClusterCreateTime(ClusterCreateTimeT &&value)
DBClusterSnapshot & AddAvailabilityZones(AvailabilityZonesT &&value)
bool MasterUsernameHasBeenSet() const
void SetEngine(EngineT &&value)
void SetMasterUsername(MasterUsernameT &&value)
void SetEngineVersion(EngineVersionT &&value)
bool DBClusterSnapshotArnHasBeenSet() const
bool StorageEncryptedHasBeenSet() const
void SetPercentProgress(int value)
const Aws::String & GetStatus() const
bool SnapshotTypeHasBeenSet() const
void SetStorageType(StorageTypeT &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_DOCDB_API DBClusterSnapshot()=default
DBClusterSnapshot & WithStorageEncrypted(bool value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
bool SnapshotCreateTimeHasBeenSet() const
DBClusterSnapshot & WithStatus(StatusT &&value)
AWS_DOCDB_API DBClusterSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshot & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetDBClusterSnapshotIdentifier() const
DBClusterSnapshot & WithEngine(EngineT &&value)
bool SourceDBClusterSnapshotArnHasBeenSet() const
bool PercentProgressHasBeenSet() const
DBClusterSnapshot & WithStorageType(StorageTypeT &&value)
DBClusterSnapshot & WithDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
DBClusterSnapshot & WithAvailabilityZones(AvailabilityZonesT &&value)
const Aws::String & GetEngineVersion() const
const Aws::String & GetVpcId() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool StatusHasBeenSet() const
DBClusterSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
bool VpcIdHasBeenSet() const
void SetSnapshotType(SnapshotTypeT &&value)
bool PortHasBeenSet() const
const Aws::String & GetSnapshotType() const
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetMasterUsername() const
bool ClusterCreateTimeHasBeenSet() const
DBClusterSnapshot & WithSnapshotType(SnapshotTypeT &&value)
const Aws::String & GetEngine() const
DBClusterSnapshot & WithPort(int value)
DBClusterSnapshot & WithEngineVersion(EngineVersionT &&value)
const Aws::String & GetDBClusterSnapshotArn() const
bool StorageTypeHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
DBClusterSnapshot & WithSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&value)
bool EngineVersionHasBeenSet() const
bool DBClusterSnapshotIdentifierHasBeenSet() const
void SetStorageEncrypted(bool value)
void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&value)
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DBClusterSnapshot & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
const Aws::String & GetKmsKeyId() const
void SetStatus(StatusT &&value)
AWS_DOCDB_API DBClusterSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetPercentProgress() const
DBClusterSnapshot & WithMasterUsername(MasterUsernameT &&value)
bool DBClusterIdentifierHasBeenSet() const
void SetClusterCreateTime(ClusterCreateTimeT &&value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
DBClusterSnapshot & WithPercentProgress(int value)
bool AvailabilityZonesHasBeenSet() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
bool GetStorageEncrypted() const
const Aws::String & GetDBClusterIdentifier() const
DBClusterSnapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
const Aws::String & GetSourceDBClusterSnapshotArn() const
bool EngineHasBeenSet() const
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