AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateClusterRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/AquaConfigurationStatus.h>
12#include <aws/redshift/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Redshift
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_REDSHIFT_API CreateClusterRequest() = default;
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
38 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
60 inline const Aws::String& GetDBName() const { return m_dBName; }
61 inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; }
62 template<typename DBNameT = Aws::String>
63 void SetDBName(DBNameT&& value) { m_dBNameHasBeenSet = true; m_dBName = std::forward<DBNameT>(value); }
64 template<typename DBNameT = Aws::String>
65 CreateClusterRequest& WithDBName(DBNameT&& value) { SetDBName(std::forward<DBNameT>(value)); return *this;}
67
69
80 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
81 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
82 template<typename ClusterIdentifierT = Aws::String>
83 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
84 template<typename ClusterIdentifierT = Aws::String>
85 CreateClusterRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
87
89
96 inline const Aws::String& GetClusterType() const { return m_clusterType; }
97 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
98 template<typename ClusterTypeT = Aws::String>
99 void SetClusterType(ClusterTypeT&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::forward<ClusterTypeT>(value); }
100 template<typename ClusterTypeT = Aws::String>
101 CreateClusterRequest& WithClusterType(ClusterTypeT&& value) { SetClusterType(std::forward<ClusterTypeT>(value)); return *this;}
103
105
114 inline const Aws::String& GetNodeType() const { return m_nodeType; }
115 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
116 template<typename NodeTypeT = Aws::String>
117 void SetNodeType(NodeTypeT&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::forward<NodeTypeT>(value); }
118 template<typename NodeTypeT = Aws::String>
119 CreateClusterRequest& WithNodeType(NodeTypeT&& value) { SetNodeType(std::forward<NodeTypeT>(value)); return *this;}
121
123
135 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
136 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
137 template<typename MasterUsernameT = Aws::String>
138 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::forward<MasterUsernameT>(value); }
139 template<typename MasterUsernameT = Aws::String>
140 CreateClusterRequest& WithMasterUsername(MasterUsernameT&& value) { SetMasterUsername(std::forward<MasterUsernameT>(value)); return *this;}
142
144
155 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
156 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
157 template<typename MasterUserPasswordT = Aws::String>
158 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
159 template<typename MasterUserPasswordT = Aws::String>
160 CreateClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) { SetMasterUserPassword(std::forward<MasterUserPasswordT>(value)); return *this;}
162
164
168 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const { return m_clusterSecurityGroups; }
169 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
170 template<typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
171 void SetClusterSecurityGroups(ClusterSecurityGroupsT&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::forward<ClusterSecurityGroupsT>(value); }
172 template<typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
173 CreateClusterRequest& WithClusterSecurityGroups(ClusterSecurityGroupsT&& value) { SetClusterSecurityGroups(std::forward<ClusterSecurityGroupsT>(value)); return *this;}
174 template<typename ClusterSecurityGroupsT = Aws::String>
175 CreateClusterRequest& AddClusterSecurityGroups(ClusterSecurityGroupsT&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.emplace_back(std::forward<ClusterSecurityGroupsT>(value)); return *this; }
177
179
184 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
185 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
186 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
187 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
188 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
189 CreateClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value)); return *this;}
190 template<typename VpcSecurityGroupIdsT = Aws::String>
191 CreateClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value)); return *this; }
193
195
200 inline const Aws::String& GetClusterSubnetGroupName() const { return m_clusterSubnetGroupName; }
201 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
202 template<typename ClusterSubnetGroupNameT = Aws::String>
203 void SetClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::forward<ClusterSubnetGroupNameT>(value); }
204 template<typename ClusterSubnetGroupNameT = Aws::String>
205 CreateClusterRequest& WithClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) { SetClusterSubnetGroupName(std::forward<ClusterSubnetGroupNameT>(value)); return *this;}
207
209
219 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
220 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
221 template<typename AvailabilityZoneT = Aws::String>
222 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
223 template<typename AvailabilityZoneT = Aws::String>
224 CreateClusterRequest& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
226
228
239 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
240 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
241 template<typename PreferredMaintenanceWindowT = Aws::String>
242 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
243 template<typename PreferredMaintenanceWindowT = Aws::String>
244 CreateClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
246
248
258 inline const Aws::String& GetClusterParameterGroupName() const { return m_clusterParameterGroupName; }
259 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
260 template<typename ClusterParameterGroupNameT = Aws::String>
261 void SetClusterParameterGroupName(ClusterParameterGroupNameT&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::forward<ClusterParameterGroupNameT>(value); }
262 template<typename ClusterParameterGroupNameT = Aws::String>
263 CreateClusterRequest& WithClusterParameterGroupName(ClusterParameterGroupNameT&& value) { SetClusterParameterGroupName(std::forward<ClusterParameterGroupNameT>(value)); return *this;}
265
267
276 inline int GetAutomatedSnapshotRetentionPeriod() const { return m_automatedSnapshotRetentionPeriod; }
277 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
278 inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
281
283
289 inline int GetManualSnapshotRetentionPeriod() const { return m_manualSnapshotRetentionPeriod; }
290 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
291 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
294
296
307 inline int GetPort() const { return m_port; }
308 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
309 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
310 inline CreateClusterRequest& WithPort(int value) { SetPort(value); return *this;}
312
314
320 inline const Aws::String& GetClusterVersion() const { return m_clusterVersion; }
321 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
322 template<typename ClusterVersionT = Aws::String>
323 void SetClusterVersion(ClusterVersionT&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::forward<ClusterVersionT>(value); }
324 template<typename ClusterVersionT = Aws::String>
325 CreateClusterRequest& WithClusterVersion(ClusterVersionT&& value) { SetClusterVersion(std::forward<ClusterVersionT>(value)); return *this;}
327
329
337 inline bool GetAllowVersionUpgrade() const { return m_allowVersionUpgrade; }
338 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
339 inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; }
340 inline CreateClusterRequest& WithAllowVersionUpgrade(bool value) { SetAllowVersionUpgrade(value); return *this;}
342
344
355 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
356 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
357 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
358 inline CreateClusterRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
360
362
366 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
367 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
368 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
369 inline CreateClusterRequest& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
371
373
378 inline bool GetEncrypted() const { return m_encrypted; }
379 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
380 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
381 inline CreateClusterRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
383
385
389 inline const Aws::String& GetHsmClientCertificateIdentifier() const { return m_hsmClientCertificateIdentifier; }
390 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
391 template<typename HsmClientCertificateIdentifierT = Aws::String>
392 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value); }
393 template<typename HsmClientCertificateIdentifierT = Aws::String>
394 CreateClusterRequest& WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value)); return *this;}
396
398
402 inline const Aws::String& GetHsmConfigurationIdentifier() const { return m_hsmConfigurationIdentifier; }
403 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
404 template<typename HsmConfigurationIdentifierT = Aws::String>
405 void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::forward<HsmConfigurationIdentifierT>(value); }
406 template<typename HsmConfigurationIdentifierT = Aws::String>
407 CreateClusterRequest& WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) { SetHsmConfigurationIdentifier(std::forward<HsmConfigurationIdentifierT>(value)); return *this;}
409
411
421 inline const Aws::String& GetElasticIp() const { return m_elasticIp; }
422 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
423 template<typename ElasticIpT = Aws::String>
424 void SetElasticIp(ElasticIpT&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::forward<ElasticIpT>(value); }
425 template<typename ElasticIpT = Aws::String>
426 CreateClusterRequest& WithElasticIp(ElasticIpT&& value) { SetElasticIp(std::forward<ElasticIpT>(value)); return *this;}
428
430
433 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
434 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
435 template<typename TagsT = Aws::Vector<Tag>>
436 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
437 template<typename TagsT = Aws::Vector<Tag>>
438 CreateClusterRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
439 template<typename TagsT = Tag>
440 CreateClusterRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
442
444
448 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
449 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
450 template<typename KmsKeyIdT = Aws::String>
451 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
452 template<typename KmsKeyIdT = Aws::String>
453 CreateClusterRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
455
457
466 inline bool GetEnhancedVpcRouting() const { return m_enhancedVpcRouting; }
467 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
468 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
469 inline CreateClusterRequest& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;}
471
473
476 inline const Aws::String& GetAdditionalInfo() const { return m_additionalInfo; }
477 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
478 template<typename AdditionalInfoT = Aws::String>
479 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
480 template<typename AdditionalInfoT = Aws::String>
481 CreateClusterRequest& WithAdditionalInfo(AdditionalInfoT&& value) { SetAdditionalInfo(std::forward<AdditionalInfoT>(value)); return *this;}
483
485
494 inline const Aws::Vector<Aws::String>& GetIamRoles() const { return m_iamRoles; }
495 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
496 template<typename IamRolesT = Aws::Vector<Aws::String>>
497 void SetIamRoles(IamRolesT&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::forward<IamRolesT>(value); }
498 template<typename IamRolesT = Aws::Vector<Aws::String>>
499 CreateClusterRequest& WithIamRoles(IamRolesT&& value) { SetIamRoles(std::forward<IamRolesT>(value)); return *this;}
500 template<typename IamRolesT = Aws::String>
501 CreateClusterRequest& AddIamRoles(IamRolesT&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.emplace_back(std::forward<IamRolesT>(value)); return *this; }
503
505
510 inline const Aws::String& GetMaintenanceTrackName() const { return m_maintenanceTrackName; }
511 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
512 template<typename MaintenanceTrackNameT = Aws::String>
513 void SetMaintenanceTrackName(MaintenanceTrackNameT&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::forward<MaintenanceTrackNameT>(value); }
514 template<typename MaintenanceTrackNameT = Aws::String>
515 CreateClusterRequest& WithMaintenanceTrackName(MaintenanceTrackNameT&& value) { SetMaintenanceTrackName(std::forward<MaintenanceTrackNameT>(value)); return *this;}
517
519
522 inline const Aws::String& GetSnapshotScheduleIdentifier() const { return m_snapshotScheduleIdentifier; }
523 inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
524 template<typename SnapshotScheduleIdentifierT = Aws::String>
525 void SetSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::forward<SnapshotScheduleIdentifierT>(value); }
526 template<typename SnapshotScheduleIdentifierT = Aws::String>
527 CreateClusterRequest& WithSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT&& value) { SetSnapshotScheduleIdentifier(std::forward<SnapshotScheduleIdentifierT>(value)); return *this;}
529
531
535 inline bool GetAvailabilityZoneRelocation() const { return m_availabilityZoneRelocation; }
536 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
537 inline void SetAvailabilityZoneRelocation(bool value) { m_availabilityZoneRelocationHasBeenSet = true; m_availabilityZoneRelocation = value; }
540
542
547 inline AquaConfigurationStatus GetAquaConfigurationStatus() const { return m_aquaConfigurationStatus; }
548 inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
549 inline void SetAquaConfigurationStatus(AquaConfigurationStatus value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
552
554
558 inline const Aws::String& GetDefaultIamRoleArn() const { return m_defaultIamRoleArn; }
559 inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; }
560 template<typename DefaultIamRoleArnT = Aws::String>
561 void SetDefaultIamRoleArn(DefaultIamRoleArnT&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::forward<DefaultIamRoleArnT>(value); }
562 template<typename DefaultIamRoleArnT = Aws::String>
563 CreateClusterRequest& WithDefaultIamRoleArn(DefaultIamRoleArnT&& value) { SetDefaultIamRoleArn(std::forward<DefaultIamRoleArnT>(value)); return *this;}
565
567
571 inline const Aws::String& GetLoadSampleData() const { return m_loadSampleData; }
572 inline bool LoadSampleDataHasBeenSet() const { return m_loadSampleDataHasBeenSet; }
573 template<typename LoadSampleDataT = Aws::String>
574 void SetLoadSampleData(LoadSampleDataT&& value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData = std::forward<LoadSampleDataT>(value); }
575 template<typename LoadSampleDataT = Aws::String>
576 CreateClusterRequest& WithLoadSampleData(LoadSampleDataT&& value) { SetLoadSampleData(std::forward<LoadSampleDataT>(value)); return *this;}
578
580
587 inline bool GetManageMasterPassword() const { return m_manageMasterPassword; }
588 inline bool ManageMasterPasswordHasBeenSet() const { return m_manageMasterPasswordHasBeenSet; }
589 inline void SetManageMasterPassword(bool value) { m_manageMasterPasswordHasBeenSet = true; m_manageMasterPassword = value; }
590 inline CreateClusterRequest& WithManageMasterPassword(bool value) { SetManageMasterPassword(value); return *this;}
592
594
599 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const { return m_masterPasswordSecretKmsKeyId; }
600 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
601 template<typename MasterPasswordSecretKmsKeyIdT = Aws::String>
602 void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = std::forward<MasterPasswordSecretKmsKeyIdT>(value); }
603 template<typename MasterPasswordSecretKmsKeyIdT = Aws::String>
604 CreateClusterRequest& WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) { SetMasterPasswordSecretKmsKeyId(std::forward<MasterPasswordSecretKmsKeyIdT>(value)); return *this;}
606
608
612 inline const Aws::String& GetIpAddressType() const { return m_ipAddressType; }
613 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
614 template<typename IpAddressTypeT = Aws::String>
615 void SetIpAddressType(IpAddressTypeT&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::forward<IpAddressTypeT>(value); }
616 template<typename IpAddressTypeT = Aws::String>
617 CreateClusterRequest& WithIpAddressType(IpAddressTypeT&& value) { SetIpAddressType(std::forward<IpAddressTypeT>(value)); return *this;}
619
621
625 inline bool GetMultiAZ() const { return m_multiAZ; }
626 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
627 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
628 inline CreateClusterRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
630
632
636 inline const Aws::String& GetRedshiftIdcApplicationArn() const { return m_redshiftIdcApplicationArn; }
637 inline bool RedshiftIdcApplicationArnHasBeenSet() const { return m_redshiftIdcApplicationArnHasBeenSet; }
638 template<typename RedshiftIdcApplicationArnT = Aws::String>
639 void SetRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT&& value) { m_redshiftIdcApplicationArnHasBeenSet = true; m_redshiftIdcApplicationArn = std::forward<RedshiftIdcApplicationArnT>(value); }
640 template<typename RedshiftIdcApplicationArnT = Aws::String>
641 CreateClusterRequest& WithRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT&& value) { SetRedshiftIdcApplicationArn(std::forward<RedshiftIdcApplicationArnT>(value)); return *this;}
643 private:
644
645 Aws::String m_dBName;
646 bool m_dBNameHasBeenSet = false;
647
648 Aws::String m_clusterIdentifier;
649 bool m_clusterIdentifierHasBeenSet = false;
650
651 Aws::String m_clusterType;
652 bool m_clusterTypeHasBeenSet = false;
653
654 Aws::String m_nodeType;
655 bool m_nodeTypeHasBeenSet = false;
656
657 Aws::String m_masterUsername;
658 bool m_masterUsernameHasBeenSet = false;
659
660 Aws::String m_masterUserPassword;
661 bool m_masterUserPasswordHasBeenSet = false;
662
663 Aws::Vector<Aws::String> m_clusterSecurityGroups;
664 bool m_clusterSecurityGroupsHasBeenSet = false;
665
666 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
667 bool m_vpcSecurityGroupIdsHasBeenSet = false;
668
669 Aws::String m_clusterSubnetGroupName;
670 bool m_clusterSubnetGroupNameHasBeenSet = false;
671
672 Aws::String m_availabilityZone;
673 bool m_availabilityZoneHasBeenSet = false;
674
675 Aws::String m_preferredMaintenanceWindow;
676 bool m_preferredMaintenanceWindowHasBeenSet = false;
677
678 Aws::String m_clusterParameterGroupName;
679 bool m_clusterParameterGroupNameHasBeenSet = false;
680
681 int m_automatedSnapshotRetentionPeriod{0};
682 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
683
684 int m_manualSnapshotRetentionPeriod{0};
685 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
686
687 int m_port{0};
688 bool m_portHasBeenSet = false;
689
690 Aws::String m_clusterVersion;
691 bool m_clusterVersionHasBeenSet = false;
692
693 bool m_allowVersionUpgrade{false};
694 bool m_allowVersionUpgradeHasBeenSet = false;
695
696 int m_numberOfNodes{0};
697 bool m_numberOfNodesHasBeenSet = false;
698
699 bool m_publiclyAccessible{false};
700 bool m_publiclyAccessibleHasBeenSet = false;
701
702 bool m_encrypted{false};
703 bool m_encryptedHasBeenSet = false;
704
705 Aws::String m_hsmClientCertificateIdentifier;
706 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
707
708 Aws::String m_hsmConfigurationIdentifier;
709 bool m_hsmConfigurationIdentifierHasBeenSet = false;
710
711 Aws::String m_elasticIp;
712 bool m_elasticIpHasBeenSet = false;
713
714 Aws::Vector<Tag> m_tags;
715 bool m_tagsHasBeenSet = false;
716
717 Aws::String m_kmsKeyId;
718 bool m_kmsKeyIdHasBeenSet = false;
719
720 bool m_enhancedVpcRouting{false};
721 bool m_enhancedVpcRoutingHasBeenSet = false;
722
723 Aws::String m_additionalInfo;
724 bool m_additionalInfoHasBeenSet = false;
725
726 Aws::Vector<Aws::String> m_iamRoles;
727 bool m_iamRolesHasBeenSet = false;
728
729 Aws::String m_maintenanceTrackName;
730 bool m_maintenanceTrackNameHasBeenSet = false;
731
732 Aws::String m_snapshotScheduleIdentifier;
733 bool m_snapshotScheduleIdentifierHasBeenSet = false;
734
735 bool m_availabilityZoneRelocation{false};
736 bool m_availabilityZoneRelocationHasBeenSet = false;
737
739 bool m_aquaConfigurationStatusHasBeenSet = false;
740
741 Aws::String m_defaultIamRoleArn;
742 bool m_defaultIamRoleArnHasBeenSet = false;
743
744 Aws::String m_loadSampleData;
745 bool m_loadSampleDataHasBeenSet = false;
746
747 bool m_manageMasterPassword{false};
748 bool m_manageMasterPasswordHasBeenSet = false;
749
750 Aws::String m_masterPasswordSecretKmsKeyId;
751 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
752
753 Aws::String m_ipAddressType;
754 bool m_ipAddressTypeHasBeenSet = false;
755
756 bool m_multiAZ{false};
757 bool m_multiAZHasBeenSet = false;
758
759 Aws::String m_redshiftIdcApplicationArn;
760 bool m_redshiftIdcApplicationArnHasBeenSet = false;
761 };
762
763} // namespace Model
764} // namespace Redshift
765} // namespace Aws
CreateClusterRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetClusterVersion(ClusterVersionT &&value)
CreateClusterRequest & WithManageMasterPassword(bool value)
CreateClusterRequest & WithClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
CreateClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateClusterRequest & AddIamRoles(IamRolesT &&value)
CreateClusterRequest & WithAvailabilityZoneRelocation(bool value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const Aws::Vector< Aws::String > & GetClusterSecurityGroups() const
CreateClusterRequest & WithClusterSecurityGroups(ClusterSecurityGroupsT &&value)
AquaConfigurationStatus GetAquaConfigurationStatus() const
CreateClusterRequest & WithLoadSampleData(LoadSampleDataT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT &&value)
const Aws::String & GetHsmConfigurationIdentifier() const
void SetDefaultIamRoleArn(DefaultIamRoleArnT &&value)
CreateClusterRequest & WithTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetIamRoles() const
CreateClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateClusterRequest & WithPort(int value)
CreateClusterRequest & WithElasticIp(ElasticIpT &&value)
CreateClusterRequest & WithIpAddressType(IpAddressTypeT &&value)
CreateClusterRequest & WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
CreateClusterRequest & WithAquaConfigurationStatus(AquaConfigurationStatus value)
void SetMasterUserPassword(MasterUserPasswordT &&value)
void SetLoadSampleData(LoadSampleDataT &&value)
void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
void SetClusterParameterGroupName(ClusterParameterGroupNameT &&value)
CreateClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
CreateClusterRequest & WithDBName(DBNameT &&value)
CreateClusterRequest & WithPubliclyAccessible(bool value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
CreateClusterRequest & WithClusterParameterGroupName(ClusterParameterGroupNameT &&value)
void SetClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
CreateClusterRequest & WithManualSnapshotRetentionPeriod(int value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
AWS_REDSHIFT_API CreateClusterRequest()=default
const Aws::String & GetRedshiftIdcApplicationArn() const
CreateClusterRequest & WithDefaultIamRoleArn(DefaultIamRoleArnT &&value)
virtual const char * GetServiceRequestName() const override
CreateClusterRequest & WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT &&value)
CreateClusterRequest & WithClusterVersion(ClusterVersionT &&value)
void SetMaintenanceTrackName(MaintenanceTrackNameT &&value)
CreateClusterRequest & WithMultiAZ(bool value)
CreateClusterRequest & WithNodeType(NodeTypeT &&value)
CreateClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateClusterRequest & WithMaintenanceTrackName(MaintenanceTrackNameT &&value)
CreateClusterRequest & WithIamRoles(IamRolesT &&value)
CreateClusterRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
CreateClusterRequest & WithClusterType(ClusterTypeT &&value)
const Aws::String & GetSnapshotScheduleIdentifier() const
CreateClusterRequest & WithMasterUsername(MasterUsernameT &&value)
void SetAdditionalInfo(AdditionalInfoT &&value)
CreateClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT &&value)
CreateClusterRequest & WithAdditionalInfo(AdditionalInfoT &&value)
CreateClusterRequest & WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
CreateClusterRequest & AddTags(TagsT &&value)
void SetMasterUsername(MasterUsernameT &&value)
CreateClusterRequest & AddClusterSecurityGroups(ClusterSecurityGroupsT &&value)
void SetSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT &&value)
CreateClusterRequest & WithAutomatedSnapshotRetentionPeriod(int value)
CreateClusterRequest & WithRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT &&value)
const Aws::String & GetMasterPasswordSecretKmsKeyId() const
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)
CreateClusterRequest & WithAllowVersionUpgrade(bool value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
CreateClusterRequest & WithEncrypted(bool value)
const Aws::Vector< Tag > & GetTags() const
void SetAquaConfigurationStatus(AquaConfigurationStatus value)
const Aws::String & GetHsmClientCertificateIdentifier() const
const Aws::String & GetMaintenanceTrackName() const
void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
CreateClusterRequest & WithEnhancedVpcRouting(bool value)
void SetClusterSecurityGroups(ClusterSecurityGroupsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector