AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/ClusterScalabilityType.h>
12#include <aws/rds/model/DatabaseInsightsMode.h>
13#include <aws/rds/model/MasterUserAuthenticationType.h>
14#include <aws/rds/model/RdsCustomClusterConfiguration.h>
15#include <aws/rds/model/ScalingConfiguration.h>
16#include <aws/rds/model/ServerlessV2ScalingConfiguration.h>
17#include <aws/rds/model/Tag.h>
18#include <aws/rds/model/TagSpecification.h>
19
20#include <utility>
21
22namespace Aws {
23namespace RDS {
24namespace Model {
25
32 public:
33 AWS_RDS_API CreateDBClusterRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateDBCluster"; }
40
41 AWS_RDS_API Aws::String SerializePayload() const override;
42
43 protected:
44 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
45
46 public:
48
66 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
67 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
68 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
69 void SetAvailabilityZones(AvailabilityZonesT&& value) {
70 m_availabilityZonesHasBeenSet = true;
71 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
72 }
73 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
74 CreateDBClusterRequest& WithAvailabilityZones(AvailabilityZonesT&& value) {
75 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
76 return *this;
77 }
78 template <typename AvailabilityZonesT = Aws::String>
79 CreateDBClusterRequest& AddAvailabilityZones(AvailabilityZonesT&& value) {
80 m_availabilityZonesHasBeenSet = true;
81 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
82 return *this;
83 }
85
87
93 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
94 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
95 inline void SetBackupRetentionPeriod(int value) {
96 m_backupRetentionPeriodHasBeenSet = true;
97 m_backupRetentionPeriod = value;
98 }
101 return *this;
102 }
104
106
110 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
111 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
112 template <typename CharacterSetNameT = Aws::String>
113 void SetCharacterSetName(CharacterSetNameT&& value) {
114 m_characterSetNameHasBeenSet = true;
115 m_characterSetName = std::forward<CharacterSetNameT>(value);
116 }
117 template <typename CharacterSetNameT = Aws::String>
118 CreateDBClusterRequest& WithCharacterSetName(CharacterSetNameT&& value) {
119 SetCharacterSetName(std::forward<CharacterSetNameT>(value));
120 return *this;
121 }
123
125
131 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
132 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
133 template <typename DatabaseNameT = Aws::String>
134 void SetDatabaseName(DatabaseNameT&& value) {
135 m_databaseNameHasBeenSet = true;
136 m_databaseName = std::forward<DatabaseNameT>(value);
137 }
138 template <typename DatabaseNameT = Aws::String>
139 CreateDBClusterRequest& WithDatabaseName(DatabaseNameT&& value) {
140 SetDatabaseName(std::forward<DatabaseNameT>(value));
141 return *this;
142 }
144
146
155 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
156 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
157 template <typename DBClusterIdentifierT = Aws::String>
158 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
159 m_dBClusterIdentifierHasBeenSet = true;
160 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
161 }
162 template <typename DBClusterIdentifierT = Aws::String>
163 CreateDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
164 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
165 return *this;
166 }
168
170
178 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
179 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
180 template <typename DBClusterParameterGroupNameT = Aws::String>
181 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
182 m_dBClusterParameterGroupNameHasBeenSet = true;
183 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
184 }
185 template <typename DBClusterParameterGroupNameT = Aws::String>
186 CreateDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
187 SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
198 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
199 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
200 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
201 m_vpcSecurityGroupIdsHasBeenSet = true;
202 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
203 }
204 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
205 CreateDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
206 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
207 return *this;
208 }
209 template <typename VpcSecurityGroupIdsT = Aws::String>
210 CreateDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
211 m_vpcSecurityGroupIdsHasBeenSet = true;
212 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
213 return *this;
214 }
216
218
225 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
226 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
227 template <typename DBSubnetGroupNameT = Aws::String>
228 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
229 m_dBSubnetGroupNameHasBeenSet = true;
230 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
231 }
232 template <typename DBSubnetGroupNameT = Aws::String>
233 CreateDBClusterRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
234 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
235 return *this;
236 }
238
240
250 inline const Aws::String& GetEngine() const { return m_engine; }
251 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
252 template <typename EngineT = Aws::String>
253 void SetEngine(EngineT&& value) {
254 m_engineHasBeenSet = true;
255 m_engine = std::forward<EngineT>(value);
256 }
257 template <typename EngineT = Aws::String>
259 SetEngine(std::forward<EngineT>(value));
260 return *this;
261 }
263
265
297 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
298 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
299 template <typename EngineVersionT = Aws::String>
300 void SetEngineVersion(EngineVersionT&& value) {
301 m_engineVersionHasBeenSet = true;
302 m_engineVersion = std::forward<EngineVersionT>(value);
303 }
304 template <typename EngineVersionT = Aws::String>
305 CreateDBClusterRequest& WithEngineVersion(EngineVersionT&& value) {
306 SetEngineVersion(std::forward<EngineVersionT>(value));
307 return *this;
308 }
310
312
319 inline int GetPort() const { return m_port; }
320 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
321 inline void SetPort(int value) {
322 m_portHasBeenSet = true;
323 m_port = value;
324 }
325 inline CreateDBClusterRequest& WithPort(int value) {
326 SetPort(value);
327 return *this;
328 }
330
332
339 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
340 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
341 template <typename MasterUsernameT = Aws::String>
342 void SetMasterUsername(MasterUsernameT&& value) {
343 m_masterUsernameHasBeenSet = true;
344 m_masterUsername = std::forward<MasterUsernameT>(value);
345 }
346 template <typename MasterUsernameT = Aws::String>
347 CreateDBClusterRequest& WithMasterUsername(MasterUsernameT&& value) {
348 SetMasterUsername(std::forward<MasterUsernameT>(value));
349 return *this;
350 }
352
354
361 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
362 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
363 template <typename MasterUserPasswordT = Aws::String>
364 void SetMasterUserPassword(MasterUserPasswordT&& value) {
365 m_masterUserPasswordHasBeenSet = true;
366 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
367 }
368 template <typename MasterUserPasswordT = Aws::String>
369 CreateDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
370 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
371 return *this;
372 }
374
376
380 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
381 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
382 template <typename OptionGroupNameT = Aws::String>
383 void SetOptionGroupName(OptionGroupNameT&& value) {
384 m_optionGroupNameHasBeenSet = true;
385 m_optionGroupName = std::forward<OptionGroupNameT>(value);
386 }
387 template <typename OptionGroupNameT = Aws::String>
388 CreateDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) {
389 SetOptionGroupName(std::forward<OptionGroupNameT>(value));
390 return *this;
391 }
393
395
409 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
410 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
411 template <typename PreferredBackupWindowT = Aws::String>
412 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
413 m_preferredBackupWindowHasBeenSet = true;
414 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
415 }
416 template <typename PreferredBackupWindowT = Aws::String>
417 CreateDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
418 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
419 return *this;
420 }
422
424
438 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
439 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
440 template <typename PreferredMaintenanceWindowT = Aws::String>
441 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
442 m_preferredMaintenanceWindowHasBeenSet = true;
443 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
444 }
445 template <typename PreferredMaintenanceWindowT = Aws::String>
446 CreateDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
447 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
448 return *this;
449 }
451
453
458 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
459 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
460 template <typename ReplicationSourceIdentifierT = Aws::String>
461 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
462 m_replicationSourceIdentifierHasBeenSet = true;
463 m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value);
464 }
465 template <typename ReplicationSourceIdentifierT = Aws::String>
466 CreateDBClusterRequest& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
467 SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value));
468 return *this;
469 }
471
473
477 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
478 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
479 template <typename TagsT = Aws::Vector<Tag>>
480 void SetTags(TagsT&& value) {
481 m_tagsHasBeenSet = true;
482 m_tags = std::forward<TagsT>(value);
483 }
484 template <typename TagsT = Aws::Vector<Tag>>
486 SetTags(std::forward<TagsT>(value));
487 return *this;
488 }
489 template <typename TagsT = Tag>
491 m_tagsHasBeenSet = true;
492 m_tags.emplace_back(std::forward<TagsT>(value));
493 return *this;
494 }
496
498
502 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
503 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
504 inline void SetStorageEncrypted(bool value) {
505 m_storageEncryptedHasBeenSet = true;
506 m_storageEncrypted = value;
507 }
509 SetStorageEncrypted(value);
510 return *this;
511 }
513
515
535 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
536 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
537 template <typename KmsKeyIdT = Aws::String>
538 void SetKmsKeyId(KmsKeyIdT&& value) {
539 m_kmsKeyIdHasBeenSet = true;
540 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
541 }
542 template <typename KmsKeyIdT = Aws::String>
544 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
545 return *this;
546 }
548
550
588 inline const Aws::String& GetPreSignedUrl() const { return m_preSignedUrl; }
589 inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
590 template <typename PreSignedUrlT = Aws::String>
591 void SetPreSignedUrl(PreSignedUrlT&& value) {
592 m_preSignedUrlHasBeenSet = true;
593 m_preSignedUrl = std::forward<PreSignedUrlT>(value);
594 }
595 template <typename PreSignedUrlT = Aws::String>
596 CreateDBClusterRequest& WithPreSignedUrl(PreSignedUrlT&& value) {
597 SetPreSignedUrl(std::forward<PreSignedUrlT>(value));
598 return *this;
599 }
601
603
614 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
615 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
616 inline void SetEnableIAMDatabaseAuthentication(bool value) {
617 m_enableIAMDatabaseAuthenticationHasBeenSet = true;
618 m_enableIAMDatabaseAuthentication = value;
619 }
622 return *this;
623 }
625
627
634 inline long long GetBacktrackWindow() const { return m_backtrackWindow; }
635 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
636 inline void SetBacktrackWindow(long long value) {
637 m_backtrackWindowHasBeenSet = true;
638 m_backtrackWindow = value;
639 }
641 SetBacktrackWindow(value);
642 return *this;
643 }
645
647
666 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const { return m_enableCloudwatchLogsExports; }
667 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; }
668 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
669 void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
670 m_enableCloudwatchLogsExportsHasBeenSet = true;
671 m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value);
672 }
673 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
674 CreateDBClusterRequest& WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
675 SetEnableCloudwatchLogsExports(std::forward<EnableCloudwatchLogsExportsT>(value));
676 return *this;
677 }
678 template <typename EnableCloudwatchLogsExportsT = Aws::String>
679 CreateDBClusterRequest& AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
680 m_enableCloudwatchLogsExportsHasBeenSet = true;
681 m_enableCloudwatchLogsExports.emplace_back(std::forward<EnableCloudwatchLogsExportsT>(value));
682 return *this;
683 }
685
687
700 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
701 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
702 template <typename EngineModeT = Aws::String>
703 void SetEngineMode(EngineModeT&& value) {
704 m_engineModeHasBeenSet = true;
705 m_engineMode = std::forward<EngineModeT>(value);
706 }
707 template <typename EngineModeT = Aws::String>
709 SetEngineMode(std::forward<EngineModeT>(value));
710 return *this;
711 }
713
715
720 inline const ScalingConfiguration& GetScalingConfiguration() const { return m_scalingConfiguration; }
721 inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; }
722 template <typename ScalingConfigurationT = ScalingConfiguration>
723 void SetScalingConfiguration(ScalingConfigurationT&& value) {
724 m_scalingConfigurationHasBeenSet = true;
725 m_scalingConfiguration = std::forward<ScalingConfigurationT>(value);
726 }
727 template <typename ScalingConfigurationT = ScalingConfiguration>
728 CreateDBClusterRequest& WithScalingConfiguration(ScalingConfigurationT&& value) {
729 SetScalingConfiguration(std::forward<ScalingConfigurationT>(value));
730 return *this;
731 }
733
735
738 inline const RdsCustomClusterConfiguration& GetRdsCustomClusterConfiguration() const { return m_rdsCustomClusterConfiguration; }
739 inline bool RdsCustomClusterConfigurationHasBeenSet() const { return m_rdsCustomClusterConfigurationHasBeenSet; }
740 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
741 void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
742 m_rdsCustomClusterConfigurationHasBeenSet = true;
743 m_rdsCustomClusterConfiguration = std::forward<RdsCustomClusterConfigurationT>(value);
744 }
745 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
746 CreateDBClusterRequest& WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
747 SetRdsCustomClusterConfiguration(std::forward<RdsCustomClusterConfigurationT>(value));
748 return *this;
749 }
751
753
764 inline const Aws::String& GetDBClusterInstanceClass() const { return m_dBClusterInstanceClass; }
765 inline bool DBClusterInstanceClassHasBeenSet() const { return m_dBClusterInstanceClassHasBeenSet; }
766 template <typename DBClusterInstanceClassT = Aws::String>
767 void SetDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
768 m_dBClusterInstanceClassHasBeenSet = true;
769 m_dBClusterInstanceClass = std::forward<DBClusterInstanceClassT>(value);
770 }
771 template <typename DBClusterInstanceClassT = Aws::String>
772 CreateDBClusterRequest& WithDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
773 SetDBClusterInstanceClass(std::forward<DBClusterInstanceClassT>(value));
774 return *this;
775 }
777
779
784 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
785 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
786 inline void SetAllocatedStorage(int value) {
787 m_allocatedStorageHasBeenSet = true;
788 m_allocatedStorage = value;
789 }
791 SetAllocatedStorage(value);
792 return *this;
793 }
795
797
816 inline const Aws::String& GetStorageType() const { return m_storageType; }
817 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
818 template <typename StorageTypeT = Aws::String>
819 void SetStorageType(StorageTypeT&& value) {
820 m_storageTypeHasBeenSet = true;
821 m_storageType = std::forward<StorageTypeT>(value);
822 }
823 template <typename StorageTypeT = Aws::String>
825 SetStorageType(std::forward<StorageTypeT>(value));
826 return *this;
827 }
829
831
842 inline int GetIops() const { return m_iops; }
843 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
844 inline void SetIops(int value) {
845 m_iopsHasBeenSet = true;
846 m_iops = value;
847 }
848 inline CreateDBClusterRequest& WithIops(int value) {
849 SetIops(value);
850 return *this;
851 }
853
855
876 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
877 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
878 inline void SetPubliclyAccessible(bool value) {
879 m_publiclyAccessibleHasBeenSet = true;
880 m_publiclyAccessible = value;
881 }
884 return *this;
885 }
887
889
898 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
899 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
900 inline void SetAutoMinorVersionUpgrade(bool value) {
901 m_autoMinorVersionUpgradeHasBeenSet = true;
902 m_autoMinorVersionUpgrade = value;
903 }
906 return *this;
907 }
909
911
917 inline bool GetDeletionProtection() const { return m_deletionProtection; }
918 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
919 inline void SetDeletionProtection(bool value) {
920 m_deletionProtectionHasBeenSet = true;
921 m_deletionProtection = value;
922 }
925 return *this;
926 }
928
930
935 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
936 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
937 template <typename GlobalClusterIdentifierT = Aws::String>
938 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
939 m_globalClusterIdentifierHasBeenSet = true;
940 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
941 }
942 template <typename GlobalClusterIdentifierT = Aws::String>
943 CreateDBClusterRequest& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
944 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
945 return *this;
946 }
948
950
960 inline bool GetEnableHttpEndpoint() const { return m_enableHttpEndpoint; }
961 inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; }
962 inline void SetEnableHttpEndpoint(bool value) {
963 m_enableHttpEndpointHasBeenSet = true;
964 m_enableHttpEndpoint = value;
965 }
968 return *this;
969 }
971
973
978 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
979 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
980 inline void SetCopyTagsToSnapshot(bool value) {
981 m_copyTagsToSnapshotHasBeenSet = true;
982 m_copyTagsToSnapshot = value;
983 }
986 return *this;
987 }
989
991
1000 inline const Aws::String& GetDomain() const { return m_domain; }
1001 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
1002 template <typename DomainT = Aws::String>
1003 void SetDomain(DomainT&& value) {
1004 m_domainHasBeenSet = true;
1005 m_domain = std::forward<DomainT>(value);
1006 }
1007 template <typename DomainT = Aws::String>
1009 SetDomain(std::forward<DomainT>(value));
1010 return *this;
1011 }
1013
1015
1019 inline const Aws::String& GetDomainIAMRoleName() const { return m_domainIAMRoleName; }
1020 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
1021 template <typename DomainIAMRoleNameT = Aws::String>
1022 void SetDomainIAMRoleName(DomainIAMRoleNameT&& value) {
1023 m_domainIAMRoleNameHasBeenSet = true;
1024 m_domainIAMRoleName = std::forward<DomainIAMRoleNameT>(value);
1025 }
1026 template <typename DomainIAMRoleNameT = Aws::String>
1027 CreateDBClusterRequest& WithDomainIAMRoleName(DomainIAMRoleNameT&& value) {
1028 SetDomainIAMRoleName(std::forward<DomainIAMRoleNameT>(value));
1029 return *this;
1030 }
1032
1034
1046 inline bool GetEnableGlobalWriteForwarding() const { return m_enableGlobalWriteForwarding; }
1047 inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; }
1048 inline void SetEnableGlobalWriteForwarding(bool value) {
1049 m_enableGlobalWriteForwardingHasBeenSet = true;
1050 m_enableGlobalWriteForwarding = value;
1051 }
1054 return *this;
1055 }
1057
1059
1069 inline const Aws::String& GetNetworkType() const { return m_networkType; }
1070 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
1071 template <typename NetworkTypeT = Aws::String>
1072 void SetNetworkType(NetworkTypeT&& value) {
1073 m_networkTypeHasBeenSet = true;
1074 m_networkType = std::forward<NetworkTypeT>(value);
1075 }
1076 template <typename NetworkTypeT = Aws::String>
1078 SetNetworkType(std::forward<NetworkTypeT>(value));
1079 return *this;
1080 }
1082
1084
1085 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
1086 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
1087 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
1088 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
1089 m_serverlessV2ScalingConfigurationHasBeenSet = true;
1090 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
1091 }
1092 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
1093 CreateDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
1094 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
1095 return *this;
1096 }
1098
1100
1109 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
1110 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
1111 inline void SetMonitoringInterval(int value) {
1112 m_monitoringIntervalHasBeenSet = true;
1113 m_monitoringInterval = value;
1114 }
1116 SetMonitoringInterval(value);
1117 return *this;
1118 }
1120
1122
1133 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
1134 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
1135 template <typename MonitoringRoleArnT = Aws::String>
1136 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) {
1137 m_monitoringRoleArnHasBeenSet = true;
1138 m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value);
1139 }
1140 template <typename MonitoringRoleArnT = Aws::String>
1141 CreateDBClusterRequest& WithMonitoringRoleArn(MonitoringRoleArnT&& value) {
1142 SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value));
1143 return *this;
1144 }
1146
1148
1155 inline DatabaseInsightsMode GetDatabaseInsightsMode() const { return m_databaseInsightsMode; }
1156 inline bool DatabaseInsightsModeHasBeenSet() const { return m_databaseInsightsModeHasBeenSet; }
1158 m_databaseInsightsModeHasBeenSet = true;
1159 m_databaseInsightsMode = value;
1160 }
1163 return *this;
1164 }
1166
1168
1175 inline bool GetEnablePerformanceInsights() const { return m_enablePerformanceInsights; }
1176 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
1177 inline void SetEnablePerformanceInsights(bool value) {
1178 m_enablePerformanceInsightsHasBeenSet = true;
1179 m_enablePerformanceInsights = value;
1180 }
1183 return *this;
1184 }
1186
1188
1198 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
1199 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
1200 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1201 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1202 m_performanceInsightsKMSKeyIdHasBeenSet = true;
1203 m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value);
1204 }
1205 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1206 CreateDBClusterRequest& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1207 SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value));
1208 return *this;
1209 }
1211
1213
1223 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
1224 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
1226 m_performanceInsightsRetentionPeriodHasBeenSet = true;
1227 m_performanceInsightsRetentionPeriod = value;
1228 }
1231 return *this;
1232 }
1234
1236
1242 inline bool GetEnableLimitlessDatabase() const { return m_enableLimitlessDatabase; }
1243 inline bool EnableLimitlessDatabaseHasBeenSet() const { return m_enableLimitlessDatabaseHasBeenSet; }
1244 inline void SetEnableLimitlessDatabase(bool value) {
1245 m_enableLimitlessDatabaseHasBeenSet = true;
1246 m_enableLimitlessDatabase = value;
1247 }
1250 return *this;
1251 }
1253
1255
1262 inline ClusterScalabilityType GetClusterScalabilityType() const { return m_clusterScalabilityType; }
1263 inline bool ClusterScalabilityTypeHasBeenSet() const { return m_clusterScalabilityTypeHasBeenSet; }
1265 m_clusterScalabilityTypeHasBeenSet = true;
1266 m_clusterScalabilityType = value;
1267 }
1270 return *this;
1271 }
1273
1275
1278 inline const Aws::String& GetDBSystemId() const { return m_dBSystemId; }
1279 inline bool DBSystemIdHasBeenSet() const { return m_dBSystemIdHasBeenSet; }
1280 template <typename DBSystemIdT = Aws::String>
1281 void SetDBSystemId(DBSystemIdT&& value) {
1282 m_dBSystemIdHasBeenSet = true;
1283 m_dBSystemId = std::forward<DBSystemIdT>(value);
1284 }
1285 template <typename DBSystemIdT = Aws::String>
1287 SetDBSystemId(std::forward<DBSystemIdT>(value));
1288 return *this;
1289 }
1291
1293
1306 inline bool GetManageMasterUserPassword() const { return m_manageMasterUserPassword; }
1307 inline bool ManageMasterUserPasswordHasBeenSet() const { return m_manageMasterUserPasswordHasBeenSet; }
1308 inline void SetManageMasterUserPassword(bool value) {
1309 m_manageMasterUserPasswordHasBeenSet = true;
1310 m_manageMasterUserPassword = value;
1311 }
1314 return *this;
1315 }
1317
1319
1324 inline bool GetEnableLocalWriteForwarding() const { return m_enableLocalWriteForwarding; }
1325 inline bool EnableLocalWriteForwardingHasBeenSet() const { return m_enableLocalWriteForwardingHasBeenSet; }
1326 inline void SetEnableLocalWriteForwarding(bool value) {
1327 m_enableLocalWriteForwardingHasBeenSet = true;
1328 m_enableLocalWriteForwarding = value;
1329 }
1332 return *this;
1333 }
1335
1337
1354 inline const Aws::String& GetMasterUserSecretKmsKeyId() const { return m_masterUserSecretKmsKeyId; }
1355 inline bool MasterUserSecretKmsKeyIdHasBeenSet() const { return m_masterUserSecretKmsKeyIdHasBeenSet; }
1356 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1357 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1358 m_masterUserSecretKmsKeyIdHasBeenSet = true;
1359 m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value);
1360 }
1361 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1362 CreateDBClusterRequest& WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1363 SetMasterUserSecretKmsKeyId(std::forward<MasterUserSecretKmsKeyIdT>(value));
1364 return *this;
1365 }
1367
1369
1376 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
1377 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
1378 template <typename CACertificateIdentifierT = Aws::String>
1379 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
1380 m_cACertificateIdentifierHasBeenSet = true;
1381 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
1382 }
1383 template <typename CACertificateIdentifierT = Aws::String>
1384 CreateDBClusterRequest& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
1385 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
1386 return *this;
1387 }
1389
1391
1413 inline const Aws::String& GetEngineLifecycleSupport() const { return m_engineLifecycleSupport; }
1414 inline bool EngineLifecycleSupportHasBeenSet() const { return m_engineLifecycleSupportHasBeenSet; }
1415 template <typename EngineLifecycleSupportT = Aws::String>
1416 void SetEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1417 m_engineLifecycleSupportHasBeenSet = true;
1418 m_engineLifecycleSupport = std::forward<EngineLifecycleSupportT>(value);
1419 }
1420 template <typename EngineLifecycleSupportT = Aws::String>
1421 CreateDBClusterRequest& WithEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1422 SetEngineLifecycleSupport(std::forward<EngineLifecycleSupportT>(value));
1423 return *this;
1424 }
1426
1428
1433 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const { return m_tagSpecifications; }
1434 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
1435 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
1436 void SetTagSpecifications(TagSpecificationsT&& value) {
1437 m_tagSpecificationsHasBeenSet = true;
1438 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
1439 }
1440 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
1441 CreateDBClusterRequest& WithTagSpecifications(TagSpecificationsT&& value) {
1442 SetTagSpecifications(std::forward<TagSpecificationsT>(value));
1443 return *this;
1444 }
1445 template <typename TagSpecificationsT = TagSpecification>
1446 CreateDBClusterRequest& AddTagSpecifications(TagSpecificationsT&& value) {
1447 m_tagSpecificationsHasBeenSet = true;
1448 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
1449 return *this;
1450 }
1452
1454
1465 inline MasterUserAuthenticationType GetMasterUserAuthenticationType() const { return m_masterUserAuthenticationType; }
1466 inline bool MasterUserAuthenticationTypeHasBeenSet() const { return m_masterUserAuthenticationTypeHasBeenSet; }
1468 m_masterUserAuthenticationTypeHasBeenSet = true;
1469 m_masterUserAuthenticationType = value;
1470 }
1473 return *this;
1474 }
1476
1478
1481 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
1482 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
1483 template <typename SourceRegionT = Aws::String>
1484 void SetSourceRegion(SourceRegionT&& value) {
1485 m_sourceRegionHasBeenSet = true;
1486 m_sourceRegion = std::forward<SourceRegionT>(value);
1487 }
1488 template <typename SourceRegionT = Aws::String>
1490 SetSourceRegion(std::forward<SourceRegionT>(value));
1491 return *this;
1492 }
1494 private:
1495 Aws::Vector<Aws::String> m_availabilityZones;
1496
1497 int m_backupRetentionPeriod{0};
1498
1499 Aws::String m_characterSetName;
1500
1501 Aws::String m_databaseName;
1502
1503 Aws::String m_dBClusterIdentifier;
1504
1505 Aws::String m_dBClusterParameterGroupName;
1506
1507 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
1508
1509 Aws::String m_dBSubnetGroupName;
1510
1511 Aws::String m_engine;
1512
1513 Aws::String m_engineVersion;
1514
1515 int m_port{0};
1516
1517 Aws::String m_masterUsername;
1518
1519 Aws::String m_masterUserPassword;
1520
1521 Aws::String m_optionGroupName;
1522
1523 Aws::String m_preferredBackupWindow;
1524
1525 Aws::String m_preferredMaintenanceWindow;
1526
1527 Aws::String m_replicationSourceIdentifier;
1528
1529 Aws::Vector<Tag> m_tags;
1530
1531 bool m_storageEncrypted{false};
1532
1533 Aws::String m_kmsKeyId;
1534
1535 Aws::String m_preSignedUrl;
1536
1537 bool m_enableIAMDatabaseAuthentication{false};
1538
1539 long long m_backtrackWindow{0};
1540
1541 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports;
1542
1543 Aws::String m_engineMode;
1544
1545 ScalingConfiguration m_scalingConfiguration;
1546
1547 RdsCustomClusterConfiguration m_rdsCustomClusterConfiguration;
1548
1549 Aws::String m_dBClusterInstanceClass;
1550
1551 int m_allocatedStorage{0};
1552
1553 Aws::String m_storageType;
1554
1555 int m_iops{0};
1556
1557 bool m_publiclyAccessible{false};
1558
1559 bool m_autoMinorVersionUpgrade{false};
1560
1561 bool m_deletionProtection{false};
1562
1563 Aws::String m_globalClusterIdentifier;
1564
1565 bool m_enableHttpEndpoint{false};
1566
1567 bool m_copyTagsToSnapshot{false};
1568
1569 Aws::String m_domain;
1570
1571 Aws::String m_domainIAMRoleName;
1572
1573 bool m_enableGlobalWriteForwarding{false};
1574
1575 Aws::String m_networkType;
1576
1577 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
1578
1579 int m_monitoringInterval{0};
1580
1581 Aws::String m_monitoringRoleArn;
1582
1584
1585 bool m_enablePerformanceInsights{false};
1586
1587 Aws::String m_performanceInsightsKMSKeyId;
1588
1589 int m_performanceInsightsRetentionPeriod{0};
1590
1591 bool m_enableLimitlessDatabase{false};
1592
1594
1595 Aws::String m_dBSystemId;
1596
1597 bool m_manageMasterUserPassword{false};
1598
1599 bool m_enableLocalWriteForwarding{false};
1600
1601 Aws::String m_masterUserSecretKmsKeyId;
1602
1603 Aws::String m_cACertificateIdentifier;
1604
1605 Aws::String m_engineLifecycleSupport;
1606
1607 Aws::Vector<TagSpecification> m_tagSpecifications;
1608
1610
1611 Aws::String m_sourceRegion;
1612 bool m_availabilityZonesHasBeenSet = false;
1613 bool m_backupRetentionPeriodHasBeenSet = false;
1614 bool m_characterSetNameHasBeenSet = false;
1615 bool m_databaseNameHasBeenSet = false;
1616 bool m_dBClusterIdentifierHasBeenSet = false;
1617 bool m_dBClusterParameterGroupNameHasBeenSet = false;
1618 bool m_vpcSecurityGroupIdsHasBeenSet = false;
1619 bool m_dBSubnetGroupNameHasBeenSet = false;
1620 bool m_engineHasBeenSet = false;
1621 bool m_engineVersionHasBeenSet = false;
1622 bool m_portHasBeenSet = false;
1623 bool m_masterUsernameHasBeenSet = false;
1624 bool m_masterUserPasswordHasBeenSet = false;
1625 bool m_optionGroupNameHasBeenSet = false;
1626 bool m_preferredBackupWindowHasBeenSet = false;
1627 bool m_preferredMaintenanceWindowHasBeenSet = false;
1628 bool m_replicationSourceIdentifierHasBeenSet = false;
1629 bool m_tagsHasBeenSet = false;
1630 bool m_storageEncryptedHasBeenSet = false;
1631 bool m_kmsKeyIdHasBeenSet = false;
1632 bool m_preSignedUrlHasBeenSet = false;
1633 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
1634 bool m_backtrackWindowHasBeenSet = false;
1635 bool m_enableCloudwatchLogsExportsHasBeenSet = false;
1636 bool m_engineModeHasBeenSet = false;
1637 bool m_scalingConfigurationHasBeenSet = false;
1638 bool m_rdsCustomClusterConfigurationHasBeenSet = false;
1639 bool m_dBClusterInstanceClassHasBeenSet = false;
1640 bool m_allocatedStorageHasBeenSet = false;
1641 bool m_storageTypeHasBeenSet = false;
1642 bool m_iopsHasBeenSet = false;
1643 bool m_publiclyAccessibleHasBeenSet = false;
1644 bool m_autoMinorVersionUpgradeHasBeenSet = false;
1645 bool m_deletionProtectionHasBeenSet = false;
1646 bool m_globalClusterIdentifierHasBeenSet = false;
1647 bool m_enableHttpEndpointHasBeenSet = false;
1648 bool m_copyTagsToSnapshotHasBeenSet = false;
1649 bool m_domainHasBeenSet = false;
1650 bool m_domainIAMRoleNameHasBeenSet = false;
1651 bool m_enableGlobalWriteForwardingHasBeenSet = false;
1652 bool m_networkTypeHasBeenSet = false;
1653 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
1654 bool m_monitoringIntervalHasBeenSet = false;
1655 bool m_monitoringRoleArnHasBeenSet = false;
1656 bool m_databaseInsightsModeHasBeenSet = false;
1657 bool m_enablePerformanceInsightsHasBeenSet = false;
1658 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
1659 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
1660 bool m_enableLimitlessDatabaseHasBeenSet = false;
1661 bool m_clusterScalabilityTypeHasBeenSet = false;
1662 bool m_dBSystemIdHasBeenSet = false;
1663 bool m_manageMasterUserPasswordHasBeenSet = false;
1664 bool m_enableLocalWriteForwardingHasBeenSet = false;
1665 bool m_masterUserSecretKmsKeyIdHasBeenSet = false;
1666 bool m_cACertificateIdentifierHasBeenSet = false;
1667 bool m_engineLifecycleSupportHasBeenSet = false;
1668 bool m_tagSpecificationsHasBeenSet = false;
1669 bool m_masterUserAuthenticationTypeHasBeenSet = false;
1670 bool m_sourceRegionHasBeenSet = false;
1671};
1672
1673} // namespace Model
1674} // namespace RDS
1675} // namespace Aws
CreateDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & WithOptionGroupName(OptionGroupNameT &&value)
CreateDBClusterRequest & WithDomainIAMRoleName(DomainIAMRoleNameT &&value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDBClusterRequest & AddTags(TagsT &&value)
const Aws::String & GetCACertificateIdentifier() const
MasterUserAuthenticationType GetMasterUserAuthenticationType() const
void SetMasterUserPassword(MasterUserPasswordT &&value)
CreateDBClusterRequest & WithNetworkType(NetworkTypeT &&value)
const Aws::String & GetEngineLifecycleSupport() const
void SetOptionGroupName(OptionGroupNameT &&value)
CreateDBClusterRequest & WithMasterUsername(MasterUsernameT &&value)
CreateDBClusterRequest & WithEnablePerformanceInsights(bool value)
const Aws::String & GetPreferredBackupWindow() const
CreateDBClusterRequest & WithEnableLocalWriteForwarding(bool value)
CreateDBClusterRequest & WithPubliclyAccessible(bool value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
CreateDBClusterRequest & WithBacktrackWindow(long long value)
CreateDBClusterRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
const RdsCustomClusterConfiguration & GetRdsCustomClusterConfiguration() const
CreateDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateDBClusterRequest & WithPerformanceInsightsRetentionPeriod(int value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateDBClusterRequest & WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
CreateDBClusterRequest & WithTagSpecifications(TagSpecificationsT &&value)
void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT &&value)
const Aws::String & GetGlobalClusterIdentifier() const
CreateDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
void SetMonitoringRoleArn(MonitoringRoleArnT &&value)
CreateDBClusterRequest & WithDomain(DomainT &&value)
CreateDBClusterRequest & WithClusterScalabilityType(ClusterScalabilityType value)
AWS_RDS_API CreateDBClusterRequest()=default
AWS_RDS_API Aws::String SerializePayload() const override
void SetCACertificateIdentifier(CACertificateIdentifierT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
DatabaseInsightsMode GetDatabaseInsightsMode() const
CreateDBClusterRequest & WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateDBClusterRequest & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
CreateDBClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateDBClusterRequest & WithMonitoringRoleArn(MonitoringRoleArnT &&value)
CreateDBClusterRequest & WithManageMasterUserPassword(bool value)
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateDBClusterRequest & WithEnableLimitlessDatabase(bool value)
const Aws::String & GetMasterUserPassword() const
void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
void SetCharacterSetName(CharacterSetNameT &&value)
CreateDBClusterRequest & WithTags(TagsT &&value)
CreateDBClusterRequest & WithEngineVersion(EngineVersionT &&value)
CreateDBClusterRequest & WithScalingConfiguration(ScalingConfigurationT &&value)
void SetEngineLifecycleSupport(EngineLifecycleSupportT &&value)
CreateDBClusterRequest & WithIops(int value)
CreateDBClusterRequest & WithCharacterSetName(CharacterSetNameT &&value)
const Aws::String & GetDBClusterIdentifier() const
CreateDBClusterRequest & WithStorageType(StorageTypeT &&value)
const Aws::String & GetDBClusterInstanceClass() const
const Aws::String & GetPreferredMaintenanceWindow() const
CreateDBClusterRequest & WithDBSystemId(DBSystemIdT &&value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const ScalingConfiguration & GetScalingConfiguration() const
CreateDBClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const Aws::String & GetPerformanceInsightsKMSKeyId() const
CreateDBClusterRequest & WithEnableHttpEndpoint(bool value)
CreateDBClusterRequest & WithMasterUserAuthenticationType(MasterUserAuthenticationType value)
const Aws::String & GetReplicationSourceIdentifier() const
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
CreateDBClusterRequest & WithAvailabilityZones(AvailabilityZonesT &&value)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
CreateDBClusterRequest & WithStorageEncrypted(bool value)
CreateDBClusterRequest & WithEngineLifecycleSupport(EngineLifecycleSupportT &&value)
CreateDBClusterRequest & AddAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithEngineMode(EngineModeT &&value)
CreateDBClusterRequest & WithCACertificateIdentifier(CACertificateIdentifierT &&value)
CreateDBClusterRequest & WithCopyTagsToSnapshot(bool value)
void SetMasterUserAuthenticationType(MasterUserAuthenticationType value)
CreateDBClusterRequest & WithAutoMinorVersionUpgrade(bool value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
const Aws::String & GetMasterUserSecretKmsKeyId() const
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBClusterRequest & WithDatabaseInsightsMode(DatabaseInsightsMode value)
CreateDBClusterRequest & WithDBClusterInstanceClass(DBClusterInstanceClassT &&value)
void SetDBClusterInstanceClass(DBClusterInstanceClassT &&value)
ClusterScalabilityType GetClusterScalabilityType() const
void SetClusterScalabilityType(ClusterScalabilityType value)
CreateDBClusterRequest & WithDeletionProtection(bool value)
CreateDBClusterRequest & WithPort(int value)
CreateDBClusterRequest & WithEnableGlobalWriteForwarding(bool value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateDBClusterRequest & WithSourceRegion(SourceRegionT &&value)
CreateDBClusterRequest & WithAllocatedStorage(int value)
CreateDBClusterRequest & AddTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
CreateDBClusterRequest & WithDatabaseName(DatabaseNameT &&value)
CreateDBClusterRequest & WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT &&value)
void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
void SetMasterUsername(MasterUsernameT &&value)
void SetDatabaseInsightsMode(DatabaseInsightsMode value)
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
const Aws::String & GetDBClusterParameterGroupName() const
CreateDBClusterRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateDBClusterRequest & WithPreSignedUrl(PreSignedUrlT &&value)
CreateDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
CreateDBClusterRequest & WithEngine(EngineT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
CreateDBClusterRequest & WithMonitoringInterval(int value)
void SetDomainIAMRoleName(DomainIAMRoleNameT &&value)
void SetScalingConfiguration(ScalingConfigurationT &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector