7#include <aws/docdb/DocDB_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>
51 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
52 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
53 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
55 template<
typename AvailabilityZonesT = Aws::String>
56 DBClusterSnapshot&
AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
return *
this; }
65 template<
typename DBClusterSnapshotIdentifierT = Aws::String>
66 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet =
true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
67 template<
typename DBClusterSnapshotIdentifierT = Aws::String>
78 template<
typename DBClusterIdentifierT = Aws::String>
79 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
80 template<
typename DBClusterIdentifierT = Aws::String>
90 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
91 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet =
true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
92 template<
typename SnapshotCreateTimeT = Aws::Utils::DateTime>
102 template<
typename EngineT = Aws::String>
103 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
104 template<
typename EngineT = Aws::String>
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 VpcIdT = Aws::String>
139 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
140 template<
typename VpcIdT = Aws::String>
151 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
152 void SetClusterCreateTime(ClusterCreateTimeT&& value) { m_clusterCreateTimeHasBeenSet =
true; m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value); }
153 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
163 template<
typename MasterUsernameT = Aws::String>
164 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
165 template<
typename MasterUsernameT = Aws::String>
175 template<
typename EngineVersionT = Aws::String>
176 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
177 template<
typename EngineVersionT = Aws::String>
187 template<
typename SnapshotTypeT = Aws::String>
188 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet =
true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
189 template<
typename SnapshotTypeT = Aws::String>
199 inline void SetPercentProgress(
int value) { m_percentProgressHasBeenSet =
true; m_percentProgress = value; }
209 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
220 template<
typename KmsKeyIdT = Aws::String>
221 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
222 template<
typename KmsKeyIdT = Aws::String>
232 template<
typename DBClusterSnapshotArnT = Aws::String>
233 void SetDBClusterSnapshotArn(DBClusterSnapshotArnT&& value) { m_dBClusterSnapshotArnHasBeenSet =
true; m_dBClusterSnapshotArn = std::forward<DBClusterSnapshotArnT>(value); }
234 template<
typename DBClusterSnapshotArnT = Aws::String>
245 template<
typename SourceDBClusterSnapshotArnT = Aws::String>
246 void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT&& value) { m_sourceDBClusterSnapshotArnHasBeenSet =
true; m_sourceDBClusterSnapshotArn = std::forward<SourceDBClusterSnapshotArnT>(value); }
247 template<
typename SourceDBClusterSnapshotArnT = Aws::String>
261 template<
typename StorageTypeT = Aws::String>
262 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
263 template<
typename StorageTypeT = Aws::String>
269 bool m_availabilityZonesHasBeenSet =
false;
272 bool m_dBClusterSnapshotIdentifierHasBeenSet =
false;
275 bool m_dBClusterIdentifierHasBeenSet =
false;
278 bool m_snapshotCreateTimeHasBeenSet =
false;
281 bool m_engineHasBeenSet =
false;
284 bool m_statusHasBeenSet =
false;
287 bool m_portHasBeenSet =
false;
290 bool m_vpcIdHasBeenSet =
false;
293 bool m_clusterCreateTimeHasBeenSet =
false;
296 bool m_masterUsernameHasBeenSet =
false;
299 bool m_engineVersionHasBeenSet =
false;
302 bool m_snapshotTypeHasBeenSet =
false;
304 int m_percentProgress{0};
305 bool m_percentProgressHasBeenSet =
false;
307 bool m_storageEncrypted{
false};
308 bool m_storageEncryptedHasBeenSet =
false;
311 bool m_kmsKeyIdHasBeenSet =
false;
314 bool m_dBClusterSnapshotArnHasBeenSet =
false;
317 bool m_sourceDBClusterSnapshotArnHasBeenSet =
false;
320 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