AWS SDK for C++

AWS SDK for C++ Version 1.11.834

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
120 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
121 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
122 template <typename DatabaseNameT = Aws::String>
123 void SetDatabaseName(DatabaseNameT&& value) {
124 m_databaseNameHasBeenSet = true;
125 m_databaseName = std::forward<DatabaseNameT>(value);
126 }
127 template <typename DatabaseNameT = Aws::String>
128 CreateDBClusterRequest& WithDatabaseName(DatabaseNameT&& value) {
129 SetDatabaseName(std::forward<DatabaseNameT>(value));
130 return *this;
131 }
133
135
142 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
143 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
144 template <typename DBClusterIdentifierT = Aws::String>
145 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
146 m_dBClusterIdentifierHasBeenSet = true;
147 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
148 }
149 template <typename DBClusterIdentifierT = Aws::String>
150 CreateDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
151 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
152 return *this;
153 }
155
157
163 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
164 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
165 template <typename DBClusterParameterGroupNameT = Aws::String>
166 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
167 m_dBClusterParameterGroupNameHasBeenSet = true;
168 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
169 }
170 template <typename DBClusterParameterGroupNameT = Aws::String>
171 CreateDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
172 SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
182 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
183 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
184 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
185 m_vpcSecurityGroupIdsHasBeenSet = true;
186 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
187 }
188 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
189 CreateDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
190 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
191 return *this;
192 }
193 template <typename VpcSecurityGroupIdsT = Aws::String>
194 CreateDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
195 m_vpcSecurityGroupIdsHasBeenSet = true;
196 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
197 return *this;
198 }
200
202
207 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
208 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
209 template <typename DBSubnetGroupNameT = Aws::String>
210 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
211 m_dBSubnetGroupNameHasBeenSet = true;
212 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
213 }
214 template <typename DBSubnetGroupNameT = Aws::String>
215 CreateDBClusterRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
216 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
217 return *this;
218 }
220
222
226 inline const Aws::String& GetEngine() const { return m_engine; }
227 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
228 template <typename EngineT = Aws::String>
229 void SetEngine(EngineT&& value) {
230 m_engineHasBeenSet = true;
231 m_engine = std::forward<EngineT>(value);
232 }
233 template <typename EngineT = Aws::String>
235 SetEngine(std::forward<EngineT>(value));
236 return *this;
237 }
239
241
245 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
246 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
247 template <typename EngineVersionT = Aws::String>
248 void SetEngineVersion(EngineVersionT&& value) {
249 m_engineVersionHasBeenSet = true;
250 m_engineVersion = std::forward<EngineVersionT>(value);
251 }
252 template <typename EngineVersionT = Aws::String>
253 CreateDBClusterRequest& WithEngineVersion(EngineVersionT&& value) {
254 SetEngineVersion(std::forward<EngineVersionT>(value));
255 return *this;
256 }
258
260
264 inline int GetPort() const { return m_port; }
265 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
266 inline void SetPort(int value) {
267 m_portHasBeenSet = true;
268 m_port = value;
269 }
270 inline CreateDBClusterRequest& WithPort(int value) {
271 SetPort(value);
272 return *this;
273 }
275
277
280 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
281 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
282 template <typename MasterUsernameT = Aws::String>
283 void SetMasterUsername(MasterUsernameT&& value) {
284 m_masterUsernameHasBeenSet = true;
285 m_masterUsername = std::forward<MasterUsernameT>(value);
286 }
287 template <typename MasterUsernameT = Aws::String>
288 CreateDBClusterRequest& WithMasterUsername(MasterUsernameT&& value) {
289 SetMasterUsername(std::forward<MasterUsernameT>(value));
290 return *this;
291 }
293
295
298 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
299 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
300 template <typename MasterUserPasswordT = Aws::String>
301 void SetMasterUserPassword(MasterUserPasswordT&& value) {
302 m_masterUserPasswordHasBeenSet = true;
303 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
304 }
305 template <typename MasterUserPasswordT = Aws::String>
306 CreateDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
307 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
308 return *this;
309 }
311
313
316 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
317 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
318 template <typename OptionGroupNameT = Aws::String>
319 void SetOptionGroupName(OptionGroupNameT&& value) {
320 m_optionGroupNameHasBeenSet = true;
321 m_optionGroupName = std::forward<OptionGroupNameT>(value);
322 }
323 template <typename OptionGroupNameT = Aws::String>
324 CreateDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) {
325 SetOptionGroupName(std::forward<OptionGroupNameT>(value));
326 return *this;
327 }
329
331
343 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
344 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
345 template <typename PreferredBackupWindowT = Aws::String>
346 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
347 m_preferredBackupWindowHasBeenSet = true;
348 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
349 }
350 template <typename PreferredBackupWindowT = Aws::String>
351 CreateDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
352 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
353 return *this;
354 }
356
358
369 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
370 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
371 template <typename PreferredMaintenanceWindowT = Aws::String>
372 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
373 m_preferredMaintenanceWindowHasBeenSet = true;
374 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
375 }
376 template <typename PreferredMaintenanceWindowT = Aws::String>
377 CreateDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
378 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
379 return *this;
380 }
382
384
388 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
389 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
390 template <typename ReplicationSourceIdentifierT = Aws::String>
391 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
392 m_replicationSourceIdentifierHasBeenSet = true;
393 m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value);
394 }
395 template <typename ReplicationSourceIdentifierT = Aws::String>
396 CreateDBClusterRequest& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
397 SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value));
398 return *this;
399 }
401
403
406 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
407 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
408 template <typename TagsT = Aws::Vector<Tag>>
409 void SetTags(TagsT&& value) {
410 m_tagsHasBeenSet = true;
411 m_tags = std::forward<TagsT>(value);
412 }
413 template <typename TagsT = Aws::Vector<Tag>>
415 SetTags(std::forward<TagsT>(value));
416 return *this;
417 }
418 template <typename TagsT = Tag>
420 m_tagsHasBeenSet = true;
421 m_tags.emplace_back(std::forward<TagsT>(value));
422 return *this;
423 }
425
427
430 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
431 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
432 inline void SetStorageEncrypted(bool value) {
433 m_storageEncryptedHasBeenSet = true;
434 m_storageEncrypted = value;
435 }
437 SetStorageEncrypted(value);
438 return *this;
439 }
441
443
462 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
463 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
464 template <typename KmsKeyIdT = Aws::String>
465 void SetKmsKeyId(KmsKeyIdT&& value) {
466 m_kmsKeyIdHasBeenSet = true;
467 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
468 }
469 template <typename KmsKeyIdT = Aws::String>
471 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
472 return *this;
473 }
475
477
480 inline const Aws::String& GetPreSignedUrl() const { return m_preSignedUrl; }
481 inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
482 template <typename PreSignedUrlT = Aws::String>
483 void SetPreSignedUrl(PreSignedUrlT&& value) {
484 m_preSignedUrlHasBeenSet = true;
485 m_preSignedUrl = std::forward<PreSignedUrlT>(value);
486 }
487 template <typename PreSignedUrlT = Aws::String>
488 CreateDBClusterRequest& WithPreSignedUrl(PreSignedUrlT&& value) {
489 SetPreSignedUrl(std::forward<PreSignedUrlT>(value));
490 return *this;
491 }
493
495
500 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
501 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
502 inline void SetEnableIAMDatabaseAuthentication(bool value) {
503 m_enableIAMDatabaseAuthenticationHasBeenSet = true;
504 m_enableIAMDatabaseAuthentication = value;
505 }
508 return *this;
509 }
511
513
520 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const { return m_enableCloudwatchLogsExports; }
521 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; }
522 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
523 void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
524 m_enableCloudwatchLogsExportsHasBeenSet = true;
525 m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value);
526 }
527 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
528 CreateDBClusterRequest& WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
529 SetEnableCloudwatchLogsExports(std::forward<EnableCloudwatchLogsExportsT>(value));
530 return *this;
531 }
532 template <typename EnableCloudwatchLogsExportsT = Aws::String>
533 CreateDBClusterRequest& AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
534 m_enableCloudwatchLogsExportsHasBeenSet = true;
535 m_enableCloudwatchLogsExports.emplace_back(std::forward<EnableCloudwatchLogsExportsT>(value));
536 return *this;
537 }
539
541
546 inline bool GetDeletionProtection() const { return m_deletionProtection; }
547 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
548 inline void SetDeletionProtection(bool value) {
549 m_deletionProtectionHasBeenSet = true;
550 m_deletionProtection = value;
551 }
554 return *this;
555 }
557
559
565 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
566 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
567 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
568 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
569 m_serverlessV2ScalingConfigurationHasBeenSet = true;
570 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
571 }
572 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
573 CreateDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
574 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
575 return *this;
576 }
578
580
584 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
585 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
586 template <typename GlobalClusterIdentifierT = Aws::String>
587 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
588 m_globalClusterIdentifierHasBeenSet = true;
589 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
590 }
591 template <typename GlobalClusterIdentifierT = Aws::String>
592 CreateDBClusterRequest& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
593 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
594 return *this;
595 }
597
599
611 inline const Aws::String& GetStorageType() const { return m_storageType; }
612 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
613 template <typename StorageTypeT = Aws::String>
614 void SetStorageType(StorageTypeT&& value) {
615 m_storageTypeHasBeenSet = true;
616 m_storageType = std::forward<StorageTypeT>(value);
617 }
618 template <typename StorageTypeT = Aws::String>
620 SetStorageType(std::forward<StorageTypeT>(value));
621 return *this;
622 }
624
626
633 inline const Aws::String& GetNetworkType() const { return m_networkType; }
634 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
635 template <typename NetworkTypeT = Aws::String>
636 void SetNetworkType(NetworkTypeT&& value) {
637 m_networkTypeHasBeenSet = true;
638 m_networkType = std::forward<NetworkTypeT>(value);
639 }
640 template <typename NetworkTypeT = Aws::String>
642 SetNetworkType(std::forward<NetworkTypeT>(value));
643 return *this;
644 }
646
648
651 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
652 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
653 template <typename SourceRegionT = Aws::String>
654 void SetSourceRegion(SourceRegionT&& value) {
655 m_sourceRegionHasBeenSet = true;
656 m_sourceRegion = std::forward<SourceRegionT>(value);
657 }
658 template <typename SourceRegionT = Aws::String>
659 CreateDBClusterRequest& WithSourceRegion(SourceRegionT&& value) {
660 SetSourceRegion(std::forward<SourceRegionT>(value));
661 return *this;
662 }
664 private:
665 Aws::Vector<Aws::String> m_availabilityZones;
666
667 int m_backupRetentionPeriod{0};
668
669 Aws::String m_characterSetName;
670
671 bool m_copyTagsToSnapshot{false};
672
673 Aws::String m_databaseName;
674
675 Aws::String m_dBClusterIdentifier;
676
677 Aws::String m_dBClusterParameterGroupName;
678
679 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
680
681 Aws::String m_dBSubnetGroupName;
682
683 Aws::String m_engine;
684
685 Aws::String m_engineVersion;
686
687 int m_port{0};
688
689 Aws::String m_masterUsername;
690
691 Aws::String m_masterUserPassword;
692
693 Aws::String m_optionGroupName;
694
695 Aws::String m_preferredBackupWindow;
696
697 Aws::String m_preferredMaintenanceWindow;
698
699 Aws::String m_replicationSourceIdentifier;
700
701 Aws::Vector<Tag> m_tags;
702
703 bool m_storageEncrypted{false};
704
705 Aws::String m_kmsKeyId;
706
707 Aws::String m_preSignedUrl;
708
709 bool m_enableIAMDatabaseAuthentication{false};
710
711 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports;
712
713 bool m_deletionProtection{false};
714
715 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
716
717 Aws::String m_globalClusterIdentifier;
718
719 Aws::String m_storageType;
720
721 Aws::String m_networkType;
722
723 Aws::String m_sourceRegion;
724 bool m_availabilityZonesHasBeenSet = false;
725 bool m_backupRetentionPeriodHasBeenSet = false;
726 bool m_characterSetNameHasBeenSet = false;
727 bool m_copyTagsToSnapshotHasBeenSet = false;
728 bool m_databaseNameHasBeenSet = false;
729 bool m_dBClusterIdentifierHasBeenSet = false;
730 bool m_dBClusterParameterGroupNameHasBeenSet = false;
731 bool m_vpcSecurityGroupIdsHasBeenSet = false;
732 bool m_dBSubnetGroupNameHasBeenSet = false;
733 bool m_engineHasBeenSet = false;
734 bool m_engineVersionHasBeenSet = false;
735 bool m_portHasBeenSet = false;
736 bool m_masterUsernameHasBeenSet = false;
737 bool m_masterUserPasswordHasBeenSet = false;
738 bool m_optionGroupNameHasBeenSet = false;
739 bool m_preferredBackupWindowHasBeenSet = false;
740 bool m_preferredMaintenanceWindowHasBeenSet = false;
741 bool m_replicationSourceIdentifierHasBeenSet = false;
742 bool m_tagsHasBeenSet = false;
743 bool m_storageEncryptedHasBeenSet = false;
744 bool m_kmsKeyIdHasBeenSet = false;
745 bool m_preSignedUrlHasBeenSet = false;
746 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
747 bool m_enableCloudwatchLogsExportsHasBeenSet = false;
748 bool m_deletionProtectionHasBeenSet = false;
749 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
750 bool m_globalClusterIdentifierHasBeenSet = false;
751 bool m_storageTypeHasBeenSet = false;
752 bool m_networkTypeHasBeenSet = false;
753 bool m_sourceRegionHasBeenSet = false;
754};
755
756} // namespace Model
757} // namespace Neptune
758} // namespace Aws
const Aws::String & GetPreferredMaintenanceWindow() const
CreateDBClusterRequest & WithEngine(EngineT &&value)
const Aws::String & GetReplicationSourceIdentifier() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
CreateDBClusterRequest & WithNetworkType(NetworkTypeT &&value)
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