AWS SDK for C++  1.8.71
AWS SDK for C++
CreateDBClusterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
12 #include <aws/rds/model/Tag.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace RDS
18 {
19 namespace Model
20 {
21 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CreateDBCluster"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
52  inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
53 
61  inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
62 
70  inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
71 
79  inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
80 
88  inline CreateDBClusterRequest& WithAvailabilityZones(const Aws::Vector<Aws::String>& value) { SetAvailabilityZones(value); return *this;}
89 
97  inline CreateDBClusterRequest& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
98 
106  inline CreateDBClusterRequest& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
107 
115  inline CreateDBClusterRequest& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
116 
124  inline CreateDBClusterRequest& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
125 
126 
132  inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
133 
139  inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
140 
146  inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
147 
153  inline CreateDBClusterRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;}
154 
155 
160  inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; }
161 
166  inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
167 
172  inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; }
173 
178  inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); }
179 
184  inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); }
185 
190  inline CreateDBClusterRequest& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;}
191 
196  inline CreateDBClusterRequest& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;}
197 
202  inline CreateDBClusterRequest& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;}
203 
204 
210  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
211 
217  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
218 
224  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
225 
231  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
232 
238  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
239 
245  inline CreateDBClusterRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
246 
252  inline CreateDBClusterRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
253 
259  inline CreateDBClusterRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
260 
261 
269  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
270 
278  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
279 
287  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
288 
296  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
297 
305  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
306 
314  inline CreateDBClusterRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
315 
323  inline CreateDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
324 
332  inline CreateDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
333 
334 
342  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
343 
351  inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
352 
360  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
361 
369  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); }
370 
378  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
379 
387  inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
388 
396  inline CreateDBClusterRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
397 
405  inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
406 
407 
411  inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
412 
416  inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
417 
421  inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
422 
426  inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
427 
431  inline CreateDBClusterRequest& WithVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetVpcSecurityGroupIds(value); return *this;}
432 
436  inline CreateDBClusterRequest& WithVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;}
437 
441  inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
442 
446  inline CreateDBClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
447 
451  inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
452 
453 
459  inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
460 
466  inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
467 
473  inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
474 
480  inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
481 
487  inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
488 
494  inline CreateDBClusterRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;}
495 
501  inline CreateDBClusterRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
502 
508  inline CreateDBClusterRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
509 
510 
517  inline const Aws::String& GetEngine() const{ return m_engine; }
518 
525  inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
526 
533  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
534 
541  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
542 
549  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
550 
557  inline CreateDBClusterRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
558 
565  inline CreateDBClusterRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
566 
573  inline CreateDBClusterRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
574 
575 
593  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
594 
612  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
613 
631  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
632 
650  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
651 
669  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
670 
688  inline CreateDBClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
689 
707  inline CreateDBClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
708 
726  inline CreateDBClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
727 
728 
734  inline int GetPort() const{ return m_port; }
735 
741  inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
742 
748  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
749 
755  inline CreateDBClusterRequest& WithPort(int value) { SetPort(value); return *this;}
756 
757 
764  inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
765 
772  inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
773 
780  inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
781 
788  inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
789 
796  inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
797 
804  inline CreateDBClusterRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
805 
812  inline CreateDBClusterRequest& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
813 
820  inline CreateDBClusterRequest& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
821 
822 
828  inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
829 
835  inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
836 
842  inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
843 
849  inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
850 
856  inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
857 
863  inline CreateDBClusterRequest& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;}
864 
870  inline CreateDBClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
871 
877  inline CreateDBClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
878 
879 
886  inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
887 
894  inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
895 
902  inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
903 
910  inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
911 
918  inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
919 
926  inline CreateDBClusterRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
927 
934  inline CreateDBClusterRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
935 
942  inline CreateDBClusterRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
943 
944 
958  inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
959 
973  inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
974 
988  inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
989 
1003  inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
1004 
1018  inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
1019 
1033  inline CreateDBClusterRequest& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;}
1034 
1048  inline CreateDBClusterRequest& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;}
1049 
1063  inline CreateDBClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;}
1064 
1065 
1077  inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
1078 
1090  inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
1091 
1103  inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
1104 
1116  inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
1117 
1129  inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
1130 
1142  inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;}
1143 
1155  inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;}
1156 
1168  inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
1169 
1170 
1175  inline const Aws::String& GetReplicationSourceIdentifier() const{ return m_replicationSourceIdentifier; }
1176 
1181  inline bool ReplicationSourceIdentifierHasBeenSet() const { return m_replicationSourceIdentifierHasBeenSet; }
1182 
1187  inline void SetReplicationSourceIdentifier(const Aws::String& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = value; }
1188 
1193  inline void SetReplicationSourceIdentifier(Aws::String&& value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier = std::move(value); }
1194 
1199  inline void SetReplicationSourceIdentifier(const char* value) { m_replicationSourceIdentifierHasBeenSet = true; m_replicationSourceIdentifier.assign(value); }
1200 
1205  inline CreateDBClusterRequest& WithReplicationSourceIdentifier(const Aws::String& value) { SetReplicationSourceIdentifier(value); return *this;}
1206 
1211  inline CreateDBClusterRequest& WithReplicationSourceIdentifier(Aws::String&& value) { SetReplicationSourceIdentifier(std::move(value)); return *this;}
1212 
1217  inline CreateDBClusterRequest& WithReplicationSourceIdentifier(const char* value) { SetReplicationSourceIdentifier(value); return *this;}
1218 
1219 
1223  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1224 
1228  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1229 
1233  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1234 
1238  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1239 
1243  inline CreateDBClusterRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1244 
1248  inline CreateDBClusterRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1249 
1253  inline CreateDBClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1254 
1258  inline CreateDBClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1259 
1260 
1264  inline bool GetStorageEncrypted() const{ return m_storageEncrypted; }
1265 
1269  inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
1270 
1274  inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
1275 
1279  inline CreateDBClusterRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
1280 
1281 
1301  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
1302 
1322  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
1323 
1343  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
1344 
1364  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
1365 
1385  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
1386 
1406  inline CreateDBClusterRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
1407 
1427  inline CreateDBClusterRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
1428 
1448  inline CreateDBClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
1449 
1450 
1485  inline const Aws::String& GetPreSignedUrl() const{ return m_preSignedUrl; }
1486 
1521  inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
1522 
1557  inline void SetPreSignedUrl(const Aws::String& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = value; }
1558 
1593  inline void SetPreSignedUrl(Aws::String&& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = std::move(value); }
1594 
1629  inline void SetPreSignedUrl(const char* value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl.assign(value); }
1630 
1665  inline CreateDBClusterRequest& WithPreSignedUrl(const Aws::String& value) { SetPreSignedUrl(value); return *this;}
1666 
1701  inline CreateDBClusterRequest& WithPreSignedUrl(Aws::String&& value) { SetPreSignedUrl(std::move(value)); return *this;}
1702 
1737  inline CreateDBClusterRequest& WithPreSignedUrl(const char* value) { SetPreSignedUrl(value); return *this;}
1738 
1739 
1747  inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; }
1748 
1756  inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
1757 
1765  inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; }
1766 
1774  inline CreateDBClusterRequest& WithEnableIAMDatabaseAuthentication(bool value) { SetEnableIAMDatabaseAuthentication(value); return *this;}
1775 
1776 
1784  inline long long GetBacktrackWindow() const{ return m_backtrackWindow; }
1785 
1793  inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
1794 
1802  inline void SetBacktrackWindow(long long value) { m_backtrackWindowHasBeenSet = true; m_backtrackWindow = value; }
1803 
1811  inline CreateDBClusterRequest& WithBacktrackWindow(long long value) { SetBacktrackWindow(value); return *this;}
1812 
1813 
1825  inline const Aws::Vector<Aws::String>& GetEnableCloudwatchLogsExports() const{ return m_enableCloudwatchLogsExports; }
1826 
1838  inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; }
1839 
1851  inline void SetEnableCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = value; }
1852 
1864  inline void SetEnableCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = std::move(value); }
1865 
1877  inline CreateDBClusterRequest& WithEnableCloudwatchLogsExports(const Aws::Vector<Aws::String>& value) { SetEnableCloudwatchLogsExports(value); return *this;}
1878 
1890  inline CreateDBClusterRequest& WithEnableCloudwatchLogsExports(Aws::Vector<Aws::String>&& value) { SetEnableCloudwatchLogsExports(std::move(value)); return *this;}
1891 
1903  inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const Aws::String& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; }
1904 
1916  inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(Aws::String&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(std::move(value)); return *this; }
1917 
1929  inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const char* value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; }
1930 
1931 
1956  inline const Aws::String& GetEngineMode() const{ return m_engineMode; }
1957 
1982  inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
1983 
2008  inline void SetEngineMode(const Aws::String& value) { m_engineModeHasBeenSet = true; m_engineMode = value; }
2009 
2034  inline void SetEngineMode(Aws::String&& value) { m_engineModeHasBeenSet = true; m_engineMode = std::move(value); }
2035 
2060  inline void SetEngineMode(const char* value) { m_engineModeHasBeenSet = true; m_engineMode.assign(value); }
2061 
2086  inline CreateDBClusterRequest& WithEngineMode(const Aws::String& value) { SetEngineMode(value); return *this;}
2087 
2112  inline CreateDBClusterRequest& WithEngineMode(Aws::String&& value) { SetEngineMode(std::move(value)); return *this;}
2113 
2138  inline CreateDBClusterRequest& WithEngineMode(const char* value) { SetEngineMode(value); return *this;}
2139 
2140 
2145  inline const ScalingConfiguration& GetScalingConfiguration() const{ return m_scalingConfiguration; }
2146 
2151  inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; }
2152 
2157  inline void SetScalingConfiguration(const ScalingConfiguration& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = value; }
2158 
2163  inline void SetScalingConfiguration(ScalingConfiguration&& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = std::move(value); }
2164 
2169  inline CreateDBClusterRequest& WithScalingConfiguration(const ScalingConfiguration& value) { SetScalingConfiguration(value); return *this;}
2170 
2175  inline CreateDBClusterRequest& WithScalingConfiguration(ScalingConfiguration&& value) { SetScalingConfiguration(std::move(value)); return *this;}
2176 
2177 
2183  inline bool GetDeletionProtection() const{ return m_deletionProtection; }
2184 
2190  inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
2191 
2197  inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
2198 
2204  inline CreateDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
2205 
2206 
2211  inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
2212 
2217  inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
2218 
2223  inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
2224 
2229  inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
2230 
2235  inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
2236 
2241  inline CreateDBClusterRequest& WithGlobalClusterIdentifier(const Aws::String& value) { SetGlobalClusterIdentifier(value); return *this;}
2242 
2247  inline CreateDBClusterRequest& WithGlobalClusterIdentifier(Aws::String&& value) { SetGlobalClusterIdentifier(std::move(value)); return *this;}
2248 
2253  inline CreateDBClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
2254 
2255 
2267  inline bool GetEnableHttpEndpoint() const{ return m_enableHttpEndpoint; }
2268 
2280  inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; }
2281 
2293  inline void SetEnableHttpEndpoint(bool value) { m_enableHttpEndpointHasBeenSet = true; m_enableHttpEndpoint = value; }
2294 
2306  inline CreateDBClusterRequest& WithEnableHttpEndpoint(bool value) { SetEnableHttpEndpoint(value); return *this;}
2307 
2308 
2313  inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; }
2314 
2319  inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
2320 
2325  inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
2326 
2331  inline CreateDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
2332 
2333 
2341  inline const Aws::String& GetDomain() const{ return m_domain; }
2342 
2350  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
2351 
2359  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
2360 
2368  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
2369 
2377  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
2378 
2386  inline CreateDBClusterRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
2387 
2395  inline CreateDBClusterRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
2396 
2404  inline CreateDBClusterRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
2405 
2406 
2411  inline const Aws::String& GetDomainIAMRoleName() const{ return m_domainIAMRoleName; }
2412 
2417  inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
2418 
2423  inline void SetDomainIAMRoleName(const Aws::String& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = value; }
2424 
2429  inline void SetDomainIAMRoleName(Aws::String&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::move(value); }
2430 
2435  inline void SetDomainIAMRoleName(const char* value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName.assign(value); }
2436 
2441  inline CreateDBClusterRequest& WithDomainIAMRoleName(const Aws::String& value) { SetDomainIAMRoleName(value); return *this;}
2442 
2447  inline CreateDBClusterRequest& WithDomainIAMRoleName(Aws::String&& value) { SetDomainIAMRoleName(std::move(value)); return *this;}
2448 
2453  inline CreateDBClusterRequest& WithDomainIAMRoleName(const char* value) { SetDomainIAMRoleName(value); return *this;}
2454 
2455 
2463  inline bool GetEnableGlobalWriteForwarding() const{ return m_enableGlobalWriteForwarding; }
2464 
2472  inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; }
2473 
2481  inline void SetEnableGlobalWriteForwarding(bool value) { m_enableGlobalWriteForwardingHasBeenSet = true; m_enableGlobalWriteForwarding = value; }
2482 
2490  inline CreateDBClusterRequest& WithEnableGlobalWriteForwarding(bool value) { SetEnableGlobalWriteForwarding(value); return *this;}
2491 
2492  private:
2493 
2494  Aws::Vector<Aws::String> m_availabilityZones;
2495  bool m_availabilityZonesHasBeenSet;
2496 
2497  int m_backupRetentionPeriod;
2498  bool m_backupRetentionPeriodHasBeenSet;
2499 
2500  Aws::String m_characterSetName;
2501  bool m_characterSetNameHasBeenSet;
2502 
2503  Aws::String m_databaseName;
2504  bool m_databaseNameHasBeenSet;
2505 
2506  Aws::String m_dBClusterIdentifier;
2507  bool m_dBClusterIdentifierHasBeenSet;
2508 
2509  Aws::String m_dBClusterParameterGroupName;
2510  bool m_dBClusterParameterGroupNameHasBeenSet;
2511 
2512  Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
2513  bool m_vpcSecurityGroupIdsHasBeenSet;
2514 
2515  Aws::String m_dBSubnetGroupName;
2516  bool m_dBSubnetGroupNameHasBeenSet;
2517 
2518  Aws::String m_engine;
2519  bool m_engineHasBeenSet;
2520 
2521  Aws::String m_engineVersion;
2522  bool m_engineVersionHasBeenSet;
2523 
2524  int m_port;
2525  bool m_portHasBeenSet;
2526 
2527  Aws::String m_masterUsername;
2528  bool m_masterUsernameHasBeenSet;
2529 
2530  Aws::String m_masterUserPassword;
2531  bool m_masterUserPasswordHasBeenSet;
2532 
2533  Aws::String m_optionGroupName;
2534  bool m_optionGroupNameHasBeenSet;
2535 
2536  Aws::String m_preferredBackupWindow;
2537  bool m_preferredBackupWindowHasBeenSet;
2538 
2539  Aws::String m_preferredMaintenanceWindow;
2540  bool m_preferredMaintenanceWindowHasBeenSet;
2541 
2542  Aws::String m_replicationSourceIdentifier;
2543  bool m_replicationSourceIdentifierHasBeenSet;
2544 
2545  Aws::Vector<Tag> m_tags;
2546  bool m_tagsHasBeenSet;
2547 
2548  bool m_storageEncrypted;
2549  bool m_storageEncryptedHasBeenSet;
2550 
2551  Aws::String m_kmsKeyId;
2552  bool m_kmsKeyIdHasBeenSet;
2553 
2554  Aws::String m_preSignedUrl;
2555  bool m_preSignedUrlHasBeenSet;
2556 
2557  bool m_enableIAMDatabaseAuthentication;
2558  bool m_enableIAMDatabaseAuthenticationHasBeenSet;
2559 
2560  long long m_backtrackWindow;
2561  bool m_backtrackWindowHasBeenSet;
2562 
2563  Aws::Vector<Aws::String> m_enableCloudwatchLogsExports;
2564  bool m_enableCloudwatchLogsExportsHasBeenSet;
2565 
2566  Aws::String m_engineMode;
2567  bool m_engineModeHasBeenSet;
2568 
2569  ScalingConfiguration m_scalingConfiguration;
2570  bool m_scalingConfigurationHasBeenSet;
2571 
2572  bool m_deletionProtection;
2573  bool m_deletionProtectionHasBeenSet;
2574 
2575  Aws::String m_globalClusterIdentifier;
2576  bool m_globalClusterIdentifierHasBeenSet;
2577 
2578  bool m_enableHttpEndpoint;
2579  bool m_enableHttpEndpointHasBeenSet;
2580 
2581  bool m_copyTagsToSnapshot;
2582  bool m_copyTagsToSnapshotHasBeenSet;
2583 
2584  Aws::String m_domain;
2585  bool m_domainHasBeenSet;
2586 
2587  Aws::String m_domainIAMRoleName;
2588  bool m_domainIAMRoleNameHasBeenSet;
2589 
2590  bool m_enableGlobalWriteForwarding;
2591  bool m_enableGlobalWriteForwardingHasBeenSet;
2592  };
2593 
2594 } // namespace Model
2595 } // namespace RDS
2596 } // namespace Aws
const Aws::String & GetDBClusterParameterGroupName() const
CreateDBClusterRequest & WithMasterUsername(Aws::String &&value)
void SetDBClusterIdentifier(const Aws::String &value)
CreateDBClusterRequest & WithPreferredBackupWindow(Aws::String &&value)
CreateDBClusterRequest & WithMasterUsername(const Aws::String &value)
const Aws::String & GetReplicationSourceIdentifier() const
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
void SetDatabaseName(const Aws::String &value)
void SetReplicationSourceIdentifier(const Aws::String &value)
void SetGlobalClusterIdentifier(const Aws::String &value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(const char *value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(Aws::String &&value)
void SetReplicationSourceIdentifier(Aws::String &&value)
CreateDBClusterRequest & WithBacktrackWindow(long long value)
CreateDBClusterRequest & WithDBClusterIdentifier(const char *value)
void SetEngineMode(const Aws::String &value)
void SetDBSubnetGroupName(const Aws::String &value)
CreateDBClusterRequest & AddAvailabilityZones(const char *value)
CreateDBClusterRequest & AddTags(Tag &&value)
CreateDBClusterRequest & WithEngineMode(const Aws::String &value)
const Aws::String & GetGlobalClusterIdentifier() const
CreateDBClusterRequest & WithDomainIAMRoleName(const char *value)
CreateDBClusterRequest & WithScalingConfiguration(ScalingConfiguration &&value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
CreateDBClusterRequest & AddTags(const Tag &value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateDBClusterRequest & WithKmsKeyId(const Aws::String &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
void SetPreferredMaintenanceWindow(Aws::String &&value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDomainIAMRoleName() const
const Aws::String & GetMasterUserPassword() const
const Aws::String & GetDBSubnetGroupName() const
CreateDBClusterRequest & WithEngineVersion(Aws::String &&value)
CreateDBClusterRequest & WithCharacterSetName(Aws::String &&value)
void SetMasterUserPassword(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CreateDBClusterRequest & WithDomainIAMRoleName(Aws::String &&value)
void SetGlobalClusterIdentifier(Aws::String &&value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(const char *value)
CreateDBClusterRequest & WithPreferredBackupWindow(const char *value)
const Aws::String & GetPreferredBackupWindow() const
void SetEnableCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
void SetPreSignedUrl(const Aws::String &value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(const char *value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
CreateDBClusterRequest & WithCharacterSetName(const Aws::String &value)
CreateDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(const Aws::String &value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(const char *value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(const Aws::String &value)
CreateDBClusterRequest & WithMasterUserPassword(const char *value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Vector< Tag > &value)
CreateDBClusterRequest & WithMasterUserPassword(const Aws::String &value)
CreateDBClusterRequest & WithOptionGroupName(const char *value)
CreateDBClusterRequest & WithMasterUsername(const char *value)
CreateDBClusterRequest & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithDomain(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
CreateDBClusterRequest & WithDBSubnetGroupName(const Aws::String &value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
CreateDBClusterRequest & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetDBClusterParameterGroupName(const char *value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(const char *value)
CreateDBClusterRequest & WithEngine(const char *value)
void SetCharacterSetName(const Aws::String &value)
void SetOptionGroupName(const Aws::String &value)
CreateDBClusterRequest & WithDBSubnetGroupName(const char *value)
CreateDBClusterRequest & WithEnableGlobalWriteForwarding(bool value)
void SetMasterUsername(const Aws::String &value)
void SetEngine(const Aws::String &value)
void SetEnableCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & AddAvailabilityZones(const Aws::String &value)
CreateDBClusterRequest & WithEnableHttpEndpoint(bool value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithPreferredBackupWindow(const Aws::String &value)
CreateDBClusterRequest & WithEngineVersion(const char *value)
CreateDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
CreateDBClusterRequest & WithEngineVersion(const Aws::String &value)
void SetScalingConfiguration(ScalingConfiguration &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
CreateDBClusterRequest & WithKmsKeyId(const char *value)
void SetScalingConfiguration(const ScalingConfiguration &value)
void SetDBClusterParameterGroupName(const Aws::String &value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(Aws::String &&value)
const Aws::String & GetDBClusterIdentifier() const
void SetPreferredBackupWindow(const Aws::String &value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithDomain(const char *value)
CreateDBClusterRequest & WithDomain(const Aws::String &value)
CreateDBClusterRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateDBClusterRequest & WithPreSignedUrl(const char *value)
CreateDBClusterRequest & WithCharacterSetName(const char *value)
CreateDBClusterRequest & WithDeletionProtection(bool value)
CreateDBClusterRequest & WithScalingConfiguration(const ScalingConfiguration &value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(const char *value)
CreateDBClusterRequest & WithPreSignedUrl(Aws::String &&value)
CreateDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
const Aws::String & GetOptionGroupName() const
void SetDomainIAMRoleName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateDBClusterRequest & WithDatabaseName(const Aws::String &value)
CreateDBClusterRequest & WithDatabaseName(Aws::String &&value)
CreateDBClusterRequest & WithPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateDBClusterRequest & WithCopyTagsToSnapshot(bool value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
void SetDBClusterParameterGroupName(Aws::String &&value)
CreateDBClusterRequest & WithStorageEncrypted(bool value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Tag > & GetTags() const
CreateDBClusterRequest & WithMasterUserPassword(Aws::String &&value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithEngine(const Aws::String &value)
CreateDBClusterRequest & WithDatabaseName(const char *value)
CreateDBClusterRequest & WithEngine(Aws::String &&value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(Aws::String &&value)
const Aws::String & GetCharacterSetName() const
CreateDBClusterRequest & WithOptionGroupName(Aws::String &&value)
CreateDBClusterRequest & WithEngineMode(const char *value)
CreateDBClusterRequest & WithEngineMode(Aws::String &&value)
const ScalingConfiguration & GetScalingConfiguration() const
CreateDBClusterRequest & WithDBSubnetGroupName(Aws::String &&value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(const Aws::String &value)
CreateDBClusterRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
CreateDBClusterRequest & AddAvailabilityZones(Aws::String &&value)
CreateDBClusterRequest & WithPreSignedUrl(const Aws::String &value)
CreateDBClusterRequest & WithDomainIAMRoleName(const Aws::String &value)
CreateDBClusterRequest & WithOptionGroupName(const Aws::String &value)
CreateDBClusterRequest & WithKmsKeyId(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const