AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateClusterRequest.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17namespace Redshift
18{
19namespace 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 "CreateCluster"; }
37
39
40 protected:
41 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
59 inline const Aws::String& GetDBName() const{ return m_dBName; }
60
75 inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; }
76
91 inline void SetDBName(const Aws::String& value) { m_dBNameHasBeenSet = true; m_dBName = value; }
92
107 inline void SetDBName(Aws::String&& value) { m_dBNameHasBeenSet = true; m_dBName = std::move(value); }
108
123 inline void SetDBName(const char* value) { m_dBNameHasBeenSet = true; m_dBName.assign(value); }
124
139 inline CreateClusterRequest& WithDBName(const Aws::String& value) { SetDBName(value); return *this;}
140
155 inline CreateClusterRequest& WithDBName(Aws::String&& value) { SetDBName(std::move(value)); return *this;}
156
171 inline CreateClusterRequest& WithDBName(const char* value) { SetDBName(value); return *this;}
172
173
185 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
186
198 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
199
211 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
212
224 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
225
237 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
238
250 inline CreateClusterRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
251
263 inline CreateClusterRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
264
276 inline CreateClusterRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
277
278
286 inline const Aws::String& GetClusterType() const{ return m_clusterType; }
287
295 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
296
304 inline void SetClusterType(const Aws::String& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
305
313 inline void SetClusterType(Aws::String&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
314
322 inline void SetClusterType(const char* value) { m_clusterTypeHasBeenSet = true; m_clusterType.assign(value); }
323
331 inline CreateClusterRequest& WithClusterType(const Aws::String& value) { SetClusterType(value); return *this;}
332
340 inline CreateClusterRequest& WithClusterType(Aws::String&& value) { SetClusterType(std::move(value)); return *this;}
341
349 inline CreateClusterRequest& WithClusterType(const char* value) { SetClusterType(value); return *this;}
350
351
362 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
363
374 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
375
386 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
387
398 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
399
410 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
411
422 inline CreateClusterRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
423
434 inline CreateClusterRequest& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
435
446 inline CreateClusterRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
447
448
458 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
459
469 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
470
480 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
481
491 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
492
502 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
503
513 inline CreateClusterRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
514
524 inline CreateClusterRequest& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
525
535 inline CreateClusterRequest& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
536
537
548 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
549
560 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
561
572 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
573
584 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
585
596 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
597
609
620 inline CreateClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
621
632 inline CreateClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
633
634
639 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; }
640
645 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
646
651 inline void SetClusterSecurityGroups(const Aws::Vector<Aws::String>& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = value; }
652
657 inline void SetClusterSecurityGroups(Aws::Vector<Aws::String>&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::move(value); }
658
664
670
675 inline CreateClusterRequest& AddClusterSecurityGroups(const Aws::String& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
676
681 inline CreateClusterRequest& AddClusterSecurityGroups(Aws::String&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(std::move(value)); return *this; }
682
687 inline CreateClusterRequest& AddClusterSecurityGroups(const char* value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
688
689
695 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
696
702 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
703
709 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
710
716 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
717
724
731
737 inline CreateClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
738
744 inline CreateClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
745
751 inline CreateClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
752
753
759 inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
760
766 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
767
773 inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
774
780 inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
781
787 inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
788
795
802
808 inline CreateClusterRequest& WithClusterSubnetGroupName(const char* value) { SetClusterSubnetGroupName(value); return *this;}
809
810
821 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
822
833 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
834
845 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
846
857 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
858
869 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
870
881 inline CreateClusterRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
882
893 inline CreateClusterRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
894
905 inline CreateClusterRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
906
907
919 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
920
932 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
933
945 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
946
958 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
959
971 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
972
985
998
1011
1012
1023 inline const Aws::String& GetClusterParameterGroupName() const{ return m_clusterParameterGroupName; }
1024
1035 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
1036
1047 inline void SetClusterParameterGroupName(const Aws::String& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = value; }
1048
1059 inline void SetClusterParameterGroupName(Aws::String&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::move(value); }
1060
1071 inline void SetClusterParameterGroupName(const char* value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName.assign(value); }
1072
1084
1096
1107 inline CreateClusterRequest& WithClusterParameterGroupName(const char* value) { SetClusterParameterGroupName(value); return *this;}
1108
1109
1119 inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; }
1120
1130 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
1131
1141 inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
1142
1153
1154
1161 inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; }
1162
1169 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
1170
1177 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
1178
1186
1187
1195 inline int GetPort() const{ return m_port; }
1196
1204 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
1205
1213 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
1214
1222 inline CreateClusterRequest& WithPort(int value) { SetPort(value); return *this;}
1223
1224
1231 inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
1232
1239 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
1240
1247 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
1248
1255 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
1256
1263 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
1264
1271 inline CreateClusterRequest& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
1272
1279 inline CreateClusterRequest& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
1280
1287 inline CreateClusterRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
1288
1289
1298 inline bool GetAllowVersionUpgrade() const{ return m_allowVersionUpgrade; }
1299
1308 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
1309
1318 inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; }
1319
1328 inline CreateClusterRequest& WithAllowVersionUpgrade(bool value) { SetAllowVersionUpgrade(value); return *this;}
1329
1330
1342 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
1343
1355 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
1356
1368 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
1369
1381 inline CreateClusterRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
1382
1383
1387 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
1388
1392 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
1393
1397 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
1398
1402 inline CreateClusterRequest& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
1403
1404
1409 inline bool GetEncrypted() const{ return m_encrypted; }
1410
1415 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
1416
1421 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
1422
1427 inline CreateClusterRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
1428
1429
1434 inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
1435
1440 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
1441
1446 inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
1447
1452 inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
1453
1458 inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
1459
1465
1471
1477
1478
1483 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
1484
1489 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
1490
1495 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
1496
1501 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
1502
1507 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
1508
1514
1520
1526
1527
1538 inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
1539
1550 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
1551
1562 inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; }
1563
1574 inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); }
1575
1586 inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); }
1587
1598 inline CreateClusterRequest& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
1599
1610 inline CreateClusterRequest& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
1611
1622 inline CreateClusterRequest& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
1623
1624
1628 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1629
1633 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1634
1638 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1639
1643 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1644
1648 inline CreateClusterRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1649
1653 inline CreateClusterRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1654
1658 inline CreateClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1659
1663 inline CreateClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1664
1665
1670 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
1671
1676 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
1677
1682 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
1683
1688 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
1689
1694 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
1695
1700 inline CreateClusterRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
1701
1706 inline CreateClusterRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
1707
1712 inline CreateClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
1713
1714
1724 inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
1725
1735 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
1736
1746 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
1747
1757 inline CreateClusterRequest& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;}
1758
1759
1763 inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
1764
1768 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
1769
1773 inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
1774
1778 inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
1779
1783 inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
1784
1788 inline CreateClusterRequest& WithAdditionalInfo(const Aws::String& value) { SetAdditionalInfo(value); return *this;}
1789
1793 inline CreateClusterRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
1794
1798 inline CreateClusterRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
1799
1800
1810 inline const Aws::Vector<Aws::String>& GetIamRoles() const{ return m_iamRoles; }
1811
1821 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
1822
1832 inline void SetIamRoles(const Aws::Vector<Aws::String>& value) { m_iamRolesHasBeenSet = true; m_iamRoles = value; }
1833
1843 inline void SetIamRoles(Aws::Vector<Aws::String>&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::move(value); }
1844
1854 inline CreateClusterRequest& WithIamRoles(const Aws::Vector<Aws::String>& value) { SetIamRoles(value); return *this;}
1855
1865 inline CreateClusterRequest& WithIamRoles(Aws::Vector<Aws::String>&& value) { SetIamRoles(std::move(value)); return *this;}
1866
1876 inline CreateClusterRequest& AddIamRoles(const Aws::String& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
1877
1887 inline CreateClusterRequest& AddIamRoles(Aws::String&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(std::move(value)); return *this; }
1888
1898 inline CreateClusterRequest& AddIamRoles(const char* value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
1899
1900
1906 inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
1907
1913 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
1914
1920 inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
1921
1927 inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
1928
1934 inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
1935
1942
1948 inline CreateClusterRequest& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;}
1949
1955 inline CreateClusterRequest& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;}
1956
1957
1961 inline const Aws::String& GetSnapshotScheduleIdentifier() const{ return m_snapshotScheduleIdentifier; }
1962
1966 inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
1967
1971 inline void SetSnapshotScheduleIdentifier(const Aws::String& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = value; }
1972
1976 inline void SetSnapshotScheduleIdentifier(Aws::String&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::move(value); }
1977
1981 inline void SetSnapshotScheduleIdentifier(const char* value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier.assign(value); }
1982
1987
1992
1997
1998
2003 inline bool GetAvailabilityZoneRelocation() const{ return m_availabilityZoneRelocation; }
2004
2009 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
2010
2015 inline void SetAvailabilityZoneRelocation(bool value) { m_availabilityZoneRelocationHasBeenSet = true; m_availabilityZoneRelocation = value; }
2016
2022
2023
2029 inline const AquaConfigurationStatus& GetAquaConfigurationStatus() const{ return m_aquaConfigurationStatus; }
2030
2036 inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
2037
2043 inline void SetAquaConfigurationStatus(const AquaConfigurationStatus& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
2044
2050 inline void SetAquaConfigurationStatus(AquaConfigurationStatus&& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = std::move(value); }
2051
2058
2065
2066
2071 inline const Aws::String& GetDefaultIamRoleArn() const{ return m_defaultIamRoleArn; }
2072
2077 inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; }
2078
2083 inline void SetDefaultIamRoleArn(const Aws::String& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = value; }
2084
2089 inline void SetDefaultIamRoleArn(Aws::String&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::move(value); }
2090
2095 inline void SetDefaultIamRoleArn(const char* value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn.assign(value); }
2096
2102
2107 inline CreateClusterRequest& WithDefaultIamRoleArn(Aws::String&& value) { SetDefaultIamRoleArn(std::move(value)); return *this;}
2108
2113 inline CreateClusterRequest& WithDefaultIamRoleArn(const char* value) { SetDefaultIamRoleArn(value); return *this;}
2114
2115
2120 inline const Aws::String& GetLoadSampleData() const{ return m_loadSampleData; }
2121
2126 inline bool LoadSampleDataHasBeenSet() const { return m_loadSampleDataHasBeenSet; }
2127
2132 inline void SetLoadSampleData(const Aws::String& value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData = value; }
2133
2138 inline void SetLoadSampleData(Aws::String&& value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData = std::move(value); }
2139
2144 inline void SetLoadSampleData(const char* value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData.assign(value); }
2145
2150 inline CreateClusterRequest& WithLoadSampleData(const Aws::String& value) { SetLoadSampleData(value); return *this;}
2151
2156 inline CreateClusterRequest& WithLoadSampleData(Aws::String&& value) { SetLoadSampleData(std::move(value)); return *this;}
2157
2162 inline CreateClusterRequest& WithLoadSampleData(const char* value) { SetLoadSampleData(value); return *this;}
2163
2164 private:
2165
2166 Aws::String m_dBName;
2167 bool m_dBNameHasBeenSet = false;
2168
2169 Aws::String m_clusterIdentifier;
2170 bool m_clusterIdentifierHasBeenSet = false;
2171
2172 Aws::String m_clusterType;
2173 bool m_clusterTypeHasBeenSet = false;
2174
2175 Aws::String m_nodeType;
2176 bool m_nodeTypeHasBeenSet = false;
2177
2178 Aws::String m_masterUsername;
2179 bool m_masterUsernameHasBeenSet = false;
2180
2181 Aws::String m_masterUserPassword;
2182 bool m_masterUserPasswordHasBeenSet = false;
2183
2184 Aws::Vector<Aws::String> m_clusterSecurityGroups;
2185 bool m_clusterSecurityGroupsHasBeenSet = false;
2186
2187 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
2188 bool m_vpcSecurityGroupIdsHasBeenSet = false;
2189
2190 Aws::String m_clusterSubnetGroupName;
2191 bool m_clusterSubnetGroupNameHasBeenSet = false;
2192
2193 Aws::String m_availabilityZone;
2194 bool m_availabilityZoneHasBeenSet = false;
2195
2196 Aws::String m_preferredMaintenanceWindow;
2197 bool m_preferredMaintenanceWindowHasBeenSet = false;
2198
2199 Aws::String m_clusterParameterGroupName;
2200 bool m_clusterParameterGroupNameHasBeenSet = false;
2201
2202 int m_automatedSnapshotRetentionPeriod;
2203 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
2204
2205 int m_manualSnapshotRetentionPeriod;
2206 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
2207
2208 int m_port;
2209 bool m_portHasBeenSet = false;
2210
2211 Aws::String m_clusterVersion;
2212 bool m_clusterVersionHasBeenSet = false;
2213
2214 bool m_allowVersionUpgrade;
2215 bool m_allowVersionUpgradeHasBeenSet = false;
2216
2217 int m_numberOfNodes;
2218 bool m_numberOfNodesHasBeenSet = false;
2219
2220 bool m_publiclyAccessible;
2221 bool m_publiclyAccessibleHasBeenSet = false;
2222
2223 bool m_encrypted;
2224 bool m_encryptedHasBeenSet = false;
2225
2226 Aws::String m_hsmClientCertificateIdentifier;
2227 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
2228
2229 Aws::String m_hsmConfigurationIdentifier;
2230 bool m_hsmConfigurationIdentifierHasBeenSet = false;
2231
2232 Aws::String m_elasticIp;
2233 bool m_elasticIpHasBeenSet = false;
2234
2235 Aws::Vector<Tag> m_tags;
2236 bool m_tagsHasBeenSet = false;
2237
2238 Aws::String m_kmsKeyId;
2239 bool m_kmsKeyIdHasBeenSet = false;
2240
2241 bool m_enhancedVpcRouting;
2242 bool m_enhancedVpcRoutingHasBeenSet = false;
2243
2244 Aws::String m_additionalInfo;
2245 bool m_additionalInfoHasBeenSet = false;
2246
2247 Aws::Vector<Aws::String> m_iamRoles;
2248 bool m_iamRolesHasBeenSet = false;
2249
2250 Aws::String m_maintenanceTrackName;
2251 bool m_maintenanceTrackNameHasBeenSet = false;
2252
2253 Aws::String m_snapshotScheduleIdentifier;
2254 bool m_snapshotScheduleIdentifierHasBeenSet = false;
2255
2256 bool m_availabilityZoneRelocation;
2257 bool m_availabilityZoneRelocationHasBeenSet = false;
2258
2259 AquaConfigurationStatus m_aquaConfigurationStatus;
2260 bool m_aquaConfigurationStatusHasBeenSet = false;
2261
2262 Aws::String m_defaultIamRoleArn;
2263 bool m_defaultIamRoleArnHasBeenSet = false;
2264
2265 Aws::String m_loadSampleData;
2266 bool m_loadSampleDataHasBeenSet = false;
2267 };
2268
2269} // namespace Model
2270} // namespace Redshift
2271} // namespace Aws
#define AWS_REDSHIFT_API
CreateClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateClusterRequest & WithMasterUsername(const Aws::String &value)
CreateClusterRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithKmsKeyId(const char *value)
void SetClusterIdentifier(const Aws::String &value)
CreateClusterRequest & WithClusterParameterGroupName(const Aws::String &value)
void SetAdditionalInfo(const Aws::String &value)
CreateClusterRequest & WithAvailabilityZoneRelocation(bool value)
CreateClusterRequest & WithClusterIdentifier(const Aws::String &value)
const Aws::Vector< Aws::String > & GetClusterSecurityGroups() const
CreateClusterRequest & WithClusterIdentifier(const char *value)
CreateClusterRequest & WithClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithClusterVersion(const Aws::String &value)
CreateClusterRequest & WithAquaConfigurationStatus(AquaConfigurationStatus &&value)
void SetNodeType(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetClusterVersion(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateClusterRequest & WithDefaultIamRoleArn(const Aws::String &value)
const Aws::String & GetHsmConfigurationIdentifier() const
CreateClusterRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
CreateClusterRequest & WithNodeType(const char *value)
void SetDefaultIamRoleArn(const Aws::String &value)
CreateClusterRequest & WithKmsKeyId(Aws::String &&value)
CreateClusterRequest & WithDBName(const Aws::String &value)
CreateClusterRequest & WithClusterParameterGroupName(const char *value)
CreateClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetClusterType(const Aws::String &value)
CreateClusterRequest & WithDefaultIamRoleArn(Aws::String &&value)
void SetAquaConfigurationStatus(AquaConfigurationStatus &&value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(const Aws::String &value)
const Aws::Vector< Aws::String > & GetIamRoles() const
CreateClusterRequest & WithClusterParameterGroupName(Aws::String &&value)
CreateClusterRequest & WithNodeType(Aws::String &&value)
CreateClusterRequest & WithAvailabilityZone(const Aws::String &value)
CreateClusterRequest & WithPort(int value)
CreateClusterRequest & WithAquaConfigurationStatus(const AquaConfigurationStatus &value)
CreateClusterRequest & AddIamRoles(Aws::String &&value)
void SetAquaConfigurationStatus(const AquaConfigurationStatus &value)
void SetClusterParameterGroupName(Aws::String &&value)
CreateClusterRequest & WithHsmClientCertificateIdentifier(const char *value)
CreateClusterRequest & WithDBName(const char *value)
CreateClusterRequest & WithMasterUserPassword(const Aws::String &value)
CreateClusterRequest & WithClusterType(const char *value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithKmsKeyId(const Aws::String &value)
CreateClusterRequest & AddTags(Tag &&value)
void SetMasterUserPassword(const Aws::String &value)
CreateClusterRequest & WithClusterVersion(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
CreateClusterRequest & AddClusterSecurityGroups(const Aws::String &value)
CreateClusterRequest & WithAvailabilityZone(Aws::String &&value)
CreateClusterRequest & WithClusterSubnetGroupName(Aws::String &&value)
void SetLoadSampleData(const Aws::String &value)
CreateClusterRequest & WithPubliclyAccessible(bool value)
CreateClusterRequest & WithElasticIp(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
CreateClusterRequest & WithAvailabilityZone(const char *value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(const char *value)
CreateClusterRequest & WithManualSnapshotRetentionPeriod(int value)
CreateClusterRequest & WithClusterType(Aws::String &&value)
void SetIamRoles(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithClusterVersion(const char *value)
CreateClusterRequest & AddIamRoles(const Aws::String &value)
CreateClusterRequest & WithHsmClientCertificateIdentifier(const Aws::String &value)
CreateClusterRequest & AddClusterSecurityGroups(const char *value)
void SetClusterSubnetGroupName(const Aws::String &value)
CreateClusterRequest & WithIamRoles(const Aws::Vector< Aws::String > &value)
void SetSnapshotScheduleIdentifier(const Aws::String &value)
void SetHsmConfigurationIdentifier(Aws::String &&value)
void SetMasterUsername(const Aws::String &value)
void SetSnapshotScheduleIdentifier(Aws::String &&value)
void SetHsmConfigurationIdentifier(const Aws::String &value)
CreateClusterRequest & WithNodeType(const Aws::String &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
CreateClusterRequest & AddTags(const Tag &value)
virtual const char * GetServiceRequestName() const override
void SetClusterParameterGroupName(const Aws::String &value)
CreateClusterRequest & WithTags(Aws::Vector< Tag > &&value)
CreateClusterRequest & WithMaintenanceTrackName(const char *value)
CreateClusterRequest & WithTags(const Aws::Vector< Tag > &value)
CreateClusterRequest & WithHsmClientCertificateIdentifier(Aws::String &&value)
CreateClusterRequest & WithClusterSubnetGroupName(const char *value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithLoadSampleData(const char *value)
CreateClusterRequest & WithMasterUsername(Aws::String &&value)
CreateClusterRequest & WithClusterSubnetGroupName(const Aws::String &value)
CreateClusterRequest & WithMaintenanceTrackName(const Aws::String &value)
void SetHsmClientCertificateIdentifier(Aws::String &&value)
CreateClusterRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
CreateClusterRequest & WithMasterUserPassword(Aws::String &&value)
CreateClusterRequest & WithAdditionalInfo(const char *value)
const Aws::String & GetClusterIdentifier() const
CreateClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateClusterRequest & WithMasterUsername(const char *value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(Aws::String &&value)
const Aws::String & GetSnapshotScheduleIdentifier() const
CreateClusterRequest & WithClusterType(const Aws::String &value)
const AquaConfigurationStatus & GetAquaConfigurationStatus() const
CreateClusterRequest & WithDBName(Aws::String &&value)
CreateClusterRequest & AddIamRoles(const char *value)
CreateClusterRequest & WithLoadSampleData(const Aws::String &value)
CreateClusterRequest & WithMasterUserPassword(const char *value)
CreateClusterRequest & WithClusterIdentifier(Aws::String &&value)
CreateClusterRequest & AddClusterSecurityGroups(Aws::String &&value)
CreateClusterRequest & WithDefaultIamRoleArn(const char *value)
void SetMaintenanceTrackName(const Aws::String &value)
void SetClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithAutomatedSnapshotRetentionPeriod(int value)
CreateClusterRequest & WithClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
const Aws::String & GetClusterSubnetGroupName() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetClusterParameterGroupName() const
CreateClusterRequest & WithNumberOfNodes(int value)
void SetIamRoles(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & AddVpcSecurityGroupIds(const char *value)
CreateClusterRequest & WithHsmConfigurationIdentifier(const char *value)
void SetHsmClientCertificateIdentifier(const Aws::String &value)
CreateClusterRequest & WithAdditionalInfo(const Aws::String &value)
CreateClusterRequest & WithAllowVersionUpgrade(bool value)
CreateClusterRequest & WithElasticIp(const char *value)
CreateClusterRequest & WithPreferredMaintenanceWindow(const char *value)
CreateClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
CreateClusterRequest & WithElasticIp(const Aws::String &value)
const Aws::String & GetMasterUserPassword() const
void SetDBName(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const
CreateClusterRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithEncrypted(bool value)
CreateClusterRequest & WithMaintenanceTrackName(Aws::String &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateClusterRequest & WithAdditionalInfo(Aws::String &&value)
const Aws::String & GetHsmClientCertificateIdentifier() const
const Aws::String & GetMaintenanceTrackName() const
CreateClusterRequest & WithEnhancedVpcRouting(bool value)
CreateClusterRequest & WithLoadSampleData(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector