AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBCluster.h
1
6#pragma once
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>
12#include <aws/docdb/model/DBClusterMember.h>
13#include <aws/docdb/model/VpcSecurityGroupMembership.h>
14#include <aws/docdb/model/DBClusterRole.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace DocDB
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_DOCDB_API DBCluster();
40 AWS_DOCDB_API DBCluster(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_DOCDB_API DBCluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
52 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
53 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
54 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
55 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
57 inline DBCluster& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
58 inline DBCluster& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
59 inline DBCluster& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
60 inline DBCluster& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
62
64
67 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
68 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
69 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
70 inline DBCluster& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;}
72
74
78 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
79 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
80 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
81 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
82 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
83 inline DBCluster& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
84 inline DBCluster& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
85 inline DBCluster& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
87
89
92 inline const Aws::String& GetDBClusterParameterGroup() const{ return m_dBClusterParameterGroup; }
93 inline bool DBClusterParameterGroupHasBeenSet() const { return m_dBClusterParameterGroupHasBeenSet; }
94 inline void SetDBClusterParameterGroup(const Aws::String& value) { m_dBClusterParameterGroupHasBeenSet = true; m_dBClusterParameterGroup = value; }
95 inline void SetDBClusterParameterGroup(Aws::String&& value) { m_dBClusterParameterGroupHasBeenSet = true; m_dBClusterParameterGroup = std::move(value); }
96 inline void SetDBClusterParameterGroup(const char* value) { m_dBClusterParameterGroupHasBeenSet = true; m_dBClusterParameterGroup.assign(value); }
97 inline DBCluster& WithDBClusterParameterGroup(const Aws::String& value) { SetDBClusterParameterGroup(value); return *this;}
98 inline DBCluster& WithDBClusterParameterGroup(Aws::String&& value) { SetDBClusterParameterGroup(std::move(value)); return *this;}
99 inline DBCluster& WithDBClusterParameterGroup(const char* value) { SetDBClusterParameterGroup(value); return *this;}
101
103
107 inline const Aws::String& GetDBSubnetGroup() const{ return m_dBSubnetGroup; }
108 inline bool DBSubnetGroupHasBeenSet() const { return m_dBSubnetGroupHasBeenSet; }
109 inline void SetDBSubnetGroup(const Aws::String& value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup = value; }
110 inline void SetDBSubnetGroup(Aws::String&& value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup = std::move(value); }
111 inline void SetDBSubnetGroup(const char* value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup.assign(value); }
112 inline DBCluster& WithDBSubnetGroup(const Aws::String& value) { SetDBSubnetGroup(value); return *this;}
113 inline DBCluster& WithDBSubnetGroup(Aws::String&& value) { SetDBSubnetGroup(std::move(value)); return *this;}
114 inline DBCluster& WithDBSubnetGroup(const char* value) { SetDBSubnetGroup(value); return *this;}
116
118
121 inline const Aws::String& GetStatus() const{ return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
124 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
125 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
126 inline DBCluster& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
127 inline DBCluster& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
128 inline DBCluster& WithStatus(const char* value) { SetStatus(value); return *this;}
130
132
135 inline const Aws::String& GetPercentProgress() const{ return m_percentProgress; }
136 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
137 inline void SetPercentProgress(const Aws::String& value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; }
138 inline void SetPercentProgress(Aws::String&& value) { m_percentProgressHasBeenSet = true; m_percentProgress = std::move(value); }
139 inline void SetPercentProgress(const char* value) { m_percentProgressHasBeenSet = true; m_percentProgress.assign(value); }
140 inline DBCluster& WithPercentProgress(const Aws::String& value) { SetPercentProgress(value); return *this;}
141 inline DBCluster& WithPercentProgress(Aws::String&& value) { SetPercentProgress(std::move(value)); return *this;}
142 inline DBCluster& WithPercentProgress(const char* value) { SetPercentProgress(value); return *this;}
144
146
150 inline const Aws::Utils::DateTime& GetEarliestRestorableTime() const{ return m_earliestRestorableTime; }
151 inline bool EarliestRestorableTimeHasBeenSet() const { return m_earliestRestorableTimeHasBeenSet; }
152 inline void SetEarliestRestorableTime(const Aws::Utils::DateTime& value) { m_earliestRestorableTimeHasBeenSet = true; m_earliestRestorableTime = value; }
153 inline void SetEarliestRestorableTime(Aws::Utils::DateTime&& value) { m_earliestRestorableTimeHasBeenSet = true; m_earliestRestorableTime = std::move(value); }
155 inline DBCluster& WithEarliestRestorableTime(Aws::Utils::DateTime&& value) { SetEarliestRestorableTime(std::move(value)); return *this;}
157
159
163 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
164 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
165 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
166 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
167 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
168 inline DBCluster& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
169 inline DBCluster& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
170 inline DBCluster& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
172
174
186 inline const Aws::String& GetReaderEndpoint() const{ return m_readerEndpoint; }
187 inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; }
188 inline void SetReaderEndpoint(const Aws::String& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = value; }
189 inline void SetReaderEndpoint(Aws::String&& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = std::move(value); }
190 inline void SetReaderEndpoint(const char* value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint.assign(value); }
191 inline DBCluster& WithReaderEndpoint(const Aws::String& value) { SetReaderEndpoint(value); return *this;}
192 inline DBCluster& WithReaderEndpoint(Aws::String&& value) { SetReaderEndpoint(std::move(value)); return *this;}
193 inline DBCluster& WithReaderEndpoint(const char* value) { SetReaderEndpoint(value); return *this;}
195
197
201 inline bool GetMultiAZ() const{ return m_multiAZ; }
202 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
203 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
204 inline DBCluster& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
206
208
211 inline const Aws::String& GetEngine() const{ return m_engine; }
212 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
213 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
214 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
215 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
216 inline DBCluster& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
217 inline DBCluster& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
218 inline DBCluster& WithEngine(const char* value) { SetEngine(value); return *this;}
220
222
225 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
226 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
227 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
228 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
229 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
230 inline DBCluster& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
231 inline DBCluster& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
232 inline DBCluster& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
234
236
240 inline const Aws::Utils::DateTime& GetLatestRestorableTime() const{ return m_latestRestorableTime; }
241 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
242 inline void SetLatestRestorableTime(const Aws::Utils::DateTime& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = value; }
243 inline void SetLatestRestorableTime(Aws::Utils::DateTime&& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = std::move(value); }
245 inline DBCluster& WithLatestRestorableTime(Aws::Utils::DateTime&& value) { SetLatestRestorableTime(std::move(value)); return *this;}
247
249
252 inline int GetPort() const{ return m_port; }
253 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
254 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
255 inline DBCluster& WithPort(int value) { SetPort(value); return *this;}
257
259
262 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
263 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
264 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
265 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
266 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
267 inline DBCluster& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
268 inline DBCluster& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
269 inline DBCluster& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
271
273
278 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
279 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
280 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
281 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
282 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
283 inline DBCluster& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;}
284 inline DBCluster& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;}
285 inline DBCluster& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;}
287
289
293 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
294 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
295 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
296 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
297 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
299 inline DBCluster& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;}
300 inline DBCluster& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
302
304
308 inline const Aws::String& GetReplicationSourceIdentifier() const{ return m_replicationSourceIdentifier; }
309 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
310 inline void SetReplicationSourceIdentifier(const Aws::String& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = value; }
311 inline void SetReplicationSourceIdentifier(Aws::String&& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = std::move(value); }
312 inline void SetReplicationSourceIdentifier(const char* value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier.assign(value); }
314 inline DBCluster& WithReplicationSourceIdentifier(Aws::String&& value) { SetReplicationSourceIdentifier(std::move(value)); return *this;}
315 inline DBCluster& WithReplicationSourceIdentifier(const char* value) { SetReplicationSourceIdentifier(value); return *this;}
317
319
323 inline const Aws::Vector<Aws::String>& GetReadReplicaIdentifiers() const{ return m_readReplicaIdentifiers; }
324 inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; }
325 inline void SetReadReplicaIdentifiers(const Aws::Vector<Aws::String>& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers = value; }
326 inline void SetReadReplicaIdentifiers(Aws::Vector<Aws::String>&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers = std::move(value); }
329 inline DBCluster& AddReadReplicaIdentifiers(const Aws::String& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.push_back(value); return *this; }
330 inline DBCluster& AddReadReplicaIdentifiers(Aws::String&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.push_back(std::move(value)); return *this; }
331 inline DBCluster& AddReadReplicaIdentifiers(const char* value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.push_back(value); return *this; }
333
335
338 inline const Aws::Vector<DBClusterMember>& GetDBClusterMembers() const{ return m_dBClusterMembers; }
339 inline bool DBClusterMembersHasBeenSet() const { return m_dBClusterMembersHasBeenSet; }
340 inline void SetDBClusterMembers(const Aws::Vector<DBClusterMember>& value) { m_dBClusterMembersHasBeenSet = true; m_dBClusterMembers = value; }
341 inline void SetDBClusterMembers(Aws::Vector<DBClusterMember>&& value) { m_dBClusterMembersHasBeenSet = true; m_dBClusterMembers = std::move(value); }
343 inline DBCluster& WithDBClusterMembers(Aws::Vector<DBClusterMember>&& value) { SetDBClusterMembers(std::move(value)); return *this;}
344 inline DBCluster& AddDBClusterMembers(const DBClusterMember& value) { m_dBClusterMembersHasBeenSet = true; m_dBClusterMembers.push_back(value); return *this; }
345 inline DBCluster& AddDBClusterMembers(DBClusterMember&& value) { m_dBClusterMembersHasBeenSet = true; m_dBClusterMembers.push_back(std::move(value)); return *this; }
347
349
353 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; }
354 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
355 inline void SetVpcSecurityGroups(const Aws::Vector<VpcSecurityGroupMembership>& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; }
356 inline void SetVpcSecurityGroups(Aws::Vector<VpcSecurityGroupMembership>&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); }
359 inline DBCluster& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
360 inline DBCluster& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
362
364
368 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
369 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
370 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
371 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
372 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
373 inline DBCluster& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
374 inline DBCluster& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
375 inline DBCluster& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
377
379
382 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; }
383 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
384 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
385 inline DBCluster& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
387
389
393 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
394 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
395 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
396 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
397 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
398 inline DBCluster& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
399 inline DBCluster& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
400 inline DBCluster& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
402
404
409 inline const Aws::String& GetDbClusterResourceId() const{ return m_dbClusterResourceId; }
410 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
411 inline void SetDbClusterResourceId(const Aws::String& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = value; }
412 inline void SetDbClusterResourceId(Aws::String&& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = std::move(value); }
413 inline void SetDbClusterResourceId(const char* value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId.assign(value); }
414 inline DBCluster& WithDbClusterResourceId(const Aws::String& value) { SetDbClusterResourceId(value); return *this;}
415 inline DBCluster& WithDbClusterResourceId(Aws::String&& value) { SetDbClusterResourceId(std::move(value)); return *this;}
416 inline DBCluster& WithDbClusterResourceId(const char* value) { SetDbClusterResourceId(value); return *this;}
418
420
423 inline const Aws::String& GetDBClusterArn() const{ return m_dBClusterArn; }
424 inline bool DBClusterArnHasBeenSet() const { return m_dBClusterArnHasBeenSet; }
425 inline void SetDBClusterArn(const Aws::String& value) { m_dBClusterArnHasBeenSet = true; m_dBClusterArn = value; }
426 inline void SetDBClusterArn(Aws::String&& value) { m_dBClusterArnHasBeenSet = true; m_dBClusterArn = std::move(value); }
427 inline void SetDBClusterArn(const char* value) { m_dBClusterArnHasBeenSet = true; m_dBClusterArn.assign(value); }
428 inline DBCluster& WithDBClusterArn(const Aws::String& value) { SetDBClusterArn(value); return *this;}
429 inline DBCluster& WithDBClusterArn(Aws::String&& value) { SetDBClusterArn(std::move(value)); return *this;}
430 inline DBCluster& WithDBClusterArn(const char* value) { SetDBClusterArn(value); return *this;}
432
434
440 inline const Aws::Vector<DBClusterRole>& GetAssociatedRoles() const{ return m_associatedRoles; }
441 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
442 inline void SetAssociatedRoles(const Aws::Vector<DBClusterRole>& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles = value; }
443 inline void SetAssociatedRoles(Aws::Vector<DBClusterRole>&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles = std::move(value); }
444 inline DBCluster& WithAssociatedRoles(const Aws::Vector<DBClusterRole>& value) { SetAssociatedRoles(value); return *this;}
445 inline DBCluster& WithAssociatedRoles(Aws::Vector<DBClusterRole>&& value) { SetAssociatedRoles(std::move(value)); return *this;}
446 inline DBCluster& AddAssociatedRoles(const DBClusterRole& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles.push_back(value); return *this; }
447 inline DBCluster& AddAssociatedRoles(DBClusterRole&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles.push_back(std::move(value)); return *this; }
449
451
454 inline const Aws::String& GetCloneGroupId() const{ return m_cloneGroupId; }
455 inline bool CloneGroupIdHasBeenSet() const { return m_cloneGroupIdHasBeenSet; }
456 inline void SetCloneGroupId(const Aws::String& value) { m_cloneGroupIdHasBeenSet = true; m_cloneGroupId = value; }
457 inline void SetCloneGroupId(Aws::String&& value) { m_cloneGroupIdHasBeenSet = true; m_cloneGroupId = std::move(value); }
458 inline void SetCloneGroupId(const char* value) { m_cloneGroupIdHasBeenSet = true; m_cloneGroupId.assign(value); }
459 inline DBCluster& WithCloneGroupId(const Aws::String& value) { SetCloneGroupId(value); return *this;}
460 inline DBCluster& WithCloneGroupId(Aws::String&& value) { SetCloneGroupId(std::move(value)); return *this;}
461 inline DBCluster& WithCloneGroupId(const char* value) { SetCloneGroupId(value); return *this;}
463
465
469 inline const Aws::Utils::DateTime& GetClusterCreateTime() const{ return m_clusterCreateTime; }
470 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
471 inline void SetClusterCreateTime(const Aws::Utils::DateTime& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = value; }
472 inline void SetClusterCreateTime(Aws::Utils::DateTime&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::move(value); }
473 inline DBCluster& WithClusterCreateTime(const Aws::Utils::DateTime& value) { SetClusterCreateTime(value); return *this;}
474 inline DBCluster& WithClusterCreateTime(Aws::Utils::DateTime&& value) { SetClusterCreateTime(std::move(value)); return *this;}
476
478
482 inline const Aws::Vector<Aws::String>& GetEnabledCloudwatchLogsExports() const{ return m_enabledCloudwatchLogsExports; }
483 inline bool EnabledCloudwatchLogsExportsHasBeenSet() const { return m_enabledCloudwatchLogsExportsHasBeenSet; }
484 inline void SetEnabledCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports = value; }
485 inline void SetEnabledCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports = std::move(value); }
488 inline DBCluster& AddEnabledCloudwatchLogsExports(const Aws::String& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(value); return *this; }
489 inline DBCluster& AddEnabledCloudwatchLogsExports(Aws::String&& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(std::move(value)); return *this; }
490 inline DBCluster& AddEnabledCloudwatchLogsExports(const char* value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(value); return *this; }
492
494
501 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
502 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
503 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
504 inline DBCluster& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
506
508
515 inline const Aws::String& GetStorageType() const{ return m_storageType; }
516 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
517 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
518 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
519 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
520 inline DBCluster& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
521 inline DBCluster& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
522 inline DBCluster& WithStorageType(const char* value) { SetStorageType(value); return *this;}
524 private:
525
526 Aws::Vector<Aws::String> m_availabilityZones;
527 bool m_availabilityZonesHasBeenSet = false;
528
529 int m_backupRetentionPeriod;
530 bool m_backupRetentionPeriodHasBeenSet = false;
531
532 Aws::String m_dBClusterIdentifier;
533 bool m_dBClusterIdentifierHasBeenSet = false;
534
535 Aws::String m_dBClusterParameterGroup;
536 bool m_dBClusterParameterGroupHasBeenSet = false;
537
538 Aws::String m_dBSubnetGroup;
539 bool m_dBSubnetGroupHasBeenSet = false;
540
541 Aws::String m_status;
542 bool m_statusHasBeenSet = false;
543
544 Aws::String m_percentProgress;
545 bool m_percentProgressHasBeenSet = false;
546
547 Aws::Utils::DateTime m_earliestRestorableTime;
548 bool m_earliestRestorableTimeHasBeenSet = false;
549
550 Aws::String m_endpoint;
551 bool m_endpointHasBeenSet = false;
552
553 Aws::String m_readerEndpoint;
554 bool m_readerEndpointHasBeenSet = false;
555
556 bool m_multiAZ;
557 bool m_multiAZHasBeenSet = false;
558
559 Aws::String m_engine;
560 bool m_engineHasBeenSet = false;
561
562 Aws::String m_engineVersion;
563 bool m_engineVersionHasBeenSet = false;
564
565 Aws::Utils::DateTime m_latestRestorableTime;
566 bool m_latestRestorableTimeHasBeenSet = false;
567
568 int m_port;
569 bool m_portHasBeenSet = false;
570
571 Aws::String m_masterUsername;
572 bool m_masterUsernameHasBeenSet = false;
573
574 Aws::String m_preferredBackupWindow;
575 bool m_preferredBackupWindowHasBeenSet = false;
576
577 Aws::String m_preferredMaintenanceWindow;
578 bool m_preferredMaintenanceWindowHasBeenSet = false;
579
580 Aws::String m_replicationSourceIdentifier;
581 bool m_replicationSourceIdentifierHasBeenSet = false;
582
583 Aws::Vector<Aws::String> m_readReplicaIdentifiers;
584 bool m_readReplicaIdentifiersHasBeenSet = false;
585
586 Aws::Vector<DBClusterMember> m_dBClusterMembers;
587 bool m_dBClusterMembersHasBeenSet = false;
588
589 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
590 bool m_vpcSecurityGroupsHasBeenSet = false;
591
592 Aws::String m_hostedZoneId;
593 bool m_hostedZoneIdHasBeenSet = false;
594
595 bool m_storageEncrypted;
596 bool m_storageEncryptedHasBeenSet = false;
597
598 Aws::String m_kmsKeyId;
599 bool m_kmsKeyIdHasBeenSet = false;
600
601 Aws::String m_dbClusterResourceId;
602 bool m_dbClusterResourceIdHasBeenSet = false;
603
604 Aws::String m_dBClusterArn;
605 bool m_dBClusterArnHasBeenSet = false;
606
607 Aws::Vector<DBClusterRole> m_associatedRoles;
608 bool m_associatedRolesHasBeenSet = false;
609
610 Aws::String m_cloneGroupId;
611 bool m_cloneGroupIdHasBeenSet = false;
612
613 Aws::Utils::DateTime m_clusterCreateTime;
614 bool m_clusterCreateTimeHasBeenSet = false;
615
616 Aws::Vector<Aws::String> m_enabledCloudwatchLogsExports;
617 bool m_enabledCloudwatchLogsExportsHasBeenSet = false;
618
619 bool m_deletionProtection;
620 bool m_deletionProtectionHasBeenSet = false;
621
622 Aws::String m_storageType;
623 bool m_storageTypeHasBeenSet = false;
624 };
625
626} // namespace Model
627} // namespace DocDB
628} // namespace Aws
void SetReaderEndpoint(const Aws::String &value)
Definition DBCluster.h:188
DBCluster & WithDBSubnetGroup(const char *value)
Definition DBCluster.h:114
DBCluster & WithKmsKeyId(const char *value)
Definition DBCluster.h:400
DBCluster & WithDBClusterMembers(Aws::Vector< DBClusterMember > &&value)
Definition DBCluster.h:343
DBCluster & AddAssociatedRoles(DBClusterRole &&value)
Definition DBCluster.h:447
DBCluster & AddDBClusterMembers(DBClusterMember &&value)
Definition DBCluster.h:345
void SetHostedZoneId(const Aws::String &value)
Definition DBCluster.h:370
void SetEarliestRestorableTime(const Aws::Utils::DateTime &value)
Definition DBCluster.h:152
void SetCloneGroupId(const char *value)
Definition DBCluster.h:458
void SetPreferredBackupWindow(const Aws::String &value)
Definition DBCluster.h:280
const Aws::String & GetReplicationSourceIdentifier() const
Definition DBCluster.h:308
DBCluster & WithHostedZoneId(Aws::String &&value)
Definition DBCluster.h:374
DBCluster & WithDBSubnetGroup(Aws::String &&value)
Definition DBCluster.h:113
void SetMasterUsername(const char *value)
Definition DBCluster.h:266
DBCluster & WithDBClusterIdentifier(const Aws::String &value)
Definition DBCluster.h:83
void SetClusterCreateTime(const Aws::Utils::DateTime &value)
Definition DBCluster.h:471
DBCluster & AddAvailabilityZones(Aws::String &&value)
Definition DBCluster.h:59
void SetPreferredBackupWindow(Aws::String &&value)
Definition DBCluster.h:281
void SetReadReplicaIdentifiers(const Aws::Vector< Aws::String > &value)
Definition DBCluster.h:325
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
Definition DBCluster.h:353
DBCluster & WithCloneGroupId(const Aws::String &value)
Definition DBCluster.h:459
void SetEndpoint(const char *value)
Definition DBCluster.h:167
const Aws::String & GetStatus() const
Definition DBCluster.h:121
DBCluster & WithPreferredMaintenanceWindow(const char *value)
Definition DBCluster.h:300
DBCluster & WithReaderEndpoint(const char *value)
Definition DBCluster.h:193
DBCluster & AddReadReplicaIdentifiers(Aws::String &&value)
Definition DBCluster.h:330
DBCluster & WithEndpoint(const char *value)
Definition DBCluster.h:170
const Aws::String & GetEngine() const
Definition DBCluster.h:211
bool PreferredMaintenanceWindowHasBeenSet() const
Definition DBCluster.h:294
DBCluster & WithDBClusterIdentifier(const char *value)
Definition DBCluster.h:85
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition DBCluster.h:54
void SetDBClusterArn(Aws::String &&value)
Definition DBCluster.h:426
DBCluster & WithReaderEndpoint(const Aws::String &value)
Definition DBCluster.h:191
void SetReaderEndpoint(Aws::String &&value)
Definition DBCluster.h:189
DBCluster & AddEnabledCloudwatchLogsExports(const char *value)
Definition DBCluster.h:490
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< Aws::String > & GetReadReplicaIdentifiers() const
Definition DBCluster.h:323
DBCluster & AddReadReplicaIdentifiers(const Aws::String &value)
Definition DBCluster.h:329
bool DeletionProtectionHasBeenSet() const
Definition DBCluster.h:502
void SetEngineVersion(Aws::String &&value)
Definition DBCluster.h:228
void SetDeletionProtection(bool value)
Definition DBCluster.h:503
DBCluster & WithMasterUsername(const Aws::String &value)
Definition DBCluster.h:267
void SetStatus(const char *value)
Definition DBCluster.h:125
void SetStorageEncrypted(bool value)
Definition DBCluster.h:384
void SetEngine(Aws::String &&value)
Definition DBCluster.h:214
bool ClusterCreateTimeHasBeenSet() const
Definition DBCluster.h:470
void SetDBClusterParameterGroup(const char *value)
Definition DBCluster.h:96
DBCluster & WithDBClusterMembers(const Aws::Vector< DBClusterMember > &value)
Definition DBCluster.h:342
void SetHostedZoneId(const char *value)
Definition DBCluster.h:372
DBCluster & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
Definition DBCluster.h:357
void SetDbClusterResourceId(const Aws::String &value)
Definition DBCluster.h:411
void SetCloneGroupId(Aws::String &&value)
Definition DBCluster.h:457
const Aws::String & GetReaderEndpoint() const
Definition DBCluster.h:186
void SetEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
Definition DBCluster.h:485
bool EngineVersionHasBeenSet() const
Definition DBCluster.h:226
void SetDBClusterIdentifier(const char *value)
Definition DBCluster.h:82
const Aws::String & GetMasterUsername() const
Definition DBCluster.h:262
DBCluster & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
Definition DBCluster.h:358
bool LatestRestorableTimeHasBeenSet() const
Definition DBCluster.h:241
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition DBCluster.h:55
DBCluster & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
Definition DBCluster.h:360
void SetReplicationSourceIdentifier(Aws::String &&value)
Definition DBCluster.h:311
bool GetDeletionProtection() const
Definition DBCluster.h:501
DBCluster & WithDbClusterResourceId(const Aws::String &value)
Definition DBCluster.h:414
DBCluster & WithEngineVersion(Aws::String &&value)
Definition DBCluster.h:231
bool ReplicationSourceIdentifierHasBeenSet() const
Definition DBCluster.h:309
void SetReplicationSourceIdentifier(const Aws::String &value)
Definition DBCluster.h:310
const Aws::Vector< DBClusterRole > & GetAssociatedRoles() const
Definition DBCluster.h:440
void SetMasterUsername(const Aws::String &value)
Definition DBCluster.h:264
DBCluster & WithEndpoint(Aws::String &&value)
Definition DBCluster.h:169
bool EndpointHasBeenSet() const
Definition DBCluster.h:164
const Aws::String & GetStorageType() const
Definition DBCluster.h:515
bool DBClusterIdentifierHasBeenSet() const
Definition DBCluster.h:79
DBCluster & AddEnabledCloudwatchLogsExports(Aws::String &&value)
Definition DBCluster.h:489
bool EnabledCloudwatchLogsExportsHasBeenSet() const
Definition DBCluster.h:483
bool BackupRetentionPeriodHasBeenSet() const
Definition DBCluster.h:68
void SetReadReplicaIdentifiers(Aws::Vector< Aws::String > &&value)
Definition DBCluster.h:326
void SetDBSubnetGroup(const char *value)
Definition DBCluster.h:111
const Aws::String & GetDBSubnetGroup() const
Definition DBCluster.h:107
DBCluster & WithLatestRestorableTime(Aws::Utils::DateTime &&value)
Definition DBCluster.h:245
const Aws::String & GetKmsKeyId() const
Definition DBCluster.h:393
DBCluster & WithPort(int value)
Definition DBCluster.h:255
void SetEndpoint(const Aws::String &value)
Definition DBCluster.h:165
DBCluster & AddAssociatedRoles(const DBClusterRole &value)
Definition DBCluster.h:446
DBCluster & WithDBSubnetGroup(const Aws::String &value)
Definition DBCluster.h:112
DBCluster & AddReadReplicaIdentifiers(const char *value)
Definition DBCluster.h:331
void SetAssociatedRoles(const Aws::Vector< DBClusterRole > &value)
Definition DBCluster.h:442
DBCluster & WithEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
Definition DBCluster.h:486
DBCluster & WithDBClusterArn(const char *value)
Definition DBCluster.h:430
void SetEngine(const Aws::String &value)
Definition DBCluster.h:213
DBCluster & WithPreferredBackupWindow(Aws::String &&value)
Definition DBCluster.h:284
void SetDBClusterParameterGroup(const Aws::String &value)
Definition DBCluster.h:94
bool EarliestRestorableTimeHasBeenSet() const
Definition DBCluster.h:151
const Aws::String & GetDBClusterParameterGroup() const
Definition DBCluster.h:92
DBCluster & WithDBClusterParameterGroup(const char *value)
Definition DBCluster.h:99
void SetDBClusterParameterGroup(Aws::String &&value)
Definition DBCluster.h:95
bool DBClusterMembersHasBeenSet() const
Definition DBCluster.h:339
DBCluster & WithHostedZoneId(const char *value)
Definition DBCluster.h:375
DBCluster & WithDbClusterResourceId(Aws::String &&value)
Definition DBCluster.h:415
DBCluster & AddEnabledCloudwatchLogsExports(const Aws::String &value)
Definition DBCluster.h:488
DBCluster & WithEngineVersion(const char *value)
Definition DBCluster.h:232
const Aws::String & GetPreferredMaintenanceWindow() const
Definition DBCluster.h:293
DBCluster & WithClusterCreateTime(const Aws::Utils::DateTime &value)
Definition DBCluster.h:473
DBCluster & WithMultiAZ(bool value)
Definition DBCluster.h:204
bool DbClusterResourceIdHasBeenSet() const
Definition DBCluster.h:410
const Aws::String & GetDBClusterArn() const
Definition DBCluster.h:423
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition DBCluster.h:469
DBCluster & WithHostedZoneId(const Aws::String &value)
Definition DBCluster.h:373
DBCluster & WithCloneGroupId(Aws::String &&value)
Definition DBCluster.h:460
DBCluster & WithEndpoint(const Aws::String &value)
Definition DBCluster.h:168
void SetAssociatedRoles(Aws::Vector< DBClusterRole > &&value)
Definition DBCluster.h:443
bool CloneGroupIdHasBeenSet() const
Definition DBCluster.h:455
void SetPreferredMaintenanceWindow(const char *value)
Definition DBCluster.h:297
DBCluster & WithPreferredMaintenanceWindow(Aws::String &&value)
Definition DBCluster.h:299
bool StorageEncryptedHasBeenSet() const
Definition DBCluster.h:383
DBCluster & WithEarliestRestorableTime(const Aws::Utils::DateTime &value)
Definition DBCluster.h:154
const Aws::Utils::DateTime & GetLatestRestorableTime() const
Definition DBCluster.h:240
DBCluster & AddDBClusterMembers(const DBClusterMember &value)
Definition DBCluster.h:344
void SetStatus(Aws::String &&value)
Definition DBCluster.h:124
void SetEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
Definition DBCluster.h:484
void SetPreferredMaintenanceWindow(const Aws::String &value)
Definition DBCluster.h:295
DBCluster & WithReadReplicaIdentifiers(const Aws::Vector< Aws::String > &value)
Definition DBCluster.h:327
AWS_DOCDB_API DBCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< DBClusterMember > & GetDBClusterMembers() const
Definition DBCluster.h:338
void SetDBClusterArn(const char *value)
Definition DBCluster.h:427
DBCluster & WithEngine(const char *value)
Definition DBCluster.h:218
DBCluster & WithDBClusterParameterGroup(Aws::String &&value)
Definition DBCluster.h:98
DBCluster & WithEarliestRestorableTime(Aws::Utils::DateTime &&value)
Definition DBCluster.h:155
void SetHostedZoneId(Aws::String &&value)
Definition DBCluster.h:371
void SetDBClusterMembers(const Aws::Vector< DBClusterMember > &value)
Definition DBCluster.h:340
DBCluster & WithDBClusterArn(Aws::String &&value)
Definition DBCluster.h:429
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBCluster & WithStorageType(Aws::String &&value)
Definition DBCluster.h:521
void SetDBClusterIdentifier(Aws::String &&value)
Definition DBCluster.h:81
const Aws::String & GetPreferredBackupWindow() const
Definition DBCluster.h:278
DBCluster & WithStorageEncrypted(bool value)
Definition DBCluster.h:385
DBCluster & WithEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
Definition DBCluster.h:487
void SetBackupRetentionPeriod(int value)
Definition DBCluster.h:69
DBCluster & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
Definition DBCluster.h:359
const Aws::String & GetDBClusterIdentifier() const
Definition DBCluster.h:78
DBCluster & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition DBCluster.h:57
DBCluster & WithDBClusterIdentifier(Aws::String &&value)
Definition DBCluster.h:84
void SetDBSubnetGroup(Aws::String &&value)
Definition DBCluster.h:110
bool DBClusterParameterGroupHasBeenSet() const
Definition DBCluster.h:93
DBCluster & WithPreferredMaintenanceWindow(const Aws::String &value)
Definition DBCluster.h:298
DBCluster & WithKmsKeyId(const Aws::String &value)
Definition DBCluster.h:398
void SetDBClusterMembers(Aws::Vector< DBClusterMember > &&value)
Definition DBCluster.h:341
void SetEngineVersion(const Aws::String &value)
Definition DBCluster.h:227
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition DBCluster.h:52
bool StorageTypeHasBeenSet() const
Definition DBCluster.h:516
DBCluster & WithMasterUsername(Aws::String &&value)
Definition DBCluster.h:268
AWS_DOCDB_API DBCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PercentProgressHasBeenSet() const
Definition DBCluster.h:136
DBCluster & WithDBClusterParameterGroup(const Aws::String &value)
Definition DBCluster.h:97
bool VpcSecurityGroupsHasBeenSet() const
Definition DBCluster.h:354
int GetBackupRetentionPeriod() const
Definition DBCluster.h:67
DBCluster & WithPreferredBackupWindow(const Aws::String &value)
Definition DBCluster.h:283
void SetDbClusterResourceId(const char *value)
Definition DBCluster.h:413
void SetPercentProgress(const Aws::String &value)
Definition DBCluster.h:137
void SetStatus(const Aws::String &value)
Definition DBCluster.h:123
void SetPercentProgress(Aws::String &&value)
Definition DBCluster.h:138
DBCluster & WithStatus(const Aws::String &value)
Definition DBCluster.h:126
void SetDBSubnetGroup(const Aws::String &value)
Definition DBCluster.h:109
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
Definition DBCluster.h:482
DBCluster & WithDeletionProtection(bool value)
Definition DBCluster.h:504
DBCluster & WithPreferredBackupWindow(const char *value)
Definition DBCluster.h:285
bool ReadReplicaIdentifiersHasBeenSet() const
Definition DBCluster.h:324
DBCluster & WithAssociatedRoles(const Aws::Vector< DBClusterRole > &value)
Definition DBCluster.h:444
void SetStorageType(const char *value)
Definition DBCluster.h:519
void SetEngineVersion(const char *value)
Definition DBCluster.h:229
DBCluster & WithReplicationSourceIdentifier(const char *value)
Definition DBCluster.h:315
void SetReplicationSourceIdentifier(const char *value)
Definition DBCluster.h:312
void SetKmsKeyId(const Aws::String &value)
Definition DBCluster.h:395
bool PreferredBackupWindowHasBeenSet() const
Definition DBCluster.h:279
const Aws::String & GetEngineVersion() const
Definition DBCluster.h:225
DBCluster & WithPercentProgress(Aws::String &&value)
Definition DBCluster.h:141
DBCluster & AddAvailabilityZones(const Aws::String &value)
Definition DBCluster.h:58
bool DBSubnetGroupHasBeenSet() const
Definition DBCluster.h:108
DBCluster & WithReaderEndpoint(Aws::String &&value)
Definition DBCluster.h:192
void SetStorageType(const Aws::String &value)
Definition DBCluster.h:517
bool HostedZoneIdHasBeenSet() const
Definition DBCluster.h:369
void SetClusterCreateTime(Aws::Utils::DateTime &&value)
Definition DBCluster.h:472
const Aws::Utils::DateTime & GetEarliestRestorableTime() const
Definition DBCluster.h:150
DBCluster & WithCloneGroupId(const char *value)
Definition DBCluster.h:461
DBCluster & WithStatus(const char *value)
Definition DBCluster.h:128
void SetDBClusterIdentifier(const Aws::String &value)
Definition DBCluster.h:80
DBCluster & WithDbClusterResourceId(const char *value)
Definition DBCluster.h:416
bool MasterUsernameHasBeenSet() const
Definition DBCluster.h:263
void SetCloneGroupId(const Aws::String &value)
Definition DBCluster.h:456
void SetEndpoint(Aws::String &&value)
Definition DBCluster.h:166
const Aws::String & GetEndpoint() const
Definition DBCluster.h:163
bool KmsKeyIdHasBeenSet() const
Definition DBCluster.h:394
const Aws::String & GetCloneGroupId() const
Definition DBCluster.h:454
DBCluster & WithReplicationSourceIdentifier(const Aws::String &value)
Definition DBCluster.h:313
bool GetStorageEncrypted() const
Definition DBCluster.h:382
DBCluster & WithClusterCreateTime(Aws::Utils::DateTime &&value)
Definition DBCluster.h:474
DBCluster & WithKmsKeyId(Aws::String &&value)
Definition DBCluster.h:399
DBCluster & WithReadReplicaIdentifiers(Aws::Vector< Aws::String > &&value)
Definition DBCluster.h:328
DBCluster & WithMasterUsername(const char *value)
Definition DBCluster.h:269
void SetMasterUsername(Aws::String &&value)
Definition DBCluster.h:265
DBCluster & WithLatestRestorableTime(const Aws::Utils::DateTime &value)
Definition DBCluster.h:244
DBCluster & WithPercentProgress(const Aws::String &value)
Definition DBCluster.h:140
DBCluster & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition DBCluster.h:56
void SetKmsKeyId(Aws::String &&value)
Definition DBCluster.h:396
bool AvailabilityZonesHasBeenSet() const
Definition DBCluster.h:53
void SetKmsKeyId(const char *value)
Definition DBCluster.h:397
void SetEarliestRestorableTime(Aws::Utils::DateTime &&value)
Definition DBCluster.h:153
void SetStorageType(Aws::String &&value)
Definition DBCluster.h:518
bool AssociatedRolesHasBeenSet() const
Definition DBCluster.h:441
const Aws::String & GetDbClusterResourceId() const
Definition DBCluster.h:409
void SetPercentProgress(const char *value)
Definition DBCluster.h:139
DBCluster & WithStorageType(const Aws::String &value)
Definition DBCluster.h:520
void SetLatestRestorableTime(Aws::Utils::DateTime &&value)
Definition DBCluster.h:243
const Aws::String & GetPercentProgress() const
Definition DBCluster.h:135
void SetReaderEndpoint(const char *value)
Definition DBCluster.h:190
DBCluster & AddAvailabilityZones(const char *value)
Definition DBCluster.h:60
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
Definition DBCluster.h:355
DBCluster & WithAssociatedRoles(Aws::Vector< DBClusterRole > &&value)
Definition DBCluster.h:445
void SetMultiAZ(bool value)
Definition DBCluster.h:203
DBCluster & WithPercentProgress(const char *value)
Definition DBCluster.h:142
const Aws::String & GetHostedZoneId() const
Definition DBCluster.h:368
void SetLatestRestorableTime(const Aws::Utils::DateTime &value)
Definition DBCluster.h:242
DBCluster & WithStatus(Aws::String &&value)
Definition DBCluster.h:127
bool ReaderEndpointHasBeenSet() const
Definition DBCluster.h:187
DBCluster & WithReplicationSourceIdentifier(Aws::String &&value)
Definition DBCluster.h:314
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
Definition DBCluster.h:356
bool DBClusterArnHasBeenSet() const
Definition DBCluster.h:424
DBCluster & WithEngineVersion(const Aws::String &value)
Definition DBCluster.h:230
void SetPreferredMaintenanceWindow(Aws::String &&value)
Definition DBCluster.h:296
void SetDbClusterResourceId(Aws::String &&value)
Definition DBCluster.h:412
DBCluster & WithEngine(Aws::String &&value)
Definition DBCluster.h:217
void SetDBClusterArn(const Aws::String &value)
Definition DBCluster.h:425
DBCluster & WithBackupRetentionPeriod(int value)
Definition DBCluster.h:70
DBCluster & WithEngine(const Aws::String &value)
Definition DBCluster.h:216
DBCluster & WithStorageType(const char *value)
Definition DBCluster.h:522
void SetEngine(const char *value)
Definition DBCluster.h:215
void SetPreferredBackupWindow(const char *value)
Definition DBCluster.h:282
DBCluster & WithDBClusterArn(const Aws::String &value)
Definition DBCluster.h:428
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