AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
CreateDBClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/neptune/NeptuneRequest.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/ServerlessV2ScalingConfiguration.h>
12#include <aws/neptune/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Neptune {
18namespace Model {
19
23 public:
24 AWS_NEPTUNE_API CreateDBClusterRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateDBCluster"; }
31
32 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
43 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
44 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
45 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
46 void SetAvailabilityZones(AvailabilityZonesT&& value) {
47 m_availabilityZonesHasBeenSet = true;
48 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
49 }
50 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
51 CreateDBClusterRequest& WithAvailabilityZones(AvailabilityZonesT&& value) {
52 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
53 return *this;
54 }
55 template <typename AvailabilityZonesT = Aws::String>
56 CreateDBClusterRequest& AddAvailabilityZones(AvailabilityZonesT&& value) {
57 m_availabilityZonesHasBeenSet = true;
58 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
59 return *this;
60 }
62
64
69 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
70 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
71 inline void SetBackupRetentionPeriod(int value) {
72 m_backupRetentionPeriodHasBeenSet = true;
73 m_backupRetentionPeriod = value;
74 }
77 return *this;
78 }
80
82
85 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
86 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
87 template <typename CharacterSetNameT = Aws::String>
88 void SetCharacterSetName(CharacterSetNameT&& value) {
89 m_characterSetNameHasBeenSet = true;
90 m_characterSetName = std::forward<CharacterSetNameT>(value);
91 }
92 template <typename CharacterSetNameT = Aws::String>
93 CreateDBClusterRequest& WithCharacterSetName(CharacterSetNameT&& value) {
94 SetCharacterSetName(std::forward<CharacterSetNameT>(value));
95 return *this;
96 }
98
100
104 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
105 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
106 inline void SetCopyTagsToSnapshot(bool value) {
107 m_copyTagsToSnapshotHasBeenSet = true;
108 m_copyTagsToSnapshot = value;
109 }
112 return *this;
113 }
115
117
122 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
123 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
124 template <typename DatabaseNameT = Aws::String>
125 void SetDatabaseName(DatabaseNameT&& value) {
126 m_databaseNameHasBeenSet = true;
127 m_databaseName = std::forward<DatabaseNameT>(value);
128 }
129 template <typename DatabaseNameT = Aws::String>
130 CreateDBClusterRequest& WithDatabaseName(DatabaseNameT&& value) {
131 SetDatabaseName(std::forward<DatabaseNameT>(value));
132 return *this;
133 }
135
137
144 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
145 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
146 template <typename DBClusterIdentifierT = Aws::String>
147 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
148 m_dBClusterIdentifierHasBeenSet = true;
149 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
150 }
151 template <typename DBClusterIdentifierT = Aws::String>
152 CreateDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
153 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
154 return *this;
155 }
157
159
165 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
166 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
167 template <typename DBClusterParameterGroupNameT = Aws::String>
168 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
169 m_dBClusterParameterGroupNameHasBeenSet = true;
170 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
171 }
172 template <typename DBClusterParameterGroupNameT = Aws::String>
173 CreateDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
174 SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
184 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
185 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
186 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
187 m_vpcSecurityGroupIdsHasBeenSet = true;
188 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
189 }
190 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
191 CreateDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
192 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
193 return *this;
194 }
195 template <typename VpcSecurityGroupIdsT = Aws::String>
196 CreateDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
197 m_vpcSecurityGroupIdsHasBeenSet = true;
198 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
199 return *this;
200 }
202
204
209 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
210 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
211 template <typename DBSubnetGroupNameT = Aws::String>
212 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
213 m_dBSubnetGroupNameHasBeenSet = true;
214 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
215 }
216 template <typename DBSubnetGroupNameT = Aws::String>
217 CreateDBClusterRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
218 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
219 return *this;
220 }
222
224
228 inline const Aws::String& GetEngine() const { return m_engine; }
229 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
230 template <typename EngineT = Aws::String>
231 void SetEngine(EngineT&& value) {
232 m_engineHasBeenSet = true;
233 m_engine = std::forward<EngineT>(value);
234 }
235 template <typename EngineT = Aws::String>
237 SetEngine(std::forward<EngineT>(value));
238 return *this;
239 }
241
243
247 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
248 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
249 template <typename EngineVersionT = Aws::String>
250 void SetEngineVersion(EngineVersionT&& value) {
251 m_engineVersionHasBeenSet = true;
252 m_engineVersion = std::forward<EngineVersionT>(value);
253 }
254 template <typename EngineVersionT = Aws::String>
255 CreateDBClusterRequest& WithEngineVersion(EngineVersionT&& value) {
256 SetEngineVersion(std::forward<EngineVersionT>(value));
257 return *this;
258 }
260
262
266 inline int GetPort() const { return m_port; }
267 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
268 inline void SetPort(int value) {
269 m_portHasBeenSet = true;
270 m_port = value;
271 }
272 inline CreateDBClusterRequest& WithPort(int value) {
273 SetPort(value);
274 return *this;
275 }
277
279
282 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
283 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
284 template <typename MasterUsernameT = Aws::String>
285 void SetMasterUsername(MasterUsernameT&& value) {
286 m_masterUsernameHasBeenSet = true;
287 m_masterUsername = std::forward<MasterUsernameT>(value);
288 }
289 template <typename MasterUsernameT = Aws::String>
290 CreateDBClusterRequest& WithMasterUsername(MasterUsernameT&& value) {
291 SetMasterUsername(std::forward<MasterUsernameT>(value));
292 return *this;
293 }
295
297
300 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
301 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
302 template <typename MasterUserPasswordT = Aws::String>
303 void SetMasterUserPassword(MasterUserPasswordT&& value) {
304 m_masterUserPasswordHasBeenSet = true;
305 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
306 }
307 template <typename MasterUserPasswordT = Aws::String>
308 CreateDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
309 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
310 return *this;
311 }
313
315
318 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
319 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
320 template <typename OptionGroupNameT = Aws::String>
321 void SetOptionGroupName(OptionGroupNameT&& value) {
322 m_optionGroupNameHasBeenSet = true;
323 m_optionGroupName = std::forward<OptionGroupNameT>(value);
324 }
325 template <typename OptionGroupNameT = Aws::String>
326 CreateDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) {
327 SetOptionGroupName(std::forward<OptionGroupNameT>(value));
328 return *this;
329 }
331
333
345 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
346 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
347 template <typename PreferredBackupWindowT = Aws::String>
348 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
349 m_preferredBackupWindowHasBeenSet = true;
350 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
351 }
352 template <typename PreferredBackupWindowT = Aws::String>
353 CreateDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
354 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
355 return *this;
356 }
358
360
371 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
372 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
373 template <typename PreferredMaintenanceWindowT = Aws::String>
374 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
375 m_preferredMaintenanceWindowHasBeenSet = true;
376 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
377 }
378 template <typename PreferredMaintenanceWindowT = Aws::String>
379 CreateDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
380 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
381 return *this;
382 }
384
386
390 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
391 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
392 template <typename ReplicationSourceIdentifierT = Aws::String>
393 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
394 m_replicationSourceIdentifierHasBeenSet = true;
395 m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value);
396 }
397 template <typename ReplicationSourceIdentifierT = Aws::String>
398 CreateDBClusterRequest& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
399 SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value));
400 return *this;
401 }
403
405
408 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
409 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
410 template <typename TagsT = Aws::Vector<Tag>>
411 void SetTags(TagsT&& value) {
412 m_tagsHasBeenSet = true;
413 m_tags = std::forward<TagsT>(value);
414 }
415 template <typename TagsT = Aws::Vector<Tag>>
417 SetTags(std::forward<TagsT>(value));
418 return *this;
419 }
420 template <typename TagsT = Tag>
422 m_tagsHasBeenSet = true;
423 m_tags.emplace_back(std::forward<TagsT>(value));
424 return *this;
425 }
427
429
432 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
433 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
434 inline void SetStorageEncrypted(bool value) {
435 m_storageEncryptedHasBeenSet = true;
436 m_storageEncrypted = value;
437 }
439 SetStorageEncrypted(value);
440 return *this;
441 }
443
445
464 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
465 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
466 template <typename KmsKeyIdT = Aws::String>
467 void SetKmsKeyId(KmsKeyIdT&& value) {
468 m_kmsKeyIdHasBeenSet = true;
469 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
470 }
471 template <typename KmsKeyIdT = Aws::String>
473 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
474 return *this;
475 }
477
479
482 inline const Aws::String& GetPreSignedUrl() const { return m_preSignedUrl; }
483 inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
484 template <typename PreSignedUrlT = Aws::String>
485 void SetPreSignedUrl(PreSignedUrlT&& value) {
486 m_preSignedUrlHasBeenSet = true;
487 m_preSignedUrl = std::forward<PreSignedUrlT>(value);
488 }
489 template <typename PreSignedUrlT = Aws::String>
490 CreateDBClusterRequest& WithPreSignedUrl(PreSignedUrlT&& value) {
491 SetPreSignedUrl(std::forward<PreSignedUrlT>(value));
492 return *this;
493 }
495
497
502 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
503 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
504 inline void SetEnableIAMDatabaseAuthentication(bool value) {
505 m_enableIAMDatabaseAuthenticationHasBeenSet = true;
506 m_enableIAMDatabaseAuthentication = value;
507 }
510 return *this;
511 }
513
515
522 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const { return m_enableCloudwatchLogsExports; }
523 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; }
524 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
525 void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
526 m_enableCloudwatchLogsExportsHasBeenSet = true;
527 m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value);
528 }
529 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
530 CreateDBClusterRequest& WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
531 SetEnableCloudwatchLogsExports(std::forward<EnableCloudwatchLogsExportsT>(value));
532 return *this;
533 }
534 template <typename EnableCloudwatchLogsExportsT = Aws::String>
535 CreateDBClusterRequest& AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
536 m_enableCloudwatchLogsExportsHasBeenSet = true;
537 m_enableCloudwatchLogsExports.emplace_back(std::forward<EnableCloudwatchLogsExportsT>(value));
538 return *this;
539 }
541
543
548 inline bool GetDeletionProtection() const { return m_deletionProtection; }
549 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
550 inline void SetDeletionProtection(bool value) {
551 m_deletionProtectionHasBeenSet = true;
552 m_deletionProtection = value;
553 }
556 return *this;
557 }
559
561
567 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
568 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
569 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
570 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
571 m_serverlessV2ScalingConfigurationHasBeenSet = true;
572 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
573 }
574 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
575 CreateDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
576 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
577 return *this;
578 }
580
582
586 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
587 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
588 template <typename GlobalClusterIdentifierT = Aws::String>
589 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
590 m_globalClusterIdentifierHasBeenSet = true;
591 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
592 }
593 template <typename GlobalClusterIdentifierT = Aws::String>
594 CreateDBClusterRequest& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
595 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
596 return *this;
597 }
599
601
613 inline const Aws::String& GetStorageType() const { return m_storageType; }
614 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
615 template <typename StorageTypeT = Aws::String>
616 void SetStorageType(StorageTypeT&& value) {
617 m_storageTypeHasBeenSet = true;
618 m_storageType = std::forward<StorageTypeT>(value);
619 }
620 template <typename StorageTypeT = Aws::String>
622 SetStorageType(std::forward<StorageTypeT>(value));
623 return *this;
624 }
626
628
631 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
632 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
633 template <typename SourceRegionT = Aws::String>
634 void SetSourceRegion(SourceRegionT&& value) {
635 m_sourceRegionHasBeenSet = true;
636 m_sourceRegion = std::forward<SourceRegionT>(value);
637 }
638 template <typename SourceRegionT = Aws::String>
639 CreateDBClusterRequest& WithSourceRegion(SourceRegionT&& value) {
640 SetSourceRegion(std::forward<SourceRegionT>(value));
641 return *this;
642 }
644 private:
645 Aws::Vector<Aws::String> m_availabilityZones;
646 bool m_availabilityZonesHasBeenSet = false;
647
648 int m_backupRetentionPeriod{0};
649 bool m_backupRetentionPeriodHasBeenSet = false;
650
651 Aws::String m_characterSetName;
652 bool m_characterSetNameHasBeenSet = false;
653
654 bool m_copyTagsToSnapshot{false};
655 bool m_copyTagsToSnapshotHasBeenSet = false;
656
657 Aws::String m_databaseName;
658 bool m_databaseNameHasBeenSet = false;
659
660 Aws::String m_dBClusterIdentifier;
661 bool m_dBClusterIdentifierHasBeenSet = false;
662
663 Aws::String m_dBClusterParameterGroupName;
664 bool m_dBClusterParameterGroupNameHasBeenSet = false;
665
666 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
667 bool m_vpcSecurityGroupIdsHasBeenSet = false;
668
669 Aws::String m_dBSubnetGroupName;
670 bool m_dBSubnetGroupNameHasBeenSet = false;
671
672 Aws::String m_engine;
673 bool m_engineHasBeenSet = false;
674
675 Aws::String m_engineVersion;
676 bool m_engineVersionHasBeenSet = false;
677
678 int m_port{0};
679 bool m_portHasBeenSet = false;
680
681 Aws::String m_masterUsername;
682 bool m_masterUsernameHasBeenSet = false;
683
684 Aws::String m_masterUserPassword;
685 bool m_masterUserPasswordHasBeenSet = false;
686
687 Aws::String m_optionGroupName;
688 bool m_optionGroupNameHasBeenSet = false;
689
690 Aws::String m_preferredBackupWindow;
691 bool m_preferredBackupWindowHasBeenSet = false;
692
693 Aws::String m_preferredMaintenanceWindow;
694 bool m_preferredMaintenanceWindowHasBeenSet = false;
695
696 Aws::String m_replicationSourceIdentifier;
697 bool m_replicationSourceIdentifierHasBeenSet = false;
698
699 Aws::Vector<Tag> m_tags;
700 bool m_tagsHasBeenSet = false;
701
702 bool m_storageEncrypted{false};
703 bool m_storageEncryptedHasBeenSet = false;
704
705 Aws::String m_kmsKeyId;
706 bool m_kmsKeyIdHasBeenSet = false;
707
708 Aws::String m_preSignedUrl;
709 bool m_preSignedUrlHasBeenSet = false;
710
711 bool m_enableIAMDatabaseAuthentication{false};
712 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
713
714 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports;
715 bool m_enableCloudwatchLogsExportsHasBeenSet = false;
716
717 bool m_deletionProtection{false};
718 bool m_deletionProtectionHasBeenSet = false;
719
720 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
721 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
722
723 Aws::String m_globalClusterIdentifier;
724 bool m_globalClusterIdentifierHasBeenSet = false;
725
726 Aws::String m_storageType;
727 bool m_storageTypeHasBeenSet = false;
728
729 Aws::String m_sourceRegion;
730 bool m_sourceRegionHasBeenSet = false;
731};
732
733} // namespace Model
734} // namespace Neptune
735} // namespace Aws
const Aws::String & GetPreferredMaintenanceWindow() const
CreateDBClusterRequest & WithEngine(EngineT &&value)
const Aws::String & GetReplicationSourceIdentifier() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
AWS_NEPTUNE_API Aws::String SerializePayload() const override
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & AddAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithStorageType(StorageTypeT &&value)
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
CreateDBClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithCopyTagsToSnapshot(bool value)
void SetCharacterSetName(CharacterSetNameT &&value)
AWS_NEPTUNE_API CreateDBClusterRequest()=default
CreateDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetDBClusterParameterGroupName() const
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
CreateDBClusterRequest & WithTags(TagsT &&value)
void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
CreateDBClusterRequest & WithMasterUsername(MasterUsernameT &&value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateDBClusterRequest & WithEngineVersion(EngineVersionT &&value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
CreateDBClusterRequest & AddTags(TagsT &&value)
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateDBClusterRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
CreateDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
CreateDBClusterRequest & WithOptionGroupName(OptionGroupNameT &&value)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
CreateDBClusterRequest & WithCharacterSetName(CharacterSetNameT &&value)
CreateDBClusterRequest & WithDeletionProtection(bool value)
CreateDBClusterRequest & WithSourceRegion(SourceRegionT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetMasterUserPassword(MasterUserPasswordT &&value)
CreateDBClusterRequest & WithAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithStorageEncrypted(bool value)
CreateDBClusterRequest & WithPreSignedUrl(PreSignedUrlT &&value)
CreateDBClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & WithDatabaseName(DatabaseNameT &&value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateDBClusterRequest & WithPort(int value)
CreateDBClusterRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector