AWS SDK for C++

AWS SDK for C++ Version 1.11.850

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/DBClusterAssociatedRole.h>
13#include <aws/rds/model/DatabaseInsightsMode.h>
14#include <aws/rds/model/MasterUserAuthenticationType.h>
15#include <aws/rds/model/RdsCustomClusterConfiguration.h>
16#include <aws/rds/model/ScalingConfiguration.h>
17#include <aws/rds/model/ServerlessV2ScalingConfiguration.h>
18#include <aws/rds/model/Tag.h>
19#include <aws/rds/model/TagSpecification.h>
20
21#include <utility>
22
23namespace Aws {
24namespace RDS {
25namespace Model {
26
33 public:
34 AWS_RDS_API CreateDBClusterRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "CreateDBCluster"; }
41
42 AWS_RDS_API Aws::String SerializePayload() const override;
43
44 protected:
45 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
46
47 public:
49
67 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
68 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
69 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
70 void SetAvailabilityZones(AvailabilityZonesT&& value) {
71 m_availabilityZonesHasBeenSet = true;
72 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
73 }
74 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
75 CreateDBClusterRequest& WithAvailabilityZones(AvailabilityZonesT&& value) {
76 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
77 return *this;
78 }
79 template <typename AvailabilityZonesT = Aws::String>
80 CreateDBClusterRequest& AddAvailabilityZones(AvailabilityZonesT&& value) {
81 m_availabilityZonesHasBeenSet = true;
82 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
83 return *this;
84 }
86
88
94 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
95 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
96 inline void SetBackupRetentionPeriod(int value) {
97 m_backupRetentionPeriodHasBeenSet = true;
98 m_backupRetentionPeriod = value;
99 }
102 return *this;
103 }
105
107
111 inline const Aws::String& GetCharacterSetName() const { return m_characterSetName; }
112 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
113 template <typename CharacterSetNameT = Aws::String>
114 void SetCharacterSetName(CharacterSetNameT&& value) {
115 m_characterSetNameHasBeenSet = true;
116 m_characterSetName = std::forward<CharacterSetNameT>(value);
117 }
118 template <typename CharacterSetNameT = Aws::String>
119 CreateDBClusterRequest& WithCharacterSetName(CharacterSetNameT&& value) {
120 SetCharacterSetName(std::forward<CharacterSetNameT>(value));
121 return *this;
122 }
124
126
132 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
133 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
134 template <typename DatabaseNameT = Aws::String>
135 void SetDatabaseName(DatabaseNameT&& value) {
136 m_databaseNameHasBeenSet = true;
137 m_databaseName = std::forward<DatabaseNameT>(value);
138 }
139 template <typename DatabaseNameT = Aws::String>
140 CreateDBClusterRequest& WithDatabaseName(DatabaseNameT&& value) {
141 SetDatabaseName(std::forward<DatabaseNameT>(value));
142 return *this;
143 }
145
147
156 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
157 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
158 template <typename DBClusterIdentifierT = Aws::String>
159 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
160 m_dBClusterIdentifierHasBeenSet = true;
161 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
162 }
163 template <typename DBClusterIdentifierT = Aws::String>
164 CreateDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
165 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
166 return *this;
167 }
169
171
179 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
180 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
181 template <typename DBClusterParameterGroupNameT = Aws::String>
182 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
183 m_dBClusterParameterGroupNameHasBeenSet = true;
184 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
185 }
186 template <typename DBClusterParameterGroupNameT = Aws::String>
187 CreateDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
188 SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value));
189 return *this;
190 }
192
194
198 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
199 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
200 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
201 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
202 m_vpcSecurityGroupIdsHasBeenSet = true;
203 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
204 }
205 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
206 CreateDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
207 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
208 return *this;
209 }
210 template <typename VpcSecurityGroupIdsT = Aws::String>
211 CreateDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
212 m_vpcSecurityGroupIdsHasBeenSet = true;
213 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
214 return *this;
215 }
217
219
226 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
227 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
228 template <typename DBSubnetGroupNameT = Aws::String>
229 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
230 m_dBSubnetGroupNameHasBeenSet = true;
231 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
232 }
233 template <typename DBSubnetGroupNameT = Aws::String>
234 CreateDBClusterRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
235 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
236 return *this;
237 }
239
241
251 inline const Aws::String& GetEngine() const { return m_engine; }
252 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
253 template <typename EngineT = Aws::String>
254 void SetEngine(EngineT&& value) {
255 m_engineHasBeenSet = true;
256 m_engine = std::forward<EngineT>(value);
257 }
258 template <typename EngineT = Aws::String>
260 SetEngine(std::forward<EngineT>(value));
261 return *this;
262 }
264
266
298 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
299 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
300 template <typename EngineVersionT = Aws::String>
301 void SetEngineVersion(EngineVersionT&& value) {
302 m_engineVersionHasBeenSet = true;
303 m_engineVersion = std::forward<EngineVersionT>(value);
304 }
305 template <typename EngineVersionT = Aws::String>
306 CreateDBClusterRequest& WithEngineVersion(EngineVersionT&& value) {
307 SetEngineVersion(std::forward<EngineVersionT>(value));
308 return *this;
309 }
311
313
320 inline int GetPort() const { return m_port; }
321 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
322 inline void SetPort(int value) {
323 m_portHasBeenSet = true;
324 m_port = value;
325 }
326 inline CreateDBClusterRequest& WithPort(int value) {
327 SetPort(value);
328 return *this;
329 }
331
333
340 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
341 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
342 template <typename MasterUsernameT = Aws::String>
343 void SetMasterUsername(MasterUsernameT&& value) {
344 m_masterUsernameHasBeenSet = true;
345 m_masterUsername = std::forward<MasterUsernameT>(value);
346 }
347 template <typename MasterUsernameT = Aws::String>
348 CreateDBClusterRequest& WithMasterUsername(MasterUsernameT&& value) {
349 SetMasterUsername(std::forward<MasterUsernameT>(value));
350 return *this;
351 }
353
355
362 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
363 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
364 template <typename MasterUserPasswordT = Aws::String>
365 void SetMasterUserPassword(MasterUserPasswordT&& value) {
366 m_masterUserPasswordHasBeenSet = true;
367 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
368 }
369 template <typename MasterUserPasswordT = Aws::String>
370 CreateDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
371 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
372 return *this;
373 }
375
377
381 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
382 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
383 template <typename OptionGroupNameT = Aws::String>
384 void SetOptionGroupName(OptionGroupNameT&& value) {
385 m_optionGroupNameHasBeenSet = true;
386 m_optionGroupName = std::forward<OptionGroupNameT>(value);
387 }
388 template <typename OptionGroupNameT = Aws::String>
389 CreateDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) {
390 SetOptionGroupName(std::forward<OptionGroupNameT>(value));
391 return *this;
392 }
394
396
410 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
411 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
412 template <typename PreferredBackupWindowT = Aws::String>
413 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
414 m_preferredBackupWindowHasBeenSet = true;
415 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
416 }
417 template <typename PreferredBackupWindowT = Aws::String>
418 CreateDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
419 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
420 return *this;
421 }
423
425
439 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
440 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
441 template <typename PreferredMaintenanceWindowT = Aws::String>
442 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
443 m_preferredMaintenanceWindowHasBeenSet = true;
444 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
445 }
446 template <typename PreferredMaintenanceWindowT = Aws::String>
447 CreateDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
448 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
449 return *this;
450 }
452
454
459 inline const Aws::String& GetReplicationSourceIdentifier() const { return m_replicationSourceIdentifier; }
460 inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
461 template <typename ReplicationSourceIdentifierT = Aws::String>
462 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
463 m_replicationSourceIdentifierHasBeenSet = true;
464 m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value);
465 }
466 template <typename ReplicationSourceIdentifierT = Aws::String>
467 CreateDBClusterRequest& WithReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) {
468 SetReplicationSourceIdentifier(std::forward<ReplicationSourceIdentifierT>(value));
469 return *this;
470 }
472
474
478 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
479 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
480 template <typename TagsT = Aws::Vector<Tag>>
481 void SetTags(TagsT&& value) {
482 m_tagsHasBeenSet = true;
483 m_tags = std::forward<TagsT>(value);
484 }
485 template <typename TagsT = Aws::Vector<Tag>>
487 SetTags(std::forward<TagsT>(value));
488 return *this;
489 }
490 template <typename TagsT = Tag>
492 m_tagsHasBeenSet = true;
493 m_tags.emplace_back(std::forward<TagsT>(value));
494 return *this;
495 }
497
499
503 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
504 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
505 inline void SetStorageEncrypted(bool value) {
506 m_storageEncryptedHasBeenSet = true;
507 m_storageEncrypted = value;
508 }
510 SetStorageEncrypted(value);
511 return *this;
512 }
514
516
536 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
537 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
538 template <typename KmsKeyIdT = Aws::String>
539 void SetKmsKeyId(KmsKeyIdT&& value) {
540 m_kmsKeyIdHasBeenSet = true;
541 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
542 }
543 template <typename KmsKeyIdT = Aws::String>
545 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
546 return *this;
547 }
549
551
589 inline const Aws::String& GetPreSignedUrl() const { return m_preSignedUrl; }
590 inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
591 template <typename PreSignedUrlT = Aws::String>
592 void SetPreSignedUrl(PreSignedUrlT&& value) {
593 m_preSignedUrlHasBeenSet = true;
594 m_preSignedUrl = std::forward<PreSignedUrlT>(value);
595 }
596 template <typename PreSignedUrlT = Aws::String>
597 CreateDBClusterRequest& WithPreSignedUrl(PreSignedUrlT&& value) {
598 SetPreSignedUrl(std::forward<PreSignedUrlT>(value));
599 return *this;
600 }
602
604
615 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
616 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
617 inline void SetEnableIAMDatabaseAuthentication(bool value) {
618 m_enableIAMDatabaseAuthenticationHasBeenSet = true;
619 m_enableIAMDatabaseAuthentication = value;
620 }
623 return *this;
624 }
626
628
635 inline long long GetBacktrackWindow() const { return m_backtrackWindow; }
636 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
637 inline void SetBacktrackWindow(long long value) {
638 m_backtrackWindowHasBeenSet = true;
639 m_backtrackWindow = value;
640 }
642 SetBacktrackWindow(value);
643 return *this;
644 }
646
648
667 inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const { return m_enableCloudwatchLogsExports; }
668 inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; }
669 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
670 void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
671 m_enableCloudwatchLogsExportsHasBeenSet = true;
672 m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value);
673 }
674 template <typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
675 CreateDBClusterRequest& WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
676 SetEnableCloudwatchLogsExports(std::forward<EnableCloudwatchLogsExportsT>(value));
677 return *this;
678 }
679 template <typename EnableCloudwatchLogsExportsT = Aws::String>
680 CreateDBClusterRequest& AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) {
681 m_enableCloudwatchLogsExportsHasBeenSet = true;
682 m_enableCloudwatchLogsExports.emplace_back(std::forward<EnableCloudwatchLogsExportsT>(value));
683 return *this;
684 }
686
688
701 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
702 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
703 template <typename EngineModeT = Aws::String>
704 void SetEngineMode(EngineModeT&& value) {
705 m_engineModeHasBeenSet = true;
706 m_engineMode = std::forward<EngineModeT>(value);
707 }
708 template <typename EngineModeT = Aws::String>
710 SetEngineMode(std::forward<EngineModeT>(value));
711 return *this;
712 }
714
716
721 inline const ScalingConfiguration& GetScalingConfiguration() const { return m_scalingConfiguration; }
722 inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; }
723 template <typename ScalingConfigurationT = ScalingConfiguration>
724 void SetScalingConfiguration(ScalingConfigurationT&& value) {
725 m_scalingConfigurationHasBeenSet = true;
726 m_scalingConfiguration = std::forward<ScalingConfigurationT>(value);
727 }
728 template <typename ScalingConfigurationT = ScalingConfiguration>
729 CreateDBClusterRequest& WithScalingConfiguration(ScalingConfigurationT&& value) {
730 SetScalingConfiguration(std::forward<ScalingConfigurationT>(value));
731 return *this;
732 }
734
736
739 inline const RdsCustomClusterConfiguration& GetRdsCustomClusterConfiguration() const { return m_rdsCustomClusterConfiguration; }
740 inline bool RdsCustomClusterConfigurationHasBeenSet() const { return m_rdsCustomClusterConfigurationHasBeenSet; }
741 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
742 void SetRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
743 m_rdsCustomClusterConfigurationHasBeenSet = true;
744 m_rdsCustomClusterConfiguration = std::forward<RdsCustomClusterConfigurationT>(value);
745 }
746 template <typename RdsCustomClusterConfigurationT = RdsCustomClusterConfiguration>
747 CreateDBClusterRequest& WithRdsCustomClusterConfiguration(RdsCustomClusterConfigurationT&& value) {
748 SetRdsCustomClusterConfiguration(std::forward<RdsCustomClusterConfigurationT>(value));
749 return *this;
750 }
752
754
765 inline const Aws::String& GetDBClusterInstanceClass() const { return m_dBClusterInstanceClass; }
766 inline bool DBClusterInstanceClassHasBeenSet() const { return m_dBClusterInstanceClassHasBeenSet; }
767 template <typename DBClusterInstanceClassT = Aws::String>
768 void SetDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
769 m_dBClusterInstanceClassHasBeenSet = true;
770 m_dBClusterInstanceClass = std::forward<DBClusterInstanceClassT>(value);
771 }
772 template <typename DBClusterInstanceClassT = Aws::String>
773 CreateDBClusterRequest& WithDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
774 SetDBClusterInstanceClass(std::forward<DBClusterInstanceClassT>(value));
775 return *this;
776 }
778
780
785 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
786 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
787 inline void SetAllocatedStorage(int value) {
788 m_allocatedStorageHasBeenSet = true;
789 m_allocatedStorage = value;
790 }
792 SetAllocatedStorage(value);
793 return *this;
794 }
796
798
817 inline const Aws::String& GetStorageType() const { return m_storageType; }
818 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
819 template <typename StorageTypeT = Aws::String>
820 void SetStorageType(StorageTypeT&& value) {
821 m_storageTypeHasBeenSet = true;
822 m_storageType = std::forward<StorageTypeT>(value);
823 }
824 template <typename StorageTypeT = Aws::String>
826 SetStorageType(std::forward<StorageTypeT>(value));
827 return *this;
828 }
830
832
843 inline int GetIops() const { return m_iops; }
844 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
845 inline void SetIops(int value) {
846 m_iopsHasBeenSet = true;
847 m_iops = value;
848 }
849 inline CreateDBClusterRequest& WithIops(int value) {
850 SetIops(value);
851 return *this;
852 }
854
856
877 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
878 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
879 inline void SetPubliclyAccessible(bool value) {
880 m_publiclyAccessibleHasBeenSet = true;
881 m_publiclyAccessible = value;
882 }
885 return *this;
886 }
888
890
899 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
900 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
901 inline void SetAutoMinorVersionUpgrade(bool value) {
902 m_autoMinorVersionUpgradeHasBeenSet = true;
903 m_autoMinorVersionUpgrade = value;
904 }
907 return *this;
908 }
910
912
918 inline bool GetDeletionProtection() const { return m_deletionProtection; }
919 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
920 inline void SetDeletionProtection(bool value) {
921 m_deletionProtectionHasBeenSet = true;
922 m_deletionProtection = value;
923 }
926 return *this;
927 }
929
931
936 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
937 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
938 template <typename GlobalClusterIdentifierT = Aws::String>
939 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
940 m_globalClusterIdentifierHasBeenSet = true;
941 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
942 }
943 template <typename GlobalClusterIdentifierT = Aws::String>
944 CreateDBClusterRequest& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
945 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
946 return *this;
947 }
949
951
961 inline bool GetEnableHttpEndpoint() const { return m_enableHttpEndpoint; }
962 inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; }
963 inline void SetEnableHttpEndpoint(bool value) {
964 m_enableHttpEndpointHasBeenSet = true;
965 m_enableHttpEndpoint = value;
966 }
969 return *this;
970 }
972
974
979 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
980 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
981 inline void SetCopyTagsToSnapshot(bool value) {
982 m_copyTagsToSnapshotHasBeenSet = true;
983 m_copyTagsToSnapshot = value;
984 }
987 return *this;
988 }
990
992
1001 inline const Aws::String& GetDomain() const { return m_domain; }
1002 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
1003 template <typename DomainT = Aws::String>
1004 void SetDomain(DomainT&& value) {
1005 m_domainHasBeenSet = true;
1006 m_domain = std::forward<DomainT>(value);
1007 }
1008 template <typename DomainT = Aws::String>
1010 SetDomain(std::forward<DomainT>(value));
1011 return *this;
1012 }
1014
1016
1020 inline const Aws::String& GetDomainIAMRoleName() const { return m_domainIAMRoleName; }
1021 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
1022 template <typename DomainIAMRoleNameT = Aws::String>
1023 void SetDomainIAMRoleName(DomainIAMRoleNameT&& value) {
1024 m_domainIAMRoleNameHasBeenSet = true;
1025 m_domainIAMRoleName = std::forward<DomainIAMRoleNameT>(value);
1026 }
1027 template <typename DomainIAMRoleNameT = Aws::String>
1028 CreateDBClusterRequest& WithDomainIAMRoleName(DomainIAMRoleNameT&& value) {
1029 SetDomainIAMRoleName(std::forward<DomainIAMRoleNameT>(value));
1030 return *this;
1031 }
1033
1035
1047 inline bool GetEnableGlobalWriteForwarding() const { return m_enableGlobalWriteForwarding; }
1048 inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; }
1049 inline void SetEnableGlobalWriteForwarding(bool value) {
1050 m_enableGlobalWriteForwardingHasBeenSet = true;
1051 m_enableGlobalWriteForwarding = value;
1052 }
1055 return *this;
1056 }
1058
1060
1070 inline const Aws::String& GetNetworkType() const { return m_networkType; }
1071 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
1072 template <typename NetworkTypeT = Aws::String>
1073 void SetNetworkType(NetworkTypeT&& value) {
1074 m_networkTypeHasBeenSet = true;
1075 m_networkType = std::forward<NetworkTypeT>(value);
1076 }
1077 template <typename NetworkTypeT = Aws::String>
1079 SetNetworkType(std::forward<NetworkTypeT>(value));
1080 return *this;
1081 }
1083
1085
1086 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
1087 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
1088 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
1089 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
1090 m_serverlessV2ScalingConfigurationHasBeenSet = true;
1091 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
1092 }
1093 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
1094 CreateDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
1095 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
1096 return *this;
1097 }
1099
1101
1110 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
1111 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
1112 inline void SetMonitoringInterval(int value) {
1113 m_monitoringIntervalHasBeenSet = true;
1114 m_monitoringInterval = value;
1115 }
1117 SetMonitoringInterval(value);
1118 return *this;
1119 }
1121
1123
1134 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
1135 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
1136 template <typename MonitoringRoleArnT = Aws::String>
1137 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) {
1138 m_monitoringRoleArnHasBeenSet = true;
1139 m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value);
1140 }
1141 template <typename MonitoringRoleArnT = Aws::String>
1142 CreateDBClusterRequest& WithMonitoringRoleArn(MonitoringRoleArnT&& value) {
1143 SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value));
1144 return *this;
1145 }
1147
1149
1156 inline DatabaseInsightsMode GetDatabaseInsightsMode() const { return m_databaseInsightsMode; }
1157 inline bool DatabaseInsightsModeHasBeenSet() const { return m_databaseInsightsModeHasBeenSet; }
1159 m_databaseInsightsModeHasBeenSet = true;
1160 m_databaseInsightsMode = value;
1161 }
1164 return *this;
1165 }
1167
1169
1176 inline bool GetEnablePerformanceInsights() const { return m_enablePerformanceInsights; }
1177 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
1178 inline void SetEnablePerformanceInsights(bool value) {
1179 m_enablePerformanceInsightsHasBeenSet = true;
1180 m_enablePerformanceInsights = value;
1181 }
1184 return *this;
1185 }
1187
1189
1199 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
1200 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
1201 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1202 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1203 m_performanceInsightsKMSKeyIdHasBeenSet = true;
1204 m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value);
1205 }
1206 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1207 CreateDBClusterRequest& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1208 SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value));
1209 return *this;
1210 }
1212
1214
1224 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
1225 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
1227 m_performanceInsightsRetentionPeriodHasBeenSet = true;
1228 m_performanceInsightsRetentionPeriod = value;
1229 }
1232 return *this;
1233 }
1235
1237
1243 inline bool GetEnableLimitlessDatabase() const { return m_enableLimitlessDatabase; }
1244 inline bool EnableLimitlessDatabaseHasBeenSet() const { return m_enableLimitlessDatabaseHasBeenSet; }
1245 inline void SetEnableLimitlessDatabase(bool value) {
1246 m_enableLimitlessDatabaseHasBeenSet = true;
1247 m_enableLimitlessDatabase = value;
1248 }
1251 return *this;
1252 }
1254
1256
1263 inline ClusterScalabilityType GetClusterScalabilityType() const { return m_clusterScalabilityType; }
1264 inline bool ClusterScalabilityTypeHasBeenSet() const { return m_clusterScalabilityTypeHasBeenSet; }
1266 m_clusterScalabilityTypeHasBeenSet = true;
1267 m_clusterScalabilityType = value;
1268 }
1271 return *this;
1272 }
1274
1276
1279 inline const Aws::String& GetDBSystemId() const { return m_dBSystemId; }
1280 inline bool DBSystemIdHasBeenSet() const { return m_dBSystemIdHasBeenSet; }
1281 template <typename DBSystemIdT = Aws::String>
1282 void SetDBSystemId(DBSystemIdT&& value) {
1283 m_dBSystemIdHasBeenSet = true;
1284 m_dBSystemId = std::forward<DBSystemIdT>(value);
1285 }
1286 template <typename DBSystemIdT = Aws::String>
1288 SetDBSystemId(std::forward<DBSystemIdT>(value));
1289 return *this;
1290 }
1292
1294
1307 inline bool GetManageMasterUserPassword() const { return m_manageMasterUserPassword; }
1308 inline bool ManageMasterUserPasswordHasBeenSet() const { return m_manageMasterUserPasswordHasBeenSet; }
1309 inline void SetManageMasterUserPassword(bool value) {
1310 m_manageMasterUserPasswordHasBeenSet = true;
1311 m_manageMasterUserPassword = value;
1312 }
1315 return *this;
1316 }
1318
1320
1325 inline bool GetEnableLocalWriteForwarding() const { return m_enableLocalWriteForwarding; }
1326 inline bool EnableLocalWriteForwardingHasBeenSet() const { return m_enableLocalWriteForwardingHasBeenSet; }
1327 inline void SetEnableLocalWriteForwarding(bool value) {
1328 m_enableLocalWriteForwardingHasBeenSet = true;
1329 m_enableLocalWriteForwarding = value;
1330 }
1333 return *this;
1334 }
1336
1338
1355 inline const Aws::String& GetMasterUserSecretKmsKeyId() const { return m_masterUserSecretKmsKeyId; }
1356 inline bool MasterUserSecretKmsKeyIdHasBeenSet() const { return m_masterUserSecretKmsKeyIdHasBeenSet; }
1357 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1358 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1359 m_masterUserSecretKmsKeyIdHasBeenSet = true;
1360 m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value);
1361 }
1362 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1363 CreateDBClusterRequest& WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1364 SetMasterUserSecretKmsKeyId(std::forward<MasterUserSecretKmsKeyIdT>(value));
1365 return *this;
1366 }
1368
1370
1377 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
1378 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
1379 template <typename CACertificateIdentifierT = Aws::String>
1380 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
1381 m_cACertificateIdentifierHasBeenSet = true;
1382 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
1383 }
1384 template <typename CACertificateIdentifierT = Aws::String>
1385 CreateDBClusterRequest& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
1386 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
1387 return *this;
1388 }
1390
1392
1414 inline const Aws::String& GetEngineLifecycleSupport() const { return m_engineLifecycleSupport; }
1415 inline bool EngineLifecycleSupportHasBeenSet() const { return m_engineLifecycleSupportHasBeenSet; }
1416 template <typename EngineLifecycleSupportT = Aws::String>
1417 void SetEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1418 m_engineLifecycleSupportHasBeenSet = true;
1419 m_engineLifecycleSupport = std::forward<EngineLifecycleSupportT>(value);
1420 }
1421 template <typename EngineLifecycleSupportT = Aws::String>
1422 CreateDBClusterRequest& WithEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1423 SetEngineLifecycleSupport(std::forward<EngineLifecycleSupportT>(value));
1424 return *this;
1425 }
1427
1429
1434 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const { return m_tagSpecifications; }
1435 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
1436 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
1437 void SetTagSpecifications(TagSpecificationsT&& value) {
1438 m_tagSpecificationsHasBeenSet = true;
1439 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
1440 }
1441 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
1442 CreateDBClusterRequest& WithTagSpecifications(TagSpecificationsT&& value) {
1443 SetTagSpecifications(std::forward<TagSpecificationsT>(value));
1444 return *this;
1445 }
1446 template <typename TagSpecificationsT = TagSpecification>
1447 CreateDBClusterRequest& AddTagSpecifications(TagSpecificationsT&& value) {
1448 m_tagSpecificationsHasBeenSet = true;
1449 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
1450 return *this;
1451 }
1453
1455
1466 inline MasterUserAuthenticationType GetMasterUserAuthenticationType() const { return m_masterUserAuthenticationType; }
1467 inline bool MasterUserAuthenticationTypeHasBeenSet() const { return m_masterUserAuthenticationTypeHasBeenSet; }
1469 m_masterUserAuthenticationTypeHasBeenSet = true;
1470 m_masterUserAuthenticationType = value;
1471 }
1474 return *this;
1475 }
1477
1479
1485 inline bool GetWithExpressConfiguration() const { return m_withExpressConfiguration; }
1486 inline bool WithExpressConfigurationHasBeenSet() const { return m_withExpressConfigurationHasBeenSet; }
1487 inline void SetWithExpressConfiguration(bool value) {
1488 m_withExpressConfigurationHasBeenSet = true;
1489 m_withExpressConfiguration = value;
1490 }
1493 return *this;
1494 }
1496
1498
1506 inline const Aws::Vector<DBClusterAssociatedRole>& GetAssociatedRoles() const { return m_associatedRoles; }
1507 inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; }
1508 template <typename AssociatedRolesT = Aws::Vector<DBClusterAssociatedRole>>
1509 void SetAssociatedRoles(AssociatedRolesT&& value) {
1510 m_associatedRolesHasBeenSet = true;
1511 m_associatedRoles = std::forward<AssociatedRolesT>(value);
1512 }
1513 template <typename AssociatedRolesT = Aws::Vector<DBClusterAssociatedRole>>
1514 CreateDBClusterRequest& WithAssociatedRoles(AssociatedRolesT&& value) {
1515 SetAssociatedRoles(std::forward<AssociatedRolesT>(value));
1516 return *this;
1517 }
1518 template <typename AssociatedRolesT = DBClusterAssociatedRole>
1519 CreateDBClusterRequest& AddAssociatedRoles(AssociatedRolesT&& value) {
1520 m_associatedRolesHasBeenSet = true;
1521 m_associatedRoles.emplace_back(std::forward<AssociatedRolesT>(value));
1522 return *this;
1523 }
1525
1527
1530 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
1531 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
1532 template <typename SourceRegionT = Aws::String>
1533 void SetSourceRegion(SourceRegionT&& value) {
1534 m_sourceRegionHasBeenSet = true;
1535 m_sourceRegion = std::forward<SourceRegionT>(value);
1536 }
1537 template <typename SourceRegionT = Aws::String>
1539 SetSourceRegion(std::forward<SourceRegionT>(value));
1540 return *this;
1541 }
1543 private:
1544 Aws::Vector<Aws::String> m_availabilityZones;
1545
1546 int m_backupRetentionPeriod{0};
1547
1548 Aws::String m_characterSetName;
1549
1550 Aws::String m_databaseName;
1551
1552 Aws::String m_dBClusterIdentifier;
1553
1554 Aws::String m_dBClusterParameterGroupName;
1555
1556 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
1557
1558 Aws::String m_dBSubnetGroupName;
1559
1560 Aws::String m_engine;
1561
1562 Aws::String m_engineVersion;
1563
1564 int m_port{0};
1565
1566 Aws::String m_masterUsername;
1567
1568 Aws::String m_masterUserPassword;
1569
1570 Aws::String m_optionGroupName;
1571
1572 Aws::String m_preferredBackupWindow;
1573
1574 Aws::String m_preferredMaintenanceWindow;
1575
1576 Aws::String m_replicationSourceIdentifier;
1577
1578 Aws::Vector<Tag> m_tags;
1579
1580 bool m_storageEncrypted{false};
1581
1582 Aws::String m_kmsKeyId;
1583
1584 Aws::String m_preSignedUrl;
1585
1586 bool m_enableIAMDatabaseAuthentication{false};
1587
1588 long long m_backtrackWindow{0};
1589
1590 Aws::Vector<Aws::String> m_enableCloudwatchLogsExports;
1591
1592 Aws::String m_engineMode;
1593
1594 ScalingConfiguration m_scalingConfiguration;
1595
1596 RdsCustomClusterConfiguration m_rdsCustomClusterConfiguration;
1597
1598 Aws::String m_dBClusterInstanceClass;
1599
1600 int m_allocatedStorage{0};
1601
1602 Aws::String m_storageType;
1603
1604 int m_iops{0};
1605
1606 bool m_publiclyAccessible{false};
1607
1608 bool m_autoMinorVersionUpgrade{false};
1609
1610 bool m_deletionProtection{false};
1611
1612 Aws::String m_globalClusterIdentifier;
1613
1614 bool m_enableHttpEndpoint{false};
1615
1616 bool m_copyTagsToSnapshot{false};
1617
1618 Aws::String m_domain;
1619
1620 Aws::String m_domainIAMRoleName;
1621
1622 bool m_enableGlobalWriteForwarding{false};
1623
1624 Aws::String m_networkType;
1625
1626 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
1627
1628 int m_monitoringInterval{0};
1629
1630 Aws::String m_monitoringRoleArn;
1631
1633
1634 bool m_enablePerformanceInsights{false};
1635
1636 Aws::String m_performanceInsightsKMSKeyId;
1637
1638 int m_performanceInsightsRetentionPeriod{0};
1639
1640 bool m_enableLimitlessDatabase{false};
1641
1643
1644 Aws::String m_dBSystemId;
1645
1646 bool m_manageMasterUserPassword{false};
1647
1648 bool m_enableLocalWriteForwarding{false};
1649
1650 Aws::String m_masterUserSecretKmsKeyId;
1651
1652 Aws::String m_cACertificateIdentifier;
1653
1654 Aws::String m_engineLifecycleSupport;
1655
1656 Aws::Vector<TagSpecification> m_tagSpecifications;
1657
1659
1660 bool m_withExpressConfiguration{false};
1661
1662 Aws::Vector<DBClusterAssociatedRole> m_associatedRoles;
1663
1664 Aws::String m_sourceRegion;
1665 bool m_availabilityZonesHasBeenSet = false;
1666 bool m_backupRetentionPeriodHasBeenSet = false;
1667 bool m_characterSetNameHasBeenSet = false;
1668 bool m_databaseNameHasBeenSet = false;
1669 bool m_dBClusterIdentifierHasBeenSet = false;
1670 bool m_dBClusterParameterGroupNameHasBeenSet = false;
1671 bool m_vpcSecurityGroupIdsHasBeenSet = false;
1672 bool m_dBSubnetGroupNameHasBeenSet = false;
1673 bool m_engineHasBeenSet = false;
1674 bool m_engineVersionHasBeenSet = false;
1675 bool m_portHasBeenSet = false;
1676 bool m_masterUsernameHasBeenSet = false;
1677 bool m_masterUserPasswordHasBeenSet = false;
1678 bool m_optionGroupNameHasBeenSet = false;
1679 bool m_preferredBackupWindowHasBeenSet = false;
1680 bool m_preferredMaintenanceWindowHasBeenSet = false;
1681 bool m_replicationSourceIdentifierHasBeenSet = false;
1682 bool m_tagsHasBeenSet = false;
1683 bool m_storageEncryptedHasBeenSet = false;
1684 bool m_kmsKeyIdHasBeenSet = false;
1685 bool m_preSignedUrlHasBeenSet = false;
1686 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
1687 bool m_backtrackWindowHasBeenSet = false;
1688 bool m_enableCloudwatchLogsExportsHasBeenSet = false;
1689 bool m_engineModeHasBeenSet = false;
1690 bool m_scalingConfigurationHasBeenSet = false;
1691 bool m_rdsCustomClusterConfigurationHasBeenSet = false;
1692 bool m_dBClusterInstanceClassHasBeenSet = false;
1693 bool m_allocatedStorageHasBeenSet = false;
1694 bool m_storageTypeHasBeenSet = false;
1695 bool m_iopsHasBeenSet = false;
1696 bool m_publiclyAccessibleHasBeenSet = false;
1697 bool m_autoMinorVersionUpgradeHasBeenSet = false;
1698 bool m_deletionProtectionHasBeenSet = false;
1699 bool m_globalClusterIdentifierHasBeenSet = false;
1700 bool m_enableHttpEndpointHasBeenSet = false;
1701 bool m_copyTagsToSnapshotHasBeenSet = false;
1702 bool m_domainHasBeenSet = false;
1703 bool m_domainIAMRoleNameHasBeenSet = false;
1704 bool m_enableGlobalWriteForwardingHasBeenSet = false;
1705 bool m_networkTypeHasBeenSet = false;
1706 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
1707 bool m_monitoringIntervalHasBeenSet = false;
1708 bool m_monitoringRoleArnHasBeenSet = false;
1709 bool m_databaseInsightsModeHasBeenSet = false;
1710 bool m_enablePerformanceInsightsHasBeenSet = false;
1711 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
1712 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
1713 bool m_enableLimitlessDatabaseHasBeenSet = false;
1714 bool m_clusterScalabilityTypeHasBeenSet = false;
1715 bool m_dBSystemIdHasBeenSet = false;
1716 bool m_manageMasterUserPasswordHasBeenSet = false;
1717 bool m_enableLocalWriteForwardingHasBeenSet = false;
1718 bool m_masterUserSecretKmsKeyIdHasBeenSet = false;
1719 bool m_cACertificateIdentifierHasBeenSet = false;
1720 bool m_engineLifecycleSupportHasBeenSet = false;
1721 bool m_tagSpecificationsHasBeenSet = false;
1722 bool m_masterUserAuthenticationTypeHasBeenSet = false;
1723 bool m_withExpressConfigurationHasBeenSet = false;
1724 bool m_associatedRolesHasBeenSet = false;
1725 bool m_sourceRegionHasBeenSet = false;
1726};
1727
1728} // namespace Model
1729} // namespace RDS
1730} // 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 & AddAssociatedRoles(AssociatedRolesT &&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)
const Aws::Vector< DBClusterAssociatedRole > & GetAssociatedRoles() const
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
CreateDBClusterRequest & WithAssociatedRoles(AssociatedRolesT &&value)
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 & WithWithExpressConfiguration(bool value)
CreateDBClusterRequest & WithPreSignedUrl(PreSignedUrlT &&value)
CreateDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
CreateDBClusterRequest & WithEngine(EngineT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
void SetAssociatedRoles(AssociatedRolesT &&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