AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBInstance.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/AWSString.h>
10#include <aws/docdb/model/Endpoint.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/docdb/model/DBSubnetGroup.h>
14#include <aws/docdb/model/PendingModifiedValues.h>
15#include <aws/docdb/model/CertificateDetails.h>
16#include <aws/docdb/model/VpcSecurityGroupMembership.h>
17#include <aws/docdb/model/DBInstanceStatusInfo.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Xml
25{
26 class XmlNode;
27} // namespace Xml
28} // namespace Utils
29namespace DocDB
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_DOCDB_API DBInstance();
43 AWS_DOCDB_API DBInstance(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_DOCDB_API DBInstance& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
55 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
56 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
57 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
58 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
59 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
60 inline DBInstance& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
61 inline DBInstance& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
62 inline DBInstance& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
64
66
70 inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; }
71 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
72 inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; }
73 inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); }
74 inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); }
75 inline DBInstance& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;}
76 inline DBInstance& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;}
77 inline DBInstance& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;}
79
81
84 inline const Aws::String& GetEngine() const{ return m_engine; }
85 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
86 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
87 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
88 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
89 inline DBInstance& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
90 inline DBInstance& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
91 inline DBInstance& WithEngine(const char* value) { SetEngine(value); return *this;}
93
95
98 inline const Aws::String& GetDBInstanceStatus() const{ return m_dBInstanceStatus; }
99 inline bool DBInstanceStatusHasBeenSet() const { return m_dBInstanceStatusHasBeenSet; }
100 inline void SetDBInstanceStatus(const Aws::String& value) { m_dBInstanceStatusHasBeenSet = true; m_dBInstanceStatus = value; }
101 inline void SetDBInstanceStatus(Aws::String&& value) { m_dBInstanceStatusHasBeenSet = true; m_dBInstanceStatus = std::move(value); }
102 inline void SetDBInstanceStatus(const char* value) { m_dBInstanceStatusHasBeenSet = true; m_dBInstanceStatus.assign(value); }
103 inline DBInstance& WithDBInstanceStatus(const Aws::String& value) { SetDBInstanceStatus(value); return *this;}
104 inline DBInstance& WithDBInstanceStatus(Aws::String&& value) { SetDBInstanceStatus(std::move(value)); return *this;}
105 inline DBInstance& WithDBInstanceStatus(const char* value) { SetDBInstanceStatus(value); return *this;}
107
109
112 inline const Endpoint& GetEndpoint() const{ return m_endpoint; }
113 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
114 inline void SetEndpoint(const Endpoint& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
115 inline void SetEndpoint(Endpoint&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
116 inline DBInstance& WithEndpoint(const Endpoint& value) { SetEndpoint(value); return *this;}
117 inline DBInstance& WithEndpoint(Endpoint&& value) { SetEndpoint(std::move(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetInstanceCreateTime() const{ return m_instanceCreateTime; }
125 inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; }
126 inline void SetInstanceCreateTime(const Aws::Utils::DateTime& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; }
127 inline void SetInstanceCreateTime(Aws::Utils::DateTime&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = std::move(value); }
129 inline DBInstance& WithInstanceCreateTime(Aws::Utils::DateTime&& value) { SetInstanceCreateTime(std::move(value)); return *this;}
131
133
138 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
139 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
140 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
141 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
142 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
143 inline DBInstance& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;}
144 inline DBInstance& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;}
145 inline DBInstance& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;}
147
149
152 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
153 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
154 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
155 inline DBInstance& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;}
157
159
163 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; }
164 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
165 inline void SetVpcSecurityGroups(const Aws::Vector<VpcSecurityGroupMembership>& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; }
166 inline void SetVpcSecurityGroups(Aws::Vector<VpcSecurityGroupMembership>&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); }
169 inline DBInstance& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
170 inline DBInstance& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
172
174
178 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
179 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
180 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
181 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
182 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
183 inline DBInstance& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
184 inline DBInstance& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
185 inline DBInstance& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
187
189
193 inline const DBSubnetGroup& GetDBSubnetGroup() const{ return m_dBSubnetGroup; }
194 inline bool DBSubnetGroupHasBeenSet() const { return m_dBSubnetGroupHasBeenSet; }
195 inline void SetDBSubnetGroup(const DBSubnetGroup& value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup = value; }
196 inline void SetDBSubnetGroup(DBSubnetGroup&& value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup = std::move(value); }
197 inline DBInstance& WithDBSubnetGroup(const DBSubnetGroup& value) { SetDBSubnetGroup(value); return *this;}
198 inline DBInstance& WithDBSubnetGroup(DBSubnetGroup&& value) { SetDBSubnetGroup(std::move(value)); return *this;}
200
202
206 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
207 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
208 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
209 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
210 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
212 inline DBInstance& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;}
213 inline DBInstance& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
215
217
222 inline const PendingModifiedValues& GetPendingModifiedValues() const{ return m_pendingModifiedValues; }
223 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
224 inline void SetPendingModifiedValues(const PendingModifiedValues& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = value; }
225 inline void SetPendingModifiedValues(PendingModifiedValues&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::move(value); }
227 inline DBInstance& WithPendingModifiedValues(PendingModifiedValues&& value) { SetPendingModifiedValues(std::move(value)); return *this;}
229
231
235 inline const Aws::Utils::DateTime& GetLatestRestorableTime() const{ return m_latestRestorableTime; }
236 inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; }
237 inline void SetLatestRestorableTime(const Aws::Utils::DateTime& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = value; }
238 inline void SetLatestRestorableTime(Aws::Utils::DateTime&& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = std::move(value); }
240 inline DBInstance& WithLatestRestorableTime(Aws::Utils::DateTime&& value) { SetLatestRestorableTime(std::move(value)); return *this;}
242
244
247 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
248 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
249 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
250 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
251 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
252 inline DBInstance& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
253 inline DBInstance& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
254 inline DBInstance& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
256
258
263 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
264 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
265 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
266 inline DBInstance& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;}
268
270
274 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
275 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
276 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
277 inline DBInstance& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
279
281
285 inline const Aws::Vector<DBInstanceStatusInfo>& GetStatusInfos() const{ return m_statusInfos; }
286 inline bool StatusInfosHasBeenSet() const { return m_statusInfosHasBeenSet; }
287 inline void SetStatusInfos(const Aws::Vector<DBInstanceStatusInfo>& value) { m_statusInfosHasBeenSet = true; m_statusInfos = value; }
288 inline void SetStatusInfos(Aws::Vector<DBInstanceStatusInfo>&& value) { m_statusInfosHasBeenSet = true; m_statusInfos = std::move(value); }
289 inline DBInstance& WithStatusInfos(const Aws::Vector<DBInstanceStatusInfo>& value) { SetStatusInfos(value); return *this;}
290 inline DBInstance& WithStatusInfos(Aws::Vector<DBInstanceStatusInfo>&& value) { SetStatusInfos(std::move(value)); return *this;}
291 inline DBInstance& AddStatusInfos(const DBInstanceStatusInfo& value) { m_statusInfosHasBeenSet = true; m_statusInfos.push_back(value); return *this; }
292 inline DBInstance& AddStatusInfos(DBInstanceStatusInfo&& value) { m_statusInfosHasBeenSet = true; m_statusInfos.push_back(std::move(value)); return *this; }
294
296
300 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
301 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
302 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
303 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
304 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
305 inline DBInstance& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
306 inline DBInstance& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
307 inline DBInstance& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
309
311
314 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; }
315 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
316 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
317 inline DBInstance& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
319
321
325 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
326 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
327 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
328 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
329 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
330 inline DBInstance& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
331 inline DBInstance& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
332 inline DBInstance& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
334
336
341 inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; }
342 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
343 inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; }
344 inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); }
345 inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); }
346 inline DBInstance& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;}
347 inline DBInstance& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;}
348 inline DBInstance& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;}
350
352
355 inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; }
356 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
357 inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; }
358 inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); }
359 inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); }
361 inline DBInstance& WithCACertificateIdentifier(Aws::String&& value) { SetCACertificateIdentifier(std::move(value)); return *this;}
362 inline DBInstance& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;}
364
366
370 inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; }
371 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
372 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
373 inline DBInstance& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
375
377
382 inline int GetPromotionTier() const{ return m_promotionTier; }
383 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
384 inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; }
385 inline DBInstance& WithPromotionTier(int value) { SetPromotionTier(value); return *this;}
387
389
392 inline const Aws::String& GetDBInstanceArn() const{ return m_dBInstanceArn; }
393 inline bool DBInstanceArnHasBeenSet() const { return m_dBInstanceArnHasBeenSet; }
394 inline void SetDBInstanceArn(const Aws::String& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = value; }
395 inline void SetDBInstanceArn(Aws::String&& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = std::move(value); }
396 inline void SetDBInstanceArn(const char* value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn.assign(value); }
397 inline DBInstance& WithDBInstanceArn(const Aws::String& value) { SetDBInstanceArn(value); return *this;}
398 inline DBInstance& WithDBInstanceArn(Aws::String&& value) { SetDBInstanceArn(std::move(value)); return *this;}
399 inline DBInstance& WithDBInstanceArn(const char* value) { SetDBInstanceArn(value); return *this;}
401
403
407 inline const Aws::Vector<Aws::String>& GetEnabledCloudwatchLogsExports() const{ return m_enabledCloudwatchLogsExports; }
408 inline bool EnabledCloudwatchLogsExportsHasBeenSet() const { return m_enabledCloudwatchLogsExportsHasBeenSet; }
409 inline void SetEnabledCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports = value; }
410 inline void SetEnabledCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports = std::move(value); }
413 inline DBInstance& AddEnabledCloudwatchLogsExports(const Aws::String& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(value); return *this; }
414 inline DBInstance& AddEnabledCloudwatchLogsExports(Aws::String&& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(std::move(value)); return *this; }
415 inline DBInstance& AddEnabledCloudwatchLogsExports(const char* value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(value); return *this; }
417
419
422 inline const CertificateDetails& GetCertificateDetails() const{ return m_certificateDetails; }
423 inline bool CertificateDetailsHasBeenSet() const { return m_certificateDetailsHasBeenSet; }
424 inline void SetCertificateDetails(const CertificateDetails& value) { m_certificateDetailsHasBeenSet = true; m_certificateDetails = value; }
425 inline void SetCertificateDetails(CertificateDetails&& value) { m_certificateDetailsHasBeenSet = true; m_certificateDetails = std::move(value); }
426 inline DBInstance& WithCertificateDetails(const CertificateDetails& value) { SetCertificateDetails(value); return *this;}
427 inline DBInstance& WithCertificateDetails(CertificateDetails&& value) { SetCertificateDetails(std::move(value)); return *this;}
429
431
435 inline bool GetPerformanceInsightsEnabled() const{ return m_performanceInsightsEnabled; }
436 inline bool PerformanceInsightsEnabledHasBeenSet() const { return m_performanceInsightsEnabledHasBeenSet; }
437 inline void SetPerformanceInsightsEnabled(bool value) { m_performanceInsightsEnabledHasBeenSet = true; m_performanceInsightsEnabled = value; }
440
442
447 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; }
448 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
449 inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; }
450 inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); }
451 inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); }
454 inline DBInstance& WithPerformanceInsightsKMSKeyId(const char* value) { SetPerformanceInsightsKMSKeyId(value); return *this;}
456 private:
457
458 Aws::String m_dBInstanceIdentifier;
459 bool m_dBInstanceIdentifierHasBeenSet = false;
460
461 Aws::String m_dBInstanceClass;
462 bool m_dBInstanceClassHasBeenSet = false;
463
464 Aws::String m_engine;
465 bool m_engineHasBeenSet = false;
466
467 Aws::String m_dBInstanceStatus;
468 bool m_dBInstanceStatusHasBeenSet = false;
469
470 Endpoint m_endpoint;
471 bool m_endpointHasBeenSet = false;
472
473 Aws::Utils::DateTime m_instanceCreateTime;
474 bool m_instanceCreateTimeHasBeenSet = false;
475
476 Aws::String m_preferredBackupWindow;
477 bool m_preferredBackupWindowHasBeenSet = false;
478
479 int m_backupRetentionPeriod;
480 bool m_backupRetentionPeriodHasBeenSet = false;
481
482 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
483 bool m_vpcSecurityGroupsHasBeenSet = false;
484
485 Aws::String m_availabilityZone;
486 bool m_availabilityZoneHasBeenSet = false;
487
488 DBSubnetGroup m_dBSubnetGroup;
489 bool m_dBSubnetGroupHasBeenSet = false;
490
491 Aws::String m_preferredMaintenanceWindow;
492 bool m_preferredMaintenanceWindowHasBeenSet = false;
493
494 PendingModifiedValues m_pendingModifiedValues;
495 bool m_pendingModifiedValuesHasBeenSet = false;
496
497 Aws::Utils::DateTime m_latestRestorableTime;
498 bool m_latestRestorableTimeHasBeenSet = false;
499
500 Aws::String m_engineVersion;
501 bool m_engineVersionHasBeenSet = false;
502
503 bool m_autoMinorVersionUpgrade;
504 bool m_autoMinorVersionUpgradeHasBeenSet = false;
505
506 bool m_publiclyAccessible;
507 bool m_publiclyAccessibleHasBeenSet = false;
508
510 bool m_statusInfosHasBeenSet = false;
511
512 Aws::String m_dBClusterIdentifier;
513 bool m_dBClusterIdentifierHasBeenSet = false;
514
515 bool m_storageEncrypted;
516 bool m_storageEncryptedHasBeenSet = false;
517
518 Aws::String m_kmsKeyId;
519 bool m_kmsKeyIdHasBeenSet = false;
520
521 Aws::String m_dbiResourceId;
522 bool m_dbiResourceIdHasBeenSet = false;
523
524 Aws::String m_cACertificateIdentifier;
525 bool m_cACertificateIdentifierHasBeenSet = false;
526
527 bool m_copyTagsToSnapshot;
528 bool m_copyTagsToSnapshotHasBeenSet = false;
529
530 int m_promotionTier;
531 bool m_promotionTierHasBeenSet = false;
532
533 Aws::String m_dBInstanceArn;
534 bool m_dBInstanceArnHasBeenSet = false;
535
536 Aws::Vector<Aws::String> m_enabledCloudwatchLogsExports;
537 bool m_enabledCloudwatchLogsExportsHasBeenSet = false;
538
539 CertificateDetails m_certificateDetails;
540 bool m_certificateDetailsHasBeenSet = false;
541
542 bool m_performanceInsightsEnabled;
543 bool m_performanceInsightsEnabledHasBeenSet = false;
544
545 Aws::String m_performanceInsightsKMSKeyId;
546 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
547 };
548
549} // namespace Model
550} // namespace DocDB
551} // namespace Aws
DBInstance & WithCACertificateIdentifier(Aws::String &&value)
Definition DBInstance.h:361
DBInstance & WithCopyTagsToSnapshot(bool value)
Definition DBInstance.h:373
bool DbiResourceIdHasBeenSet() const
Definition DBInstance.h:342
const Aws::Utils::DateTime & GetLatestRestorableTime() const
Definition DBInstance.h:235
const Aws::String & GetDBInstanceStatus() const
Definition DBInstance.h:98
void SetLatestRestorableTime(const Aws::Utils::DateTime &value)
Definition DBInstance.h:237
bool CertificateDetailsHasBeenSet() const
Definition DBInstance.h:423
bool AutoMinorVersionUpgradeHasBeenSet() const
Definition DBInstance.h:264
DBInstance & WithEngine(const Aws::String &value)
Definition DBInstance.h:89
DBInstance & AddEnabledCloudwatchLogsExports(Aws::String &&value)
Definition DBInstance.h:414
bool InstanceCreateTimeHasBeenSet() const
Definition DBInstance.h:125
void SetDBInstanceStatus(const char *value)
Definition DBInstance.h:102
void SetPubliclyAccessible(bool value)
Definition DBInstance.h:276
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
Definition DBInstance.h:163
DBInstance & WithStorageEncrypted(bool value)
Definition DBInstance.h:317
void SetCACertificateIdentifier(const Aws::String &value)
Definition DBInstance.h:357
void SetKmsKeyId(const Aws::String &value)
Definition DBInstance.h:327
DBInstance & WithDBInstanceArn(Aws::String &&value)
Definition DBInstance.h:398
bool VpcSecurityGroupsHasBeenSet() const
Definition DBInstance.h:164
DBInstance & WithDBInstanceClass(const Aws::String &value)
Definition DBInstance.h:75
const PendingModifiedValues & GetPendingModifiedValues() const
Definition DBInstance.h:222
DBInstance & WithDBInstanceIdentifier(Aws::String &&value)
Definition DBInstance.h:61
void SetDBInstanceIdentifier(Aws::String &&value)
Definition DBInstance.h:58
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
Definition DBInstance.h:165
bool DBInstanceArnHasBeenSet() const
Definition DBInstance.h:393
DBInstance & WithPerformanceInsightsKMSKeyId(Aws::String &&value)
Definition DBInstance.h:453
DBInstance & WithEndpoint(const Endpoint &value)
Definition DBInstance.h:116
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBInstance & AddStatusInfos(DBInstanceStatusInfo &&value)
Definition DBInstance.h:292
DBInstance & WithKmsKeyId(Aws::String &&value)
Definition DBInstance.h:331
bool PendingModifiedValuesHasBeenSet() const
Definition DBInstance.h:223
DBInstance & WithPreferredBackupWindow(const Aws::String &value)
Definition DBInstance.h:143
DBInstance & WithPerformanceInsightsEnabled(bool value)
Definition DBInstance.h:438
void SetDBInstanceStatus(Aws::String &&value)
Definition DBInstance.h:101
void SetDBInstanceClass(const char *value)
Definition DBInstance.h:74
DBInstance & WithCACertificateIdentifier(const Aws::String &value)
Definition DBInstance.h:360
DBInstance & AddStatusInfos(const DBInstanceStatusInfo &value)
Definition DBInstance.h:291
DBInstance & WithPreferredMaintenanceWindow(const Aws::String &value)
Definition DBInstance.h:211
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
Definition DBInstance.h:166
void SetDBSubnetGroup(const DBSubnetGroup &value)
Definition DBInstance.h:195
void SetInstanceCreateTime(const Aws::Utils::DateTime &value)
Definition DBInstance.h:126
DBInstance & WithPendingModifiedValues(PendingModifiedValues &&value)
Definition DBInstance.h:227
DBInstance & WithKmsKeyId(const Aws::String &value)
Definition DBInstance.h:330
bool CopyTagsToSnapshotHasBeenSet() const
Definition DBInstance.h:371
void SetDbiResourceId(const Aws::String &value)
Definition DBInstance.h:343
void SetDbiResourceId(const char *value)
Definition DBInstance.h:345
void SetAvailabilityZone(const Aws::String &value)
Definition DBInstance.h:180
void SetEngineVersion(Aws::String &&value)
Definition DBInstance.h:250
bool DBInstanceClassHasBeenSet() const
Definition DBInstance.h:71
DBInstance & AddEnabledCloudwatchLogsExports(const char *value)
Definition DBInstance.h:415
void SetPreferredBackupWindow(Aws::String &&value)
Definition DBInstance.h:141
DBInstance & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
Definition DBInstance.h:169
DBInstance & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
Definition DBInstance.h:168
bool BackupRetentionPeriodHasBeenSet() const
Definition DBInstance.h:153
void SetEndpoint(Endpoint &&value)
Definition DBInstance.h:115
void SetDBInstanceClass(const Aws::String &value)
Definition DBInstance.h:72
DBInstance & WithDbiResourceId(Aws::String &&value)
Definition DBInstance.h:347
void SetAvailabilityZone(const char *value)
Definition DBInstance.h:182
void SetDBInstanceArn(const Aws::String &value)
Definition DBInstance.h:394
void SetDBClusterIdentifier(const Aws::String &value)
Definition DBInstance.h:302
bool PreferredBackupWindowHasBeenSet() const
Definition DBInstance.h:139
void SetAutoMinorVersionUpgrade(bool value)
Definition DBInstance.h:265
const Aws::String & GetCACertificateIdentifier() const
Definition DBInstance.h:355
void SetPreferredMaintenanceWindow(const Aws::String &value)
Definition DBInstance.h:208
DBInstance & WithKmsKeyId(const char *value)
Definition DBInstance.h:332
const Aws::String & GetPreferredBackupWindow() const
Definition DBInstance.h:138
void SetPreferredBackupWindow(const Aws::String &value)
Definition DBInstance.h:140
DBInstance & WithDBClusterIdentifier(const Aws::String &value)
Definition DBInstance.h:305
bool DBClusterIdentifierHasBeenSet() const
Definition DBInstance.h:301
DBInstance & WithDBInstanceClass(const char *value)
Definition DBInstance.h:77
bool PubliclyAccessibleHasBeenSet() const
Definition DBInstance.h:275
void SetCACertificateIdentifier(Aws::String &&value)
Definition DBInstance.h:358
void SetCertificateDetails(const CertificateDetails &value)
Definition DBInstance.h:424
void SetPreferredMaintenanceWindow(Aws::String &&value)
Definition DBInstance.h:209
DBInstance & WithAutoMinorVersionUpgrade(bool value)
Definition DBInstance.h:266
bool LatestRestorableTimeHasBeenSet() const
Definition DBInstance.h:236
void SetEngine(const char *value)
Definition DBInstance.h:88
bool EngineVersionHasBeenSet() const
Definition DBInstance.h:248
void SetStatusInfos(Aws::Vector< DBInstanceStatusInfo > &&value)
Definition DBInstance.h:288
void SetPreferredMaintenanceWindow(const char *value)
Definition DBInstance.h:210
void SetCertificateDetails(CertificateDetails &&value)
Definition DBInstance.h:425
DBInstance & WithPendingModifiedValues(const PendingModifiedValues &value)
Definition DBInstance.h:226
DBInstance & WithInstanceCreateTime(const Aws::Utils::DateTime &value)
Definition DBInstance.h:128
bool DBInstanceIdentifierHasBeenSet() const
Definition DBInstance.h:56
DBInstance & WithCertificateDetails(CertificateDetails &&value)
Definition DBInstance.h:427
DBInstance & WithDBInstanceIdentifier(const Aws::String &value)
Definition DBInstance.h:60
bool GetPerformanceInsightsEnabled() const
Definition DBInstance.h:435
void SetPerformanceInsightsEnabled(bool value)
Definition DBInstance.h:437
const Aws::String & GetDBInstanceArn() const
Definition DBInstance.h:392
DBInstance & WithEngineVersion(Aws::String &&value)
Definition DBInstance.h:253
const Aws::String & GetKmsKeyId() const
Definition DBInstance.h:325
const Aws::String & GetDbiResourceId() const
Definition DBInstance.h:341
void SetCACertificateIdentifier(const char *value)
Definition DBInstance.h:359
DBInstance & WithDBInstanceStatus(Aws::String &&value)
Definition DBInstance.h:104
DBInstance & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
Definition DBInstance.h:170
DBInstance & WithEndpoint(Endpoint &&value)
Definition DBInstance.h:117
void SetDBSubnetGroup(DBSubnetGroup &&value)
Definition DBInstance.h:196
bool StorageEncryptedHasBeenSet() const
Definition DBInstance.h:315
void SetEngine(Aws::String &&value)
Definition DBInstance.h:87
DBInstance & WithEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
Definition DBInstance.h:412
void SetKmsKeyId(const char *value)
Definition DBInstance.h:329
void SetInstanceCreateTime(Aws::Utils::DateTime &&value)
Definition DBInstance.h:127
DBInstance & WithDBInstanceClass(Aws::String &&value)
Definition DBInstance.h:76
DBInstance & WithPreferredMaintenanceWindow(Aws::String &&value)
Definition DBInstance.h:212
DBInstance & WithDbiResourceId(const char *value)
Definition DBInstance.h:348
DBInstance & WithCACertificateIdentifier(const char *value)
Definition DBInstance.h:362
DBInstance & WithDBInstanceArn(const Aws::String &value)
Definition DBInstance.h:397
DBInstance & WithAvailabilityZone(Aws::String &&value)
Definition DBInstance.h:184
void SetPromotionTier(int value)
Definition DBInstance.h:384
DBInstance & WithDBInstanceIdentifier(const char *value)
Definition DBInstance.h:62
DBInstance & WithInstanceCreateTime(Aws::Utils::DateTime &&value)
Definition DBInstance.h:129
void SetDBInstanceStatus(const Aws::String &value)
Definition DBInstance.h:100
const Aws::String & GetAvailabilityZone() const
Definition DBInstance.h:178
DBInstance & WithDBSubnetGroup(const DBSubnetGroup &value)
Definition DBInstance.h:197
void SetDBInstanceClass(Aws::String &&value)
Definition DBInstance.h:73
DBInstance & WithPreferredBackupWindow(const char *value)
Definition DBInstance.h:145
DBInstance & WithPromotionTier(int value)
Definition DBInstance.h:385
bool PerformanceInsightsEnabledHasBeenSet() const
Definition DBInstance.h:436
const Aws::String & GetDBClusterIdentifier() const
Definition DBInstance.h:300
void SetDbiResourceId(Aws::String &&value)
Definition DBInstance.h:344
bool PerformanceInsightsKMSKeyIdHasBeenSet() const
Definition DBInstance.h:448
DBInstance & WithPubliclyAccessible(bool value)
Definition DBInstance.h:277
const Aws::String & GetDBInstanceIdentifier() const
Definition DBInstance.h:55
DBInstance & WithPerformanceInsightsKMSKeyId(const Aws::String &value)
Definition DBInstance.h:452
void SetDBInstanceArn(Aws::String &&value)
Definition DBInstance.h:395
const Aws::String & GetPerformanceInsightsKMSKeyId() const
Definition DBInstance.h:447
const DBSubnetGroup & GetDBSubnetGroup() const
Definition DBInstance.h:193
bool EnabledCloudwatchLogsExportsHasBeenSet() const
Definition DBInstance.h:408
void SetPendingModifiedValues(PendingModifiedValues &&value)
Definition DBInstance.h:225
void SetPerformanceInsightsKMSKeyId(const Aws::String &value)
Definition DBInstance.h:449
DBInstance & WithEngine(const char *value)
Definition DBInstance.h:91
const Aws::Vector< DBInstanceStatusInfo > & GetStatusInfos() const
Definition DBInstance.h:285
void SetPreferredBackupWindow(const char *value)
Definition DBInstance.h:142
DBInstance & WithDBClusterIdentifier(Aws::String &&value)
Definition DBInstance.h:306
DBInstance & WithDBInstanceStatus(const char *value)
Definition DBInstance.h:105
void SetEngineVersion(const Aws::String &value)
Definition DBInstance.h:249
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
Definition DBInstance.h:407
void SetDBInstanceIdentifier(const Aws::String &value)
Definition DBInstance.h:57
void SetDBClusterIdentifier(Aws::String &&value)
Definition DBInstance.h:303
DBInstance & WithEngineVersion(const Aws::String &value)
Definition DBInstance.h:252
DBInstance & WithStatusInfos(Aws::Vector< DBInstanceStatusInfo > &&value)
Definition DBInstance.h:290
DBInstance & WithDBClusterIdentifier(const char *value)
Definition DBInstance.h:307
DBInstance & WithAvailabilityZone(const char *value)
Definition DBInstance.h:185
bool GetAutoMinorVersionUpgrade() const
Definition DBInstance.h:263
void SetLatestRestorableTime(Aws::Utils::DateTime &&value)
Definition DBInstance.h:238
bool DBSubnetGroupHasBeenSet() const
Definition DBInstance.h:194
const Endpoint & GetEndpoint() const
Definition DBInstance.h:112
void SetEngine(const Aws::String &value)
Definition DBInstance.h:86
DBInstance & WithDBInstanceStatus(const Aws::String &value)
Definition DBInstance.h:103
DBInstance & WithPerformanceInsightsKMSKeyId(const char *value)
Definition DBInstance.h:454
void SetCopyTagsToSnapshot(bool value)
Definition DBInstance.h:372
void SetStatusInfos(const Aws::Vector< DBInstanceStatusInfo > &value)
Definition DBInstance.h:287
bool PromotionTierHasBeenSet() const
Definition DBInstance.h:383
const CertificateDetails & GetCertificateDetails() const
Definition DBInstance.h:422
void SetEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
Definition DBInstance.h:409
void SetAvailabilityZone(Aws::String &&value)
Definition DBInstance.h:181
void SetBackupRetentionPeriod(int value)
Definition DBInstance.h:154
AWS_DOCDB_API DBInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPendingModifiedValues(const PendingModifiedValues &value)
Definition DBInstance.h:224
DBInstance & WithEngine(Aws::String &&value)
Definition DBInstance.h:90
DBInstance & WithDBInstanceArn(const char *value)
Definition DBInstance.h:399
void SetEngineVersion(const char *value)
Definition DBInstance.h:251
void SetPerformanceInsightsKMSKeyId(const char *value)
Definition DBInstance.h:451
DBInstance & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
Definition DBInstance.h:167
const Aws::String & GetEngine() const
Definition DBInstance.h:84
DBInstance & WithEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
Definition DBInstance.h:411
DBInstance & WithDbiResourceId(const Aws::String &value)
Definition DBInstance.h:346
DBInstance & AddEnabledCloudwatchLogsExports(const Aws::String &value)
Definition DBInstance.h:413
void SetStorageEncrypted(bool value)
Definition DBInstance.h:316
bool CACertificateIdentifierHasBeenSet() const
Definition DBInstance.h:356
void SetDBClusterIdentifier(const char *value)
Definition DBInstance.h:304
void SetEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
Definition DBInstance.h:410
void SetEndpoint(const Endpoint &value)
Definition DBInstance.h:114
const Aws::String & GetEngineVersion() const
Definition DBInstance.h:247
DBInstance & WithPreferredBackupWindow(Aws::String &&value)
Definition DBInstance.h:144
void SetDBInstanceArn(const char *value)
Definition DBInstance.h:396
DBInstance & WithAvailabilityZone(const Aws::String &value)
Definition DBInstance.h:183
bool PreferredMaintenanceWindowHasBeenSet() const
Definition DBInstance.h:207
DBInstance & WithStatusInfos(const Aws::Vector< DBInstanceStatusInfo > &value)
Definition DBInstance.h:289
const Aws::String & GetPreferredMaintenanceWindow() const
Definition DBInstance.h:206
void SetKmsKeyId(Aws::String &&value)
Definition DBInstance.h:328
DBInstance & WithEngineVersion(const char *value)
Definition DBInstance.h:254
DBInstance & WithDBSubnetGroup(DBSubnetGroup &&value)
Definition DBInstance.h:198
DBInstance & WithBackupRetentionPeriod(int value)
Definition DBInstance.h:155
DBInstance & WithCertificateDetails(const CertificateDetails &value)
Definition DBInstance.h:426
DBInstance & WithLatestRestorableTime(Aws::Utils::DateTime &&value)
Definition DBInstance.h:240
bool DBInstanceStatusHasBeenSet() const
Definition DBInstance.h:99
DBInstance & WithPreferredMaintenanceWindow(const char *value)
Definition DBInstance.h:213
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBInstance & WithLatestRestorableTime(const Aws::Utils::DateTime &value)
Definition DBInstance.h:239
AWS_DOCDB_API DBInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPerformanceInsightsKMSKeyId(Aws::String &&value)
Definition DBInstance.h:450
void SetDBInstanceIdentifier(const char *value)
Definition DBInstance.h:59
bool AvailabilityZoneHasBeenSet() const
Definition DBInstance.h:179
const Aws::String & GetDBInstanceClass() const
Definition DBInstance.h:70
const Aws::Utils::DateTime & GetInstanceCreateTime() const
Definition DBInstance.h:124
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