AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DBCluster.h
1
6#pragma once
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>
12#include <aws/docdb/model/ClusterMasterUserSecret.h>
13#include <aws/docdb/model/DBClusterMember.h>
14#include <aws/docdb/model/DBClusterRole.h>
15#include <aws/docdb/model/ServerlessV2ScalingConfigurationInfo.h>
16#include <aws/docdb/model/VpcSecurityGroupMembership.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Xml {
23class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace DocDB {
27namespace Model {
28
34class DBCluster {
35 public:
36 AWS_DOCDB_API DBCluster() = default;
37 AWS_DOCDB_API DBCluster(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_DOCDB_API DBCluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
44
48 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
49 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
50 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
51 void SetAvailabilityZones(AvailabilityZonesT&& value) {
52 m_availabilityZonesHasBeenSet = true;
53 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
54 }
55 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
56 DBCluster& WithAvailabilityZones(AvailabilityZonesT&& value) {
57 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
58 return *this;
59 }
60 template <typename AvailabilityZonesT = Aws::String>
61 DBCluster& AddAvailabilityZones(AvailabilityZonesT&& value) {
62 m_availabilityZonesHasBeenSet = true;
63 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
64 return *this;
65 }
67
69
72 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
73 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
74 inline void SetBackupRetentionPeriod(int value) {
75 m_backupRetentionPeriodHasBeenSet = true;
76 m_backupRetentionPeriod = value;
77 }
80 return *this;
81 }
83
85
89 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
90 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
91 template <typename DBClusterIdentifierT = Aws::String>
92 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
93 m_dBClusterIdentifierHasBeenSet = true;
94 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
95 }
96 template <typename DBClusterIdentifierT = Aws::String>
97 DBCluster& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
98 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetDBClusterParameterGroup() const { return m_dBClusterParameterGroup; }
108 inline bool DBClusterParameterGroupHasBeenSet() const { return m_dBClusterParameterGroupHasBeenSet; }
109 template <typename DBClusterParameterGroupT = Aws::String>
110 void SetDBClusterParameterGroup(DBClusterParameterGroupT&& value) {
111 m_dBClusterParameterGroupHasBeenSet = true;
112 m_dBClusterParameterGroup = std::forward<DBClusterParameterGroupT>(value);
113 }
114 template <typename DBClusterParameterGroupT = Aws::String>
115 DBCluster& WithDBClusterParameterGroup(DBClusterParameterGroupT&& value) {
116 SetDBClusterParameterGroup(std::forward<DBClusterParameterGroupT>(value));
117 return *this;
118 }
120
122
126 inline const Aws::String& GetDBSubnetGroup() const { return m_dBSubnetGroup; }
127 inline bool DBSubnetGroupHasBeenSet() const { return m_dBSubnetGroupHasBeenSet; }
128 template <typename DBSubnetGroupT = Aws::String>
129 void SetDBSubnetGroup(DBSubnetGroupT&& value) {
130 m_dBSubnetGroupHasBeenSet = true;
131 m_dBSubnetGroup = std::forward<DBSubnetGroupT>(value);
132 }
133 template <typename DBSubnetGroupT = Aws::String>
134 DBCluster& WithDBSubnetGroup(DBSubnetGroupT&& value) {
135 SetDBSubnetGroup(std::forward<DBSubnetGroupT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetStatus() const { return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 template <typename StatusT = Aws::String>
147 void SetStatus(StatusT&& value) {
148 m_statusHasBeenSet = true;
149 m_status = std::forward<StatusT>(value);
150 }
151 template <typename StatusT = Aws::String>
152 DBCluster& WithStatus(StatusT&& value) {
153 SetStatus(std::forward<StatusT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::String& GetPercentProgress() const { return m_percentProgress; }
163 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
164 template <typename PercentProgressT = Aws::String>
165 void SetPercentProgress(PercentProgressT&& value) {
166 m_percentProgressHasBeenSet = true;
167 m_percentProgress = std::forward<PercentProgressT>(value);
168 }
169 template <typename PercentProgressT = Aws::String>
170 DBCluster& WithPercentProgress(PercentProgressT&& value) {
171 SetPercentProgress(std::forward<PercentProgressT>(value));
172 return *this;
173 }
175
177
181 inline const Aws::Utils::DateTime& GetEarliestRestorableTime() const { return m_earliestRestorableTime; }
182 inline bool EarliestRestorableTimeHasBeenSet() const { return m_earliestRestorableTimeHasBeenSet; }
183 template <typename EarliestRestorableTimeT = Aws::Utils::DateTime>
184 void SetEarliestRestorableTime(EarliestRestorableTimeT&& value) {
185 m_earliestRestorableTimeHasBeenSet = true;
186 m_earliestRestorableTime = std::forward<EarliestRestorableTimeT>(value);
187 }
188 template <typename EarliestRestorableTimeT = Aws::Utils::DateTime>
189 DBCluster& WithEarliestRestorableTime(EarliestRestorableTimeT&& value) {
190 SetEarliestRestorableTime(std::forward<EarliestRestorableTimeT>(value));
191 return *this;
192 }
194
196
200 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
201 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
202 template <typename EndpointT = Aws::String>
203 void SetEndpoint(EndpointT&& value) {
204 m_endpointHasBeenSet = true;
205 m_endpoint = std::forward<EndpointT>(value);
206 }
207 template <typename EndpointT = Aws::String>
208 DBCluster& WithEndpoint(EndpointT&& value) {
209 SetEndpoint(std::forward<EndpointT>(value));
210 return *this;
211 }
213
215
227 inline const Aws::String& GetReaderEndpoint() const { return m_readerEndpoint; }
228 inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; }
229 template <typename ReaderEndpointT = Aws::String>
230 void SetReaderEndpoint(ReaderEndpointT&& value) {
231 m_readerEndpointHasBeenSet = true;
232 m_readerEndpoint = std::forward<ReaderEndpointT>(value);
233 }
234 template <typename ReaderEndpointT = Aws::String>
235 DBCluster& WithReaderEndpoint(ReaderEndpointT&& value) {
236 SetReaderEndpoint(std::forward<ReaderEndpointT>(value));
237 return *this;
238 }
240
242
246 inline bool GetMultiAZ() const { return m_multiAZ; }
247 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
248 inline void SetMultiAZ(bool value) {
249 m_multiAZHasBeenSet = true;
250 m_multiAZ = value;
251 }
252 inline DBCluster& WithMultiAZ(bool value) {
253 SetMultiAZ(value);
254 return *this;
255 }
257
259
262 inline const Aws::String& GetEngine() const { return m_engine; }
263 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
264 template <typename EngineT = Aws::String>
265 void SetEngine(EngineT&& value) {
266 m_engineHasBeenSet = true;
267 m_engine = std::forward<EngineT>(value);
268 }
269 template <typename EngineT = Aws::String>
270 DBCluster& WithEngine(EngineT&& value) {
271 SetEngine(std::forward<EngineT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
281 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
282 template <typename EngineVersionT = Aws::String>
283 void SetEngineVersion(EngineVersionT&& value) {
284 m_engineVersionHasBeenSet = true;
285 m_engineVersion = std::forward<EngineVersionT>(value);
286 }
287 template <typename EngineVersionT = Aws::String>
288 DBCluster& WithEngineVersion(EngineVersionT&& value) {
289 SetEngineVersion(std::forward<EngineVersionT>(value));
290 return *this;
291 }
293
295
299 inline const Aws::Utils::DateTime& GetLatestRestorableTime() const { return m_latestRestorableTime; }
300 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
301 template <typename LatestRestorableTimeT = Aws::Utils::DateTime>
302 void SetLatestRestorableTime(LatestRestorableTimeT&& value) {
303 m_latestRestorableTimeHasBeenSet = true;
304 m_latestRestorableTime = std::forward<LatestRestorableTimeT>(value);
305 }
306 template <typename LatestRestorableTimeT = Aws::Utils::DateTime>
307 DBCluster& WithLatestRestorableTime(LatestRestorableTimeT&& value) {
308 SetLatestRestorableTime(std::forward<LatestRestorableTimeT>(value));
309 return *this;
310 }
312
314
317 inline int GetPort() const { return m_port; }
318 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
319 inline void SetPort(int value) {
320 m_portHasBeenSet = true;
321 m_port = value;
322 }
323 inline DBCluster& WithPort(int value) {
324 SetPort(value);
325 return *this;
326 }
328
330
333 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
334 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
335 template <typename MasterUsernameT = Aws::String>
336 void SetMasterUsername(MasterUsernameT&& value) {
337 m_masterUsernameHasBeenSet = true;
338 m_masterUsername = std::forward<MasterUsernameT>(value);
339 }
340 template <typename MasterUsernameT = Aws::String>
341 DBCluster& WithMasterUsername(MasterUsernameT&& value) {
342 SetMasterUsername(std::forward<MasterUsernameT>(value));
343 return *this;
344 }
346
348
353 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
354 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
355 template <typename PreferredBackupWindowT = Aws::String>
356 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
357 m_preferredBackupWindowHasBeenSet = true;
358 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
359 }
360 template <typename PreferredBackupWindowT = Aws::String>
361 DBCluster& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
362 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
363 return *this;
364 }
366
368
372 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
373 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
374 template <typename PreferredMaintenanceWindowT = Aws::String>
375 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
376 m_preferredMaintenanceWindowHasBeenSet = true;
377 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
378 }
379 template <typename PreferredMaintenanceWindowT = Aws::String>
380 DBCluster& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
381 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
382 return *this;
383 }
385
387
391 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
392 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
393 template <typename ReplicationSourceIdentifierT = Aws::String>
394 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
395 m_replicationSourceIdentifierHasBeenSet = true;
396 m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value);
397 }
398 template <typename ReplicationSourceIdentifierT = Aws::String>
399 DBCluster& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
400 SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value));
401 return *this;
402 }
404
406
410 inline const Aws::Vector<Aws::String>& GetReadReplicaIdentifiers() const { return m_readReplicaIdentifiers; }
411 inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; }
412 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
413 void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
414 m_readReplicaIdentifiersHasBeenSet = true;
415 m_readReplicaIdentifiers = std::forward<ReadReplicaIdentifiersT>(value);
416 }
417 template <typename ReadReplicaIdentifiersT = Aws::Vector<Aws::String>>
418 DBCluster& WithReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
419 SetReadReplicaIdentifiers(std::forward<ReadReplicaIdentifiersT>(value));
420 return *this;
421 }
422 template <typename ReadReplicaIdentifiersT = Aws::String>
423 DBCluster& AddReadReplicaIdentifiers(ReadReplicaIdentifiersT&& value) {
424 m_readReplicaIdentifiersHasBeenSet = true;
425 m_readReplicaIdentifiers.emplace_back(std::forward<ReadReplicaIdentifiersT>(value));
426 return *this;
427 }
429
431
434 inline const Aws::Vector<DBClusterMember>& GetDBClusterMembers() const { return m_dBClusterMembers; }
435 inline bool DBClusterMembersHasBeenSet() const { return m_dBClusterMembersHasBeenSet; }
436 template <typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
437 void SetDBClusterMembers(DBClusterMembersT&& value) {
438 m_dBClusterMembersHasBeenSet = true;
439 m_dBClusterMembers = std::forward<DBClusterMembersT>(value);
440 }
441 template <typename DBClusterMembersT = Aws::Vector<DBClusterMember>>
442 DBCluster& WithDBClusterMembers(DBClusterMembersT&& value) {
443 SetDBClusterMembers(std::forward<DBClusterMembersT>(value));
444 return *this;
445 }
446 template <typename DBClusterMembersT = DBClusterMember>
447 DBCluster& AddDBClusterMembers(DBClusterMembersT&& value) {
448 m_dBClusterMembersHasBeenSet = true;
449 m_dBClusterMembers.emplace_back(std::forward<DBClusterMembersT>(value));
450 return *this;
451 }
453
455
459 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
460 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
461 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
462 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) {
463 m_vpcSecurityGroupsHasBeenSet = true;
464 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
465 }
466 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
467 DBCluster& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) {
468 SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value));
469 return *this;
470 }
471 template <typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
472 DBCluster& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) {
473 m_vpcSecurityGroupsHasBeenSet = true;
474 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
475 return *this;
476 }
478
480
484 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
485 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
486 template <typename HostedZoneIdT = Aws::String>
487 void SetHostedZoneId(HostedZoneIdT&& value) {
488 m_hostedZoneIdHasBeenSet = true;
489 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
490 }
491 template <typename HostedZoneIdT = Aws::String>
492 DBCluster& WithHostedZoneId(HostedZoneIdT&& value) {
493 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
494 return *this;
495 }
497
499
502 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
503 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
504 inline void SetStorageEncrypted(bool value) {
505 m_storageEncryptedHasBeenSet = true;
506 m_storageEncrypted = value;
507 }
508 inline DBCluster& WithStorageEncrypted(bool value) {
509 SetStorageEncrypted(value);
510 return *this;
511 }
513
515
519 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
520 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
521 template <typename KmsKeyIdT = Aws::String>
522 void SetKmsKeyId(KmsKeyIdT&& value) {
523 m_kmsKeyIdHasBeenSet = true;
524 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
525 }
526 template <typename KmsKeyIdT = Aws::String>
527 DBCluster& WithKmsKeyId(KmsKeyIdT&& value) {
528 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
529 return *this;
530 }
532
534
539 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
540 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
541 template <typename DbClusterResourceIdT = Aws::String>
542 void SetDbClusterResourceId(DbClusterResourceIdT&& value) {
543 m_dbClusterResourceIdHasBeenSet = true;
544 m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value);
545 }
546 template <typename DbClusterResourceIdT = Aws::String>
547 DBCluster& WithDbClusterResourceId(DbClusterResourceIdT&& value) {
548 SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value));
549 return *this;
550 }
552
554
557 inline const Aws::String& GetDBClusterArn() const { return m_dBClusterArn; }
558 inline bool DBClusterArnHasBeenSet() const { return m_dBClusterArnHasBeenSet; }
559 template <typename DBClusterArnT = Aws::String>
560 void SetDBClusterArn(DBClusterArnT&& value) {
561 m_dBClusterArnHasBeenSet = true;
562 m_dBClusterArn = std::forward<DBClusterArnT>(value);
563 }
564 template <typename DBClusterArnT = Aws::String>
565 DBCluster& WithDBClusterArn(DBClusterArnT&& value) {
566 SetDBClusterArn(std::forward<DBClusterArnT>(value));
567 return *this;
568 }
570
572
578 inline const Aws::Vector<DBClusterRole>& GetAssociatedRoles() const { return m_associatedRoles; }
579 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
580 template <typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
581 void SetAssociatedRoles(AssociatedRolesT&& value) {
582 m_associatedRolesHasBeenSet = true;
583 m_associatedRoles = std::forward<AssociatedRolesT>(value);
584 }
585 template <typename AssociatedRolesT = Aws::Vector<DBClusterRole>>
586 DBCluster& WithAssociatedRoles(AssociatedRolesT&& value) {
587 SetAssociatedRoles(std::forward<AssociatedRolesT>(value));
588 return *this;
589 }
590 template <typename AssociatedRolesT = DBClusterRole>
591 DBCluster& AddAssociatedRoles(AssociatedRolesT&& value) {
592 m_associatedRolesHasBeenSet = true;
593 m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value));
594 return *this;
595 }
597
599
602 inline const Aws::String& GetCloneGroupId() const { return m_cloneGroupId; }
603 inline bool CloneGroupIdHasBeenSet() const { return m_cloneGroupIdHasBeenSet; }
604 template <typename CloneGroupIdT = Aws::String>
605 void SetCloneGroupId(CloneGroupIdT&& value) {
606 m_cloneGroupIdHasBeenSet = true;
607 m_cloneGroupId = std::forward<CloneGroupIdT>(value);
608 }
609 template <typename CloneGroupIdT = Aws::String>
610 DBCluster& WithCloneGroupId(CloneGroupIdT&& value) {
611 SetCloneGroupId(std::forward<CloneGroupIdT>(value));
612 return *this;
613 }
615
617
621 inline const Aws::Utils::DateTime& GetClusterCreateTime() const { return m_clusterCreateTime; }
622 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
623 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
624 void SetClusterCreateTime(ClusterCreateTimeT&& value) {
625 m_clusterCreateTimeHasBeenSet = true;
626 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
627 }
628 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
629 DBCluster& WithClusterCreateTime(ClusterCreateTimeT&& value) {
630 SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value));
631 return *this;
632 }
634
636
640 inline const Aws::Vector<Aws::String>& GetEnabledCloudwatchLogsExports() const { return m_enabledCloudwatchLogsExports; }
641 inline bool EnabledCloudwatchLogsExportsHasBeenSet() const { return m_enabledCloudwatchLogsExportsHasBeenSet; }
642 template <typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
643 void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
644 m_enabledCloudwatchLogsExportsHasBeenSet = true;
645 m_enabledCloudwatchLogsExports = std::forward<EnabledCloudwatchLogsExportsT>(value);
646 }
647 template <typename EnabledCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
648 DBCluster& WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
649 SetEnabledCloudwatchLogsExports(std::forward<EnabledCloudwatchLogsExportsT>(value));
650 return *this;
651 }
652 template <typename EnabledCloudwatchLogsExportsT = Aws::String>
653 DBCluster& AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT&& value) {
654 m_enabledCloudwatchLogsExportsHasBeenSet = true;
655 m_enabledCloudwatchLogsExports.emplace_back(std::forward<EnabledCloudwatchLogsExportsT>(value));
656 return *this;
657 }
659
661
668 inline bool GetDeletionProtection() const { return m_deletionProtection; }
669 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
670 inline void SetDeletionProtection(bool value) {
671 m_deletionProtectionHasBeenSet = true;
672 m_deletionProtection = value;
673 }
674 inline DBCluster& WithDeletionProtection(bool value) {
676 return *this;
677 }
679
681
685 inline const Aws::Utils::DateTime& GetIOOptimizedNextAllowedModificationTime() const { return m_iOOptimizedNextAllowedModificationTime; }
686 inline bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const { return m_iOOptimizedNextAllowedModificationTimeHasBeenSet; }
687 template <typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
688 void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) {
689 m_iOOptimizedNextAllowedModificationTimeHasBeenSet = true;
690 m_iOOptimizedNextAllowedModificationTime = std::forward<IOOptimizedNextAllowedModificationTimeT>(value);
691 }
692 template <typename IOOptimizedNextAllowedModificationTimeT = Aws::Utils::DateTime>
693 DBCluster& WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT&& value) {
694 SetIOOptimizedNextAllowedModificationTime(std::forward<IOOptimizedNextAllowedModificationTimeT>(value));
695 return *this;
696 }
698
700
707 inline const Aws::String& GetStorageType() const { return m_storageType; }
708 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
709 template <typename StorageTypeT = Aws::String>
710 void SetStorageType(StorageTypeT&& value) {
711 m_storageTypeHasBeenSet = true;
712 m_storageType = std::forward<StorageTypeT>(value);
713 }
714 template <typename StorageTypeT = Aws::String>
715 DBCluster& WithStorageType(StorageTypeT&& value) {
716 SetStorageType(std::forward<StorageTypeT>(value));
717 return *this;
718 }
720
722
726 return m_serverlessV2ScalingConfiguration;
727 }
728 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
729 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
730 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
731 m_serverlessV2ScalingConfigurationHasBeenSet = true;
732 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
733 }
734 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfigurationInfo>
735 DBCluster& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
736 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
737 return *this;
738 }
740
742
746 inline const ClusterMasterUserSecret& GetMasterUserSecret() const { return m_masterUserSecret; }
747 inline bool MasterUserSecretHasBeenSet() const { return m_masterUserSecretHasBeenSet; }
748 template <typename MasterUserSecretT = ClusterMasterUserSecret>
749 void SetMasterUserSecret(MasterUserSecretT&& value) {
750 m_masterUserSecretHasBeenSet = true;
751 m_masterUserSecret = std::forward<MasterUserSecretT>(value);
752 }
753 template <typename MasterUserSecretT = ClusterMasterUserSecret>
754 DBCluster& WithMasterUserSecret(MasterUserSecretT&& value) {
755 SetMasterUserSecret(std::forward<MasterUserSecretT>(value));
756 return *this;
757 }
759
761
770 inline const Aws::String& GetNetworkType() const { return m_networkType; }
771 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
772 template <typename NetworkTypeT = Aws::String>
773 void SetNetworkType(NetworkTypeT&& value) {
774 m_networkTypeHasBeenSet = true;
775 m_networkType = std::forward<NetworkTypeT>(value);
776 }
777 template <typename NetworkTypeT = Aws::String>
778 DBCluster& WithNetworkType(NetworkTypeT&& value) {
779 SetNetworkType(std::forward<NetworkTypeT>(value));
780 return *this;
781 }
783 private:
784 Aws::Vector<Aws::String> m_availabilityZones;
785
786 int m_backupRetentionPeriod{0};
787
788 Aws::String m_dBClusterIdentifier;
789
790 Aws::String m_dBClusterParameterGroup;
791
792 Aws::String m_dBSubnetGroup;
793
794 Aws::String m_status;
795
796 Aws::String m_percentProgress;
797
798 Aws::Utils::DateTime m_earliestRestorableTime{};
799
800 Aws::String m_endpoint;
801
802 Aws::String m_readerEndpoint;
803
804 bool m_multiAZ{false};
805
806 Aws::String m_engine;
807
808 Aws::String m_engineVersion;
809
810 Aws::Utils::DateTime m_latestRestorableTime{};
811
812 int m_port{0};
813
814 Aws::String m_masterUsername;
815
816 Aws::String m_preferredBackupWindow;
817
818 Aws::String m_preferredMaintenanceWindow;
819
820 Aws::String m_replicationSourceIdentifier;
821
822 Aws::Vector<Aws::String> m_readReplicaIdentifiers;
823
824 Aws::Vector<DBClusterMember> m_dBClusterMembers;
825
826 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
827
828 Aws::String m_hostedZoneId;
829
830 bool m_storageEncrypted{false};
831
832 Aws::String m_kmsKeyId;
833
834 Aws::String m_dbClusterResourceId;
835
836 Aws::String m_dBClusterArn;
837
838 Aws::Vector<DBClusterRole> m_associatedRoles;
839
840 Aws::String m_cloneGroupId;
841
842 Aws::Utils::DateTime m_clusterCreateTime{};
843
844 Aws::Vector<Aws::String> m_enabledCloudwatchLogsExports;
845
846 bool m_deletionProtection{false};
847
848 Aws::Utils::DateTime m_iOOptimizedNextAllowedModificationTime{};
849
850 Aws::String m_storageType;
851
852 ServerlessV2ScalingConfigurationInfo m_serverlessV2ScalingConfiguration;
853
854 ClusterMasterUserSecret m_masterUserSecret;
855
856 Aws::String m_networkType;
857 bool m_availabilityZonesHasBeenSet = false;
858 bool m_backupRetentionPeriodHasBeenSet = false;
859 bool m_dBClusterIdentifierHasBeenSet = false;
860 bool m_dBClusterParameterGroupHasBeenSet = false;
861 bool m_dBSubnetGroupHasBeenSet = false;
862 bool m_statusHasBeenSet = false;
863 bool m_percentProgressHasBeenSet = false;
864 bool m_earliestRestorableTimeHasBeenSet = false;
865 bool m_endpointHasBeenSet = false;
866 bool m_readerEndpointHasBeenSet = false;
867 bool m_multiAZHasBeenSet = false;
868 bool m_engineHasBeenSet = false;
869 bool m_engineVersionHasBeenSet = false;
870 bool m_latestRestorableTimeHasBeenSet = false;
871 bool m_portHasBeenSet = false;
872 bool m_masterUsernameHasBeenSet = false;
873 bool m_preferredBackupWindowHasBeenSet = false;
874 bool m_preferredMaintenanceWindowHasBeenSet = false;
875 bool m_replicationSourceIdentifierHasBeenSet = false;
876 bool m_readReplicaIdentifiersHasBeenSet = false;
877 bool m_dBClusterMembersHasBeenSet = false;
878 bool m_vpcSecurityGroupsHasBeenSet = false;
879 bool m_hostedZoneIdHasBeenSet = false;
880 bool m_storageEncryptedHasBeenSet = false;
881 bool m_kmsKeyIdHasBeenSet = false;
882 bool m_dbClusterResourceIdHasBeenSet = false;
883 bool m_dBClusterArnHasBeenSet = false;
884 bool m_associatedRolesHasBeenSet = false;
885 bool m_cloneGroupIdHasBeenSet = false;
886 bool m_clusterCreateTimeHasBeenSet = false;
887 bool m_enabledCloudwatchLogsExportsHasBeenSet = false;
888 bool m_deletionProtectionHasBeenSet = false;
889 bool m_iOOptimizedNextAllowedModificationTimeHasBeenSet = false;
890 bool m_storageTypeHasBeenSet = false;
891 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
892 bool m_masterUserSecretHasBeenSet = false;
893 bool m_networkTypeHasBeenSet = false;
894};
895
896} // namespace Model
897} // namespace DocDB
898} // namespace Aws
const Aws::String & GetNetworkType() const
Definition DBCluster.h:770
void SetPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:165
const Aws::String & GetReplicationSourceIdentifier() const
Definition DBCluster.h:391
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:356
DBCluster & WithEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:648
DBCluster & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:472
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
Definition DBCluster.h:459
const Aws::String & GetStatus() const
Definition DBCluster.h:144
DBCluster & WithKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:527
void SetClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:624
void SetDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:110
const Aws::String & GetEngine() const
Definition DBCluster.h:262
bool PreferredMaintenanceWindowHasBeenSet() const
Definition DBCluster.h:373
DBCluster & WithStatus(StatusT &&value)
Definition DBCluster.h:152
DBCluster & WithDBClusterParameterGroup(DBClusterParameterGroupT &&value)
Definition DBCluster.h:115
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< Aws::String > & GetReadReplicaIdentifiers() const
Definition DBCluster.h:410
DBCluster & WithReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:418
bool DeletionProtectionHasBeenSet() const
Definition DBCluster.h:669
void SetDeletionProtection(bool value)
Definition DBCluster.h:670
void SetStorageEncrypted(bool value)
Definition DBCluster.h:504
bool ClusterCreateTimeHasBeenSet() const
Definition DBCluster.h:622
DBCluster & AddEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:653
DBCluster & WithEngine(EngineT &&value)
Definition DBCluster.h:270
DBCluster & WithDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:134
void SetEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:184
bool MasterUserSecretHasBeenSet() const
Definition DBCluster.h:747
const Aws::String & GetReaderEndpoint() const
Definition DBCluster.h:227
bool EngineVersionHasBeenSet() const
Definition DBCluster.h:281
const Aws::String & GetMasterUsername() const
Definition DBCluster.h:333
bool LatestRestorableTimeHasBeenSet() const
Definition DBCluster.h:300
DBCluster & WithCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:610
bool GetDeletionProtection() const
Definition DBCluster.h:668
void SetMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:336
void SetDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:560
bool ReplicationSourceIdentifierHasBeenSet() const
Definition DBCluster.h:392
const Aws::Vector< DBClusterRole > & GetAssociatedRoles() const
Definition DBCluster.h:578
DBCluster & WithLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:307
DBCluster & WithReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:235
bool EndpointHasBeenSet() const
Definition DBCluster.h:201
const Aws::String & GetStorageType() const
Definition DBCluster.h:707
bool DBClusterIdentifierHasBeenSet() const
Definition DBCluster.h:90
bool EnabledCloudwatchLogsExportsHasBeenSet() const
Definition DBCluster.h:641
bool BackupRetentionPeriodHasBeenSet() const
Definition DBCluster.h:73
void SetEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:283
const Aws::String & GetDBSubnetGroup() const
Definition DBCluster.h:126
const Aws::String & GetKmsKeyId() const
Definition DBCluster.h:519
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:730
DBCluster & WithPort(int value)
Definition DBCluster.h:323
DBCluster & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
Definition DBCluster.h:735
void SetNetworkType(NetworkTypeT &&value)
Definition DBCluster.h:773
bool EarliestRestorableTimeHasBeenSet() const
Definition DBCluster.h:182
const Aws::String & GetDBClusterParameterGroup() const
Definition DBCluster.h:107
void SetDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:437
void SetStatus(StatusT &&value)
Definition DBCluster.h:147
DBCluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:380
bool DBClusterMembersHasBeenSet() const
Definition DBCluster.h:435
DBCluster & AddAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:591
DBCluster & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:97
void SetEnabledCloudwatchLogsExports(EnabledCloudwatchLogsExportsT &&value)
Definition DBCluster.h:643
DBCluster & WithMasterUserSecret(MasterUserSecretT &&value)
Definition DBCluster.h:754
const Aws::String & GetPreferredMaintenanceWindow() const
Definition DBCluster.h:372
DBCluster & WithMultiAZ(bool value)
Definition DBCluster.h:252
bool DbClusterResourceIdHasBeenSet() const
Definition DBCluster.h:540
DBCluster & AddDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:447
const Aws::String & GetDBClusterArn() const
Definition DBCluster.h:557
DBCluster & WithPercentProgress(PercentProgressT &&value)
Definition DBCluster.h:170
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
Definition DBCluster.h:92
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition DBCluster.h:621
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:394
bool CloneGroupIdHasBeenSet() const
Definition DBCluster.h:603
bool StorageEncryptedHasBeenSet() const
Definition DBCluster.h:503
const Aws::Utils::DateTime & GetLatestRestorableTime() const
Definition DBCluster.h:299
void SetAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:581
AWS_DOCDB_API DBCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBCluster & AddAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:61
const Aws::Vector< DBClusterMember > & GetDBClusterMembers() const
Definition DBCluster.h:434
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool NetworkTypeHasBeenSet() const
Definition DBCluster.h:771
const Aws::String & GetPreferredBackupWindow() const
Definition DBCluster.h:353
void SetCloneGroupId(CloneGroupIdT &&value)
Definition DBCluster.h:605
DBCluster & WithStorageEncrypted(bool value)
Definition DBCluster.h:508
void SetBackupRetentionPeriod(int value)
Definition DBCluster.h:74
DBCluster & WithAssociatedRoles(AssociatedRolesT &&value)
Definition DBCluster.h:586
const Aws::String & GetDBClusterIdentifier() const
Definition DBCluster.h:89
DBCluster & WithAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:56
DBCluster & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
Definition DBCluster.h:399
bool DBClusterParameterGroupHasBeenSet() const
Definition DBCluster.h:108
void SetEngine(EngineT &&value)
Definition DBCluster.h:265
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition DBCluster.h:48
DBCluster & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
Definition DBCluster.h:361
bool StorageTypeHasBeenSet() const
Definition DBCluster.h:708
DBCluster & WithClusterCreateTime(ClusterCreateTimeT &&value)
Definition DBCluster.h:629
AWS_DOCDB_API DBCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PercentProgressHasBeenSet() const
Definition DBCluster.h:163
bool VpcSecurityGroupsHasBeenSet() const
Definition DBCluster.h:460
void SetHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:487
void SetDBSubnetGroup(DBSubnetGroupT &&value)
Definition DBCluster.h:129
bool IOOptimizedNextAllowedModificationTimeHasBeenSet() const
Definition DBCluster.h:686
int GetBackupRetentionPeriod() const
Definition DBCluster.h:72
DBCluster & WithEngineVersion(EngineVersionT &&value)
Definition DBCluster.h:288
const Aws::Utils::DateTime & GetIOOptimizedNextAllowedModificationTime() const
Definition DBCluster.h:685
void SetIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:688
void SetLatestRestorableTime(LatestRestorableTimeT &&value)
Definition DBCluster.h:302
DBCluster & WithMasterUsername(MasterUsernameT &&value)
Definition DBCluster.h:341
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
Definition DBCluster.h:640
DBCluster & WithDeletionProtection(bool value)
Definition DBCluster.h:674
bool ReadReplicaIdentifiersHasBeenSet() const
Definition DBCluster.h:411
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition DBCluster.h:375
void SetStorageType(StorageTypeT &&value)
Definition DBCluster.h:710
bool PreferredBackupWindowHasBeenSet() const
Definition DBCluster.h:354
const Aws::String & GetEngineVersion() const
Definition DBCluster.h:280
void SetReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:413
void SetReaderEndpoint(ReaderEndpointT &&value)
Definition DBCluster.h:230
bool ServerlessV2ScalingConfigurationHasBeenSet() const
Definition DBCluster.h:728
bool DBSubnetGroupHasBeenSet() const
Definition DBCluster.h:127
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:542
void SetMasterUserSecret(MasterUserSecretT &&value)
Definition DBCluster.h:749
bool HostedZoneIdHasBeenSet() const
Definition DBCluster.h:485
DBCluster & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:467
DBCluster & WithHostedZoneId(HostedZoneIdT &&value)
Definition DBCluster.h:492
const Aws::Utils::DateTime & GetEarliestRestorableTime() const
Definition DBCluster.h:181
DBCluster & WithEarliestRestorableTime(EarliestRestorableTimeT &&value)
Definition DBCluster.h:189
void SetAvailabilityZones(AvailabilityZonesT &&value)
Definition DBCluster.h:51
void SetKmsKeyId(KmsKeyIdT &&value)
Definition DBCluster.h:522
DBCluster & WithDBClusterMembers(DBClusterMembersT &&value)
Definition DBCluster.h:442
const ServerlessV2ScalingConfigurationInfo & GetServerlessV2ScalingConfiguration() const
Definition DBCluster.h:725
bool MasterUsernameHasBeenSet() const
Definition DBCluster.h:334
DBCluster & WithStorageType(StorageTypeT &&value)
Definition DBCluster.h:715
DBCluster & WithIOOptimizedNextAllowedModificationTime(IOOptimizedNextAllowedModificationTimeT &&value)
Definition DBCluster.h:693
const Aws::String & GetEndpoint() const
Definition DBCluster.h:200
bool KmsKeyIdHasBeenSet() const
Definition DBCluster.h:520
const Aws::String & GetCloneGroupId() const
Definition DBCluster.h:602
bool GetStorageEncrypted() const
Definition DBCluster.h:502
bool AvailabilityZonesHasBeenSet() const
Definition DBCluster.h:49
bool AssociatedRolesHasBeenSet() const
Definition DBCluster.h:579
const Aws::String & GetDbClusterResourceId() const
Definition DBCluster.h:539
void SetEndpoint(EndpointT &&value)
Definition DBCluster.h:203
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition DBCluster.h:462
const ClusterMasterUserSecret & GetMasterUserSecret() const
Definition DBCluster.h:746
const Aws::String & GetPercentProgress() const
Definition DBCluster.h:162
void SetMultiAZ(bool value)
Definition DBCluster.h:248
DBCluster & WithDBClusterArn(DBClusterArnT &&value)
Definition DBCluster.h:565
const Aws::String & GetHostedZoneId() const
Definition DBCluster.h:484
DBCluster & WithDbClusterResourceId(DbClusterResourceIdT &&value)
Definition DBCluster.h:547
bool ReaderEndpointHasBeenSet() const
Definition DBCluster.h:228
DBCluster & AddReadReplicaIdentifiers(ReadReplicaIdentifiersT &&value)
Definition DBCluster.h:423
DBCluster & WithNetworkType(NetworkTypeT &&value)
Definition DBCluster.h:778
bool DBClusterArnHasBeenSet() const
Definition DBCluster.h:558
DBCluster & WithBackupRetentionPeriod(int value)
Definition DBCluster.h:78
AWS_DOCDB_API DBCluster()=default
DBCluster & WithEndpoint(EndpointT &&value)
Definition DBCluster.h:208
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