AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDBName(const Aws::String& value) { m_dBNameHasBeenSet = true; m_dBName = value; }
63 inline void SetDBName(Aws::String&& value) { m_dBNameHasBeenSet = true; m_dBName = std::move(value); }
64 inline void SetDBName(const char* value) { m_dBNameHasBeenSet = true; m_dBName.assign(value); }
65 inline CreateClusterRequest& WithDBName(const Aws::String& value) { SetDBName(value); return *this;}
66 inline CreateClusterRequest& WithDBName(Aws::String&& value) { SetDBName(std::move(value)); return *this;}
67 inline CreateClusterRequest& WithDBName(const char* value) { SetDBName(value); return *this;}
69
71
82 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
83 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
84 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
85 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
86 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
87 inline CreateClusterRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
88 inline CreateClusterRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
89 inline CreateClusterRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
91
93
100 inline const Aws::String& GetClusterType() const{ return m_clusterType; }
101 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
102 inline void SetClusterType(const Aws::String& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
103 inline void SetClusterType(Aws::String&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
104 inline void SetClusterType(const char* value) { m_clusterTypeHasBeenSet = true; m_clusterType.assign(value); }
105 inline CreateClusterRequest& WithClusterType(const Aws::String& value) { SetClusterType(value); return *this;}
106 inline CreateClusterRequest& WithClusterType(Aws::String&& value) { SetClusterType(std::move(value)); return *this;}
107 inline CreateClusterRequest& WithClusterType(const char* value) { SetClusterType(value); return *this;}
109
111
120 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
121 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
122 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
123 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
124 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
125 inline CreateClusterRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
126 inline CreateClusterRequest& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
127 inline CreateClusterRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
129
131
143 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
144 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
145 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
146 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
147 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
148 inline CreateClusterRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
149 inline CreateClusterRequest& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
150 inline CreateClusterRequest& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
152
154
165 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
166 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
167 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
168 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
169 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
171 inline CreateClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
172 inline CreateClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
174
176
180 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; }
181 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
182 inline void SetClusterSecurityGroups(const Aws::Vector<Aws::String>& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = value; }
183 inline void SetClusterSecurityGroups(Aws::Vector<Aws::String>&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::move(value); }
186 inline CreateClusterRequest& AddClusterSecurityGroups(const Aws::String& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
187 inline CreateClusterRequest& AddClusterSecurityGroups(Aws::String&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(std::move(value)); return *this; }
188 inline CreateClusterRequest& AddClusterSecurityGroups(const char* value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; }
190
192
197 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
198 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
199 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
200 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
203 inline CreateClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
204 inline CreateClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
205 inline CreateClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
207
209
214 inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
215 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
216 inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
217 inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
218 inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
221 inline CreateClusterRequest& WithClusterSubnetGroupName(const char* value) { SetClusterSubnetGroupName(value); return *this;}
223
225
235 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
236 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
237 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
238 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
239 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
240 inline CreateClusterRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
241 inline CreateClusterRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
242 inline CreateClusterRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
244
246
257 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
258 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
259 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
260 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
261 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
266
268
278 inline const Aws::String& GetClusterParameterGroupName() const{ return m_clusterParameterGroupName; }
279 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
280 inline void SetClusterParameterGroupName(const Aws::String& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = value; }
281 inline void SetClusterParameterGroupName(Aws::String&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::move(value); }
282 inline void SetClusterParameterGroupName(const char* value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName.assign(value); }
285 inline CreateClusterRequest& WithClusterParameterGroupName(const char* value) { SetClusterParameterGroupName(value); return *this;}
287
289
298 inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; }
299 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
300 inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
303
305
311 inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; }
312 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
313 inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; }
316
318
329 inline int GetPort() const{ return m_port; }
330 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
331 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
332 inline CreateClusterRequest& WithPort(int value) { SetPort(value); return *this;}
334
336
342 inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
343 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
344 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
345 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
346 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
347 inline CreateClusterRequest& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
348 inline CreateClusterRequest& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
349 inline CreateClusterRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
351
353
361 inline bool GetAllowVersionUpgrade() const{ return m_allowVersionUpgrade; }
362 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
363 inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; }
364 inline CreateClusterRequest& WithAllowVersionUpgrade(bool value) { SetAllowVersionUpgrade(value); return *this;}
366
368
379 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
380 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
381 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
382 inline CreateClusterRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
384
386
389 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
390 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
391 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
392 inline CreateClusterRequest& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
394
396
400 inline bool GetEncrypted() const{ return m_encrypted; }
401 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
402 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
403 inline CreateClusterRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
405
407
411 inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
412 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
413 inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
414 inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
415 inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
420
422
426 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
427 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
428 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
429 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
430 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
435
437
447 inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
448 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
449 inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; }
450 inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); }
451 inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); }
452 inline CreateClusterRequest& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
453 inline CreateClusterRequest& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
454 inline CreateClusterRequest& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
456
458
461 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
462 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
463 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
464 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
465 inline CreateClusterRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
466 inline CreateClusterRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
467 inline CreateClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
468 inline CreateClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
470
472
476 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
477 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
478 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
479 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
480 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
481 inline CreateClusterRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
482 inline CreateClusterRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
483 inline CreateClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
485
487
496 inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
497 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
498 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
499 inline CreateClusterRequest& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;}
501
503
506 inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
507 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
508 inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
509 inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
510 inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
511 inline CreateClusterRequest& WithAdditionalInfo(const Aws::String& value) { SetAdditionalInfo(value); return *this;}
512 inline CreateClusterRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
513 inline CreateClusterRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
515
517
526 inline const Aws::Vector<Aws::String>& GetIamRoles() const{ return m_iamRoles; }
527 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
528 inline void SetIamRoles(const Aws::Vector<Aws::String>& value) { m_iamRolesHasBeenSet = true; m_iamRoles = value; }
529 inline void SetIamRoles(Aws::Vector<Aws::String>&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::move(value); }
530 inline CreateClusterRequest& WithIamRoles(const Aws::Vector<Aws::String>& value) { SetIamRoles(value); return *this;}
531 inline CreateClusterRequest& WithIamRoles(Aws::Vector<Aws::String>&& value) { SetIamRoles(std::move(value)); return *this;}
532 inline CreateClusterRequest& AddIamRoles(const Aws::String& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
533 inline CreateClusterRequest& AddIamRoles(Aws::String&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(std::move(value)); return *this; }
534 inline CreateClusterRequest& AddIamRoles(const char* value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; }
536
538
543 inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
544 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
545 inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
546 inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
547 inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
549 inline CreateClusterRequest& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;}
550 inline CreateClusterRequest& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;}
552
554
557 inline const Aws::String& GetSnapshotScheduleIdentifier() const{ return m_snapshotScheduleIdentifier; }
558 inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
559 inline void SetSnapshotScheduleIdentifier(const Aws::String& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = value; }
560 inline void SetSnapshotScheduleIdentifier(Aws::String&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::move(value); }
561 inline void SetSnapshotScheduleIdentifier(const char* value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier.assign(value); }
566
568
572 inline bool GetAvailabilityZoneRelocation() const{ return m_availabilityZoneRelocation; }
573 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
574 inline void SetAvailabilityZoneRelocation(bool value) { m_availabilityZoneRelocationHasBeenSet = true; m_availabilityZoneRelocation = value; }
577
579
584 inline const AquaConfigurationStatus& GetAquaConfigurationStatus() const{ return m_aquaConfigurationStatus; }
585 inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
586 inline void SetAquaConfigurationStatus(const AquaConfigurationStatus& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
587 inline void SetAquaConfigurationStatus(AquaConfigurationStatus&& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = std::move(value); }
591
593
597 inline const Aws::String& GetDefaultIamRoleArn() const{ return m_defaultIamRoleArn; }
598 inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; }
599 inline void SetDefaultIamRoleArn(const Aws::String& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = value; }
600 inline void SetDefaultIamRoleArn(Aws::String&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::move(value); }
601 inline void SetDefaultIamRoleArn(const char* value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn.assign(value); }
602 inline CreateClusterRequest& WithDefaultIamRoleArn(const Aws::String& value) { SetDefaultIamRoleArn(value); return *this;}
603 inline CreateClusterRequest& WithDefaultIamRoleArn(Aws::String&& value) { SetDefaultIamRoleArn(std::move(value)); return *this;}
604 inline CreateClusterRequest& WithDefaultIamRoleArn(const char* value) { SetDefaultIamRoleArn(value); return *this;}
606
608
612 inline const Aws::String& GetLoadSampleData() const{ return m_loadSampleData; }
613 inline bool LoadSampleDataHasBeenSet() const { return m_loadSampleDataHasBeenSet; }
614 inline void SetLoadSampleData(const Aws::String& value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData = value; }
615 inline void SetLoadSampleData(Aws::String&& value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData = std::move(value); }
616 inline void SetLoadSampleData(const char* value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData.assign(value); }
617 inline CreateClusterRequest& WithLoadSampleData(const Aws::String& value) { SetLoadSampleData(value); return *this;}
618 inline CreateClusterRequest& WithLoadSampleData(Aws::String&& value) { SetLoadSampleData(std::move(value)); return *this;}
619 inline CreateClusterRequest& WithLoadSampleData(const char* value) { SetLoadSampleData(value); return *this;}
621
623
630 inline bool GetManageMasterPassword() const{ return m_manageMasterPassword; }
631 inline bool ManageMasterPasswordHasBeenSet() const { return m_manageMasterPasswordHasBeenSet; }
632 inline void SetManageMasterPassword(bool value) { m_manageMasterPasswordHasBeenSet = true; m_manageMasterPassword = value; }
633 inline CreateClusterRequest& WithManageMasterPassword(bool value) { SetManageMasterPassword(value); return *this;}
635
637
642 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const{ return m_masterPasswordSecretKmsKeyId; }
643 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
644 inline void SetMasterPasswordSecretKmsKeyId(const Aws::String& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = value; }
645 inline void SetMasterPasswordSecretKmsKeyId(Aws::String&& value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId = std::move(value); }
646 inline void SetMasterPasswordSecretKmsKeyId(const char* value) { m_masterPasswordSecretKmsKeyIdHasBeenSet = true; m_masterPasswordSecretKmsKeyId.assign(value); }
651
653
657 inline const Aws::String& GetIpAddressType() const{ return m_ipAddressType; }
658 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
659 inline void SetIpAddressType(const Aws::String& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
660 inline void SetIpAddressType(Aws::String&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
661 inline void SetIpAddressType(const char* value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType.assign(value); }
662 inline CreateClusterRequest& WithIpAddressType(const Aws::String& value) { SetIpAddressType(value); return *this;}
663 inline CreateClusterRequest& WithIpAddressType(Aws::String&& value) { SetIpAddressType(std::move(value)); return *this;}
664 inline CreateClusterRequest& WithIpAddressType(const char* value) { SetIpAddressType(value); return *this;}
666
668
672 inline bool GetMultiAZ() const{ return m_multiAZ; }
673 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
674 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
675 inline CreateClusterRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
677
679
683 inline const Aws::String& GetRedshiftIdcApplicationArn() const{ return m_redshiftIdcApplicationArn; }
684 inline bool RedshiftIdcApplicationArnHasBeenSet() const { return m_redshiftIdcApplicationArnHasBeenSet; }
685 inline void SetRedshiftIdcApplicationArn(const Aws::String& value) { m_redshiftIdcApplicationArnHasBeenSet = true; m_redshiftIdcApplicationArn = value; }
686 inline void SetRedshiftIdcApplicationArn(Aws::String&& value) { m_redshiftIdcApplicationArnHasBeenSet = true; m_redshiftIdcApplicationArn = std::move(value); }
687 inline void SetRedshiftIdcApplicationArn(const char* value) { m_redshiftIdcApplicationArnHasBeenSet = true; m_redshiftIdcApplicationArn.assign(value); }
690 inline CreateClusterRequest& WithRedshiftIdcApplicationArn(const char* value) { SetRedshiftIdcApplicationArn(value); return *this;}
692 private:
693
694 Aws::String m_dBName;
695 bool m_dBNameHasBeenSet = false;
696
697 Aws::String m_clusterIdentifier;
698 bool m_clusterIdentifierHasBeenSet = false;
699
700 Aws::String m_clusterType;
701 bool m_clusterTypeHasBeenSet = false;
702
703 Aws::String m_nodeType;
704 bool m_nodeTypeHasBeenSet = false;
705
706 Aws::String m_masterUsername;
707 bool m_masterUsernameHasBeenSet = false;
708
709 Aws::String m_masterUserPassword;
710 bool m_masterUserPasswordHasBeenSet = false;
711
712 Aws::Vector<Aws::String> m_clusterSecurityGroups;
713 bool m_clusterSecurityGroupsHasBeenSet = false;
714
715 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
716 bool m_vpcSecurityGroupIdsHasBeenSet = false;
717
718 Aws::String m_clusterSubnetGroupName;
719 bool m_clusterSubnetGroupNameHasBeenSet = false;
720
721 Aws::String m_availabilityZone;
722 bool m_availabilityZoneHasBeenSet = false;
723
724 Aws::String m_preferredMaintenanceWindow;
725 bool m_preferredMaintenanceWindowHasBeenSet = false;
726
727 Aws::String m_clusterParameterGroupName;
728 bool m_clusterParameterGroupNameHasBeenSet = false;
729
730 int m_automatedSnapshotRetentionPeriod;
731 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
732
733 int m_manualSnapshotRetentionPeriod;
734 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
735
736 int m_port;
737 bool m_portHasBeenSet = false;
738
739 Aws::String m_clusterVersion;
740 bool m_clusterVersionHasBeenSet = false;
741
742 bool m_allowVersionUpgrade;
743 bool m_allowVersionUpgradeHasBeenSet = false;
744
745 int m_numberOfNodes;
746 bool m_numberOfNodesHasBeenSet = false;
747
748 bool m_publiclyAccessible;
749 bool m_publiclyAccessibleHasBeenSet = false;
750
751 bool m_encrypted;
752 bool m_encryptedHasBeenSet = false;
753
754 Aws::String m_hsmClientCertificateIdentifier;
755 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
756
757 Aws::String m_hsmConfigurationIdentifier;
758 bool m_hsmConfigurationIdentifierHasBeenSet = false;
759
760 Aws::String m_elasticIp;
761 bool m_elasticIpHasBeenSet = false;
762
763 Aws::Vector<Tag> m_tags;
764 bool m_tagsHasBeenSet = false;
765
766 Aws::String m_kmsKeyId;
767 bool m_kmsKeyIdHasBeenSet = false;
768
769 bool m_enhancedVpcRouting;
770 bool m_enhancedVpcRoutingHasBeenSet = false;
771
772 Aws::String m_additionalInfo;
773 bool m_additionalInfoHasBeenSet = false;
774
775 Aws::Vector<Aws::String> m_iamRoles;
776 bool m_iamRolesHasBeenSet = false;
777
778 Aws::String m_maintenanceTrackName;
779 bool m_maintenanceTrackNameHasBeenSet = false;
780
781 Aws::String m_snapshotScheduleIdentifier;
782 bool m_snapshotScheduleIdentifierHasBeenSet = false;
783
784 bool m_availabilityZoneRelocation;
785 bool m_availabilityZoneRelocationHasBeenSet = false;
786
787 AquaConfigurationStatus m_aquaConfigurationStatus;
788 bool m_aquaConfigurationStatusHasBeenSet = false;
789
790 Aws::String m_defaultIamRoleArn;
791 bool m_defaultIamRoleArnHasBeenSet = false;
792
793 Aws::String m_loadSampleData;
794 bool m_loadSampleDataHasBeenSet = false;
795
796 bool m_manageMasterPassword;
797 bool m_manageMasterPasswordHasBeenSet = false;
798
799 Aws::String m_masterPasswordSecretKmsKeyId;
800 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
801
802 Aws::String m_ipAddressType;
803 bool m_ipAddressTypeHasBeenSet = false;
804
805 bool m_multiAZ;
806 bool m_multiAZHasBeenSet = false;
807
808 Aws::String m_redshiftIdcApplicationArn;
809 bool m_redshiftIdcApplicationArnHasBeenSet = false;
810 };
811
812} // namespace Model
813} // namespace Redshift
814} // namespace Aws
CreateClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateClusterRequest & WithMasterUsername(const Aws::String &value)
CreateClusterRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithKmsKeyId(const char *value)
CreateClusterRequest & WithManageMasterPassword(bool value)
void SetClusterIdentifier(const Aws::String &value)
CreateClusterRequest & WithClusterParameterGroupName(const Aws::String &value)
void SetAdditionalInfo(const Aws::String &value)
CreateClusterRequest & WithAvailabilityZoneRelocation(bool value)
CreateClusterRequest & WithRedshiftIdcApplicationArn(const char *value)
void SetIpAddressType(const Aws::String &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)
CreateClusterRequest & WithMasterPasswordSecretKmsKeyId(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetClusterVersion(const Aws::String &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)
CreateClusterRequest & WithMasterPasswordSecretKmsKeyId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetIamRoles() const
CreateClusterRequest & WithIpAddressType(Aws::String &&value)
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)
CreateClusterRequest & WithHsmClientCertificateIdentifier(const char *value)
void SetMasterPasswordSecretKmsKeyId(Aws::String &&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 & WithIpAddressType(const char *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)
void SetMasterPasswordSecretKmsKeyId(const Aws::String &value)
const Aws::String & GetRedshiftIdcApplicationArn() const
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)
CreateClusterRequest & WithIpAddressType(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)
void SetRedshiftIdcApplicationArn(const Aws::String &value)
CreateClusterRequest & WithMultiAZ(bool 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)
CreateClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateClusterRequest & WithMasterUsername(const char *value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(Aws::String &&value)
CreateClusterRequest & WithRedshiftIdcApplicationArn(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 & 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)
void SetIamRoles(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithMasterPasswordSecretKmsKeyId(const char *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 & 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)
CreateClusterRequest & WithRedshiftIdcApplicationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector