AWS SDK for C++

AWS SDK for C++ Version 1.11.808

Loading...
Searching...
No Matches
ModifyClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Redshift {
16namespace Model {
17
24 public:
25 AWS_REDSHIFT_API ModifyClusterRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyCluster"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
44 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
45 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
46 template <typename ClusterIdentifierT = Aws::String>
47 void SetClusterIdentifier(ClusterIdentifierT&& value) {
48 m_clusterIdentifierHasBeenSet = true;
49 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
50 }
51 template <typename ClusterIdentifierT = Aws::String>
52 ModifyClusterRequest& WithClusterIdentifier(ClusterIdentifierT&& value) {
53 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
54 return *this;
55 }
57
59
68 inline const Aws::String& GetClusterType() const { return m_clusterType; }
69 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
70 template <typename ClusterTypeT = Aws::String>
71 void SetClusterType(ClusterTypeT&& value) {
72 m_clusterTypeHasBeenSet = true;
73 m_clusterType = std::forward<ClusterTypeT>(value);
74 }
75 template <typename ClusterTypeT = Aws::String>
76 ModifyClusterRequest& WithClusterType(ClusterTypeT&& value) {
77 SetClusterType(std::forward<ClusterTypeT>(value));
78 return *this;
79 }
81
83
94 inline const Aws::String& GetNodeType() const { return m_nodeType; }
95 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
96 template <typename NodeTypeT = Aws::String>
97 void SetNodeType(NodeTypeT&& value) {
98 m_nodeTypeHasBeenSet = true;
99 m_nodeType = std::forward<NodeTypeT>(value);
100 }
101 template <typename NodeTypeT = Aws::String>
102 ModifyClusterRequest& WithNodeType(NodeTypeT&& value) {
103 SetNodeType(std::forward<NodeTypeT>(value));
104 return *this;
105 }
107
109
117 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
118 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
119 inline void SetNumberOfNodes(int value) {
120 m_numberOfNodesHasBeenSet = true;
121 m_numberOfNodes = value;
122 }
124 SetNumberOfNodes(value);
125 return *this;
126 }
128
130
139 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const { return m_clusterSecurityGroups; }
140 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
141 template <typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
142 void SetClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
143 m_clusterSecurityGroupsHasBeenSet = true;
144 m_clusterSecurityGroups = std::forward<ClusterSecurityGroupsT>(value);
145 }
146 template <typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
147 ModifyClusterRequest& WithClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
148 SetClusterSecurityGroups(std::forward<ClusterSecurityGroupsT>(value));
149 return *this;
150 }
151 template <typename ClusterSecurityGroupsT = Aws::String>
152 ModifyClusterRequest& AddClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
153 m_clusterSecurityGroupsHasBeenSet = true;
154 m_clusterSecurityGroups.emplace_back(std::forward<ClusterSecurityGroupsT>(value));
155 return *this;
156 }
158
160
164 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
165 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
166 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
167 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
168 m_vpcSecurityGroupIdsHasBeenSet = true;
169 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
170 }
171 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
172 ModifyClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
173 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
174 return *this;
175 }
176 template <typename VpcSecurityGroupIdsT = Aws::String>
177 ModifyClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
178 m_vpcSecurityGroupIdsHasBeenSet = true;
179 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
180 return *this;
181 }
183
185
202 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
203 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
204 template <typename MasterUserPasswordT = Aws::String>
205 void SetMasterUserPassword(MasterUserPasswordT&& value) {
206 m_masterUserPasswordHasBeenSet = true;
207 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
208 }
209 template <typename MasterUserPasswordT = Aws::String>
210 ModifyClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
211 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
212 return *this;
213 }
215
217
224 inline const Aws::String& GetClusterParameterGroupName() const { return m_clusterParameterGroupName; }
225 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
226 template <typename ClusterParameterGroupNameT = Aws::String>
227 void SetClusterParameterGroupName(ClusterParameterGroupNameT&& value) {
228 m_clusterParameterGroupNameHasBeenSet = true;
229 m_clusterParameterGroupName = std::forward<ClusterParameterGroupNameT>(value);
230 }
231 template <typename ClusterParameterGroupNameT = Aws::String>
232 ModifyClusterRequest& WithClusterParameterGroupName(ClusterParameterGroupNameT&& value) {
233 SetClusterParameterGroupName(std::forward<ClusterParameterGroupNameT>(value));
234 return *this;
235 }
237
239
250 inline int GetAutomatedSnapshotRetentionPeriod() const { return m_automatedSnapshotRetentionPeriod; }
251 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
252 inline void SetAutomatedSnapshotRetentionPeriod(int value) {
253 m_automatedSnapshotRetentionPeriodHasBeenSet = true;
254 m_automatedSnapshotRetentionPeriod = value;
255 }
258 return *this;
259 }
261
263
270 inline int GetManualSnapshotRetentionPeriod() const { return m_manualSnapshotRetentionPeriod; }
271 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
272 inline void SetManualSnapshotRetentionPeriod(int value) {
273 m_manualSnapshotRetentionPeriodHasBeenSet = true;
274 m_manualSnapshotRetentionPeriod = value;
275 }
278 return *this;
279 }
281
283
294 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
295 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
296 template <typename PreferredMaintenanceWindowT = Aws::String>
297 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
298 m_preferredMaintenanceWindowHasBeenSet = true;
299 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
300 }
301 template <typename PreferredMaintenanceWindowT = Aws::String>
302 ModifyClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
303 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
304 return *this;
305 }
307
309
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) {
324 m_clusterVersionHasBeenSet = true;
325 m_clusterVersion = std::forward<ClusterVersionT>(value);
326 }
327 template <typename ClusterVersionT = Aws::String>
328 ModifyClusterRequest& WithClusterVersion(ClusterVersionT&& value) {
329 SetClusterVersion(std::forward<ClusterVersionT>(value));
330 return *this;
331 }
333
335
340 inline bool GetAllowVersionUpgrade() const { return m_allowVersionUpgrade; }
341 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
342 inline void SetAllowVersionUpgrade(bool value) {
343 m_allowVersionUpgradeHasBeenSet = true;
344 m_allowVersionUpgrade = value;
345 }
348 return *this;
349 }
351
353
357 inline const Aws::String& GetHsmClientCertificateIdentifier() const { return m_hsmClientCertificateIdentifier; }
358 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
359 template <typename HsmClientCertificateIdentifierT = Aws::String>
360 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) {
361 m_hsmClientCertificateIdentifierHasBeenSet = true;
362 m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value);
363 }
364 template <typename HsmClientCertificateIdentifierT = Aws::String>
365 ModifyClusterRequest& WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) {
366 SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value));
367 return *this;
368 }
370
372
376 inline const Aws::String& GetHsmConfigurationIdentifier() const { return m_hsmConfigurationIdentifier; }
377 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
378 template <typename HsmConfigurationIdentifierT = Aws::String>
379 void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) {
380 m_hsmConfigurationIdentifierHasBeenSet = true;
381 m_hsmConfigurationIdentifier = std::forward<HsmConfigurationIdentifierT>(value);
382 }
383 template <typename HsmConfigurationIdentifierT = Aws::String>
384 ModifyClusterRequest& WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) {
385 SetHsmConfigurationIdentifier(std::forward<HsmConfigurationIdentifierT>(value));
386 return *this;
387 }
389
391
400 inline const Aws::String& GetNewClusterIdentifier() const { return m_newClusterIdentifier; }
401 inline bool NewClusterIdentifierHasBeenSet() const { return m_newClusterIdentifierHasBeenSet; }
402 template <typename NewClusterIdentifierT = Aws::String>
403 void SetNewClusterIdentifier(NewClusterIdentifierT&& value) {
404 m_newClusterIdentifierHasBeenSet = true;
405 m_newClusterIdentifier = std::forward<NewClusterIdentifierT>(value);
406 }
407 template <typename NewClusterIdentifierT = Aws::String>
408 ModifyClusterRequest& WithNewClusterIdentifier(NewClusterIdentifierT&& value) {
409 SetNewClusterIdentifier(std::forward<NewClusterIdentifierT>(value));
410 return *this;
411 }
413
415
419 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
420 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
421 inline void SetPubliclyAccessible(bool value) {
422 m_publiclyAccessibleHasBeenSet = true;
423 m_publiclyAccessible = value;
424 }
427 return *this;
428 }
430
432
440 inline const Aws::String& GetElasticIp() const { return m_elasticIp; }
441 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
442 template <typename ElasticIpT = Aws::String>
443 void SetElasticIp(ElasticIpT&& value) {
444 m_elasticIpHasBeenSet = true;
445 m_elasticIp = std::forward<ElasticIpT>(value);
446 }
447 template <typename ElasticIpT = Aws::String>
448 ModifyClusterRequest& WithElasticIp(ElasticIpT&& value) {
449 SetElasticIp(std::forward<ElasticIpT>(value));
450 return *this;
451 }
453
455
464 inline bool GetEnhancedVpcRouting() const { return m_enhancedVpcRouting; }
465 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
466 inline void SetEnhancedVpcRouting(bool value) {
467 m_enhancedVpcRoutingHasBeenSet = true;
468 m_enhancedVpcRouting = value;
469 }
472 return *this;
473 }
475
477
485 inline const Aws::String& GetMaintenanceTrackName() const { return m_maintenanceTrackName; }
486 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
487 template <typename MaintenanceTrackNameT = Aws::String>
488 void SetMaintenanceTrackName(MaintenanceTrackNameT&& value) {
489 m_maintenanceTrackNameHasBeenSet = true;
490 m_maintenanceTrackName = std::forward<MaintenanceTrackNameT>(value);
491 }
492 template <typename MaintenanceTrackNameT = Aws::String>
493 ModifyClusterRequest& WithMaintenanceTrackName(MaintenanceTrackNameT&& value) {
494 SetMaintenanceTrackName(std::forward<MaintenanceTrackNameT>(value));
495 return *this;
496 }
498
500
507 inline bool GetEncrypted() const { return m_encrypted; }
508 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
509 inline void SetEncrypted(bool value) {
510 m_encryptedHasBeenSet = true;
511 m_encrypted = value;
512 }
514 SetEncrypted(value);
515 return *this;
516 }
518
520
524 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
525 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
526 template <typename KmsKeyIdT = Aws::String>
527 void SetKmsKeyId(KmsKeyIdT&& value) {
528 m_kmsKeyIdHasBeenSet = true;
529 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
530 }
531 template <typename KmsKeyIdT = Aws::String>
532 ModifyClusterRequest& WithKmsKeyId(KmsKeyIdT&& value) {
533 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
534 return *this;
535 }
537
539
543 inline bool GetAvailabilityZoneRelocation() const { return m_availabilityZoneRelocation; }
544 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
545 inline void SetAvailabilityZoneRelocation(bool value) {
546 m_availabilityZoneRelocationHasBeenSet = true;
547 m_availabilityZoneRelocation = value;
548 }
551 return *this;
552 }
554
556
560 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
561 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
562 template <typename AvailabilityZoneT = Aws::String>
563 void SetAvailabilityZone(AvailabilityZoneT&& value) {
564 m_availabilityZoneHasBeenSet = true;
565 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
566 }
567 template <typename AvailabilityZoneT = Aws::String>
568 ModifyClusterRequest& WithAvailabilityZone(AvailabilityZoneT&& value) {
569 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
570 return *this;
571 }
573
575
583 inline int GetPort() const { return m_port; }
584 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
585 inline void SetPort(int value) {
586 m_portHasBeenSet = true;
587 m_port = value;
588 }
589 inline ModifyClusterRequest& WithPort(int value) {
590 SetPort(value);
591 return *this;
592 }
594
596
603 inline bool GetManageMasterPassword() const { return m_manageMasterPassword; }
604 inline bool ManageMasterPasswordHasBeenSet() const { return m_manageMasterPasswordHasBeenSet; }
605 inline void SetManageMasterPassword(bool value) {
606 m_manageMasterPasswordHasBeenSet = true;
607 m_manageMasterPassword = value;
608 }
611 return *this;
612 }
614
616
621 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const { return m_masterPasswordSecretKmsKeyId; }
622 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
623 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
624 void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
625 m_masterPasswordSecretKmsKeyIdHasBeenSet = true;
626 m_masterPasswordSecretKmsKeyId = std::forward<MasterPasswordSecretKmsKeyIdT>(value);
627 }
628 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
629 ModifyClusterRequest& WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
630 SetMasterPasswordSecretKmsKeyId(std::forward<MasterPasswordSecretKmsKeyIdT>(value));
631 return *this;
632 }
634
636
640 inline const Aws::String& GetIpAddressType() const { return m_ipAddressType; }
641 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
642 template <typename IpAddressTypeT = Aws::String>
643 void SetIpAddressType(IpAddressTypeT&& value) {
644 m_ipAddressTypeHasBeenSet = true;
645 m_ipAddressType = std::forward<IpAddressTypeT>(value);
646 }
647 template <typename IpAddressTypeT = Aws::String>
648 ModifyClusterRequest& WithIpAddressType(IpAddressTypeT&& value) {
649 SetIpAddressType(std::forward<IpAddressTypeT>(value));
650 return *this;
651 }
653
655
659 inline bool GetMultiAZ() const { return m_multiAZ; }
660 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
661 inline void SetMultiAZ(bool value) {
662 m_multiAZHasBeenSet = true;
663 m_multiAZ = value;
664 }
665 inline ModifyClusterRequest& WithMultiAZ(bool value) {
666 SetMultiAZ(value);
667 return *this;
668 }
670
672
676 inline bool GetExtraComputeForAutomaticOptimization() const { return m_extraComputeForAutomaticOptimization; }
677 inline bool ExtraComputeForAutomaticOptimizationHasBeenSet() const { return m_extraComputeForAutomaticOptimizationHasBeenSet; }
679 m_extraComputeForAutomaticOptimizationHasBeenSet = true;
680 m_extraComputeForAutomaticOptimization = value;
681 }
684 return *this;
685 }
687 private:
688 Aws::String m_clusterIdentifier;
689
690 Aws::String m_clusterType;
691
692 Aws::String m_nodeType;
693
694 int m_numberOfNodes{0};
695
696 Aws::Vector<Aws::String> m_clusterSecurityGroups;
697
698 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
699
700 Aws::String m_masterUserPassword;
701
702 Aws::String m_clusterParameterGroupName;
703
704 int m_automatedSnapshotRetentionPeriod{0};
705
706 int m_manualSnapshotRetentionPeriod{0};
707
708 Aws::String m_preferredMaintenanceWindow;
709
710 Aws::String m_clusterVersion;
711
712 bool m_allowVersionUpgrade{false};
713
714 Aws::String m_hsmClientCertificateIdentifier;
715
716 Aws::String m_hsmConfigurationIdentifier;
717
718 Aws::String m_newClusterIdentifier;
719
720 bool m_publiclyAccessible{false};
721
722 Aws::String m_elasticIp;
723
724 bool m_enhancedVpcRouting{false};
725
726 Aws::String m_maintenanceTrackName;
727
728 bool m_encrypted{false};
729
730 Aws::String m_kmsKeyId;
731
732 bool m_availabilityZoneRelocation{false};
733
734 Aws::String m_availabilityZone;
735
736 int m_port{0};
737
738 bool m_manageMasterPassword{false};
739
740 Aws::String m_masterPasswordSecretKmsKeyId;
741
742 Aws::String m_ipAddressType;
743
744 bool m_multiAZ{false};
745
746 bool m_extraComputeForAutomaticOptimization{false};
747 bool m_clusterIdentifierHasBeenSet = false;
748 bool m_clusterTypeHasBeenSet = false;
749 bool m_nodeTypeHasBeenSet = false;
750 bool m_numberOfNodesHasBeenSet = false;
751 bool m_clusterSecurityGroupsHasBeenSet = false;
752 bool m_vpcSecurityGroupIdsHasBeenSet = false;
753 bool m_masterUserPasswordHasBeenSet = false;
754 bool m_clusterParameterGroupNameHasBeenSet = false;
755 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
756 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
757 bool m_preferredMaintenanceWindowHasBeenSet = false;
758 bool m_clusterVersionHasBeenSet = false;
759 bool m_allowVersionUpgradeHasBeenSet = false;
760 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
761 bool m_hsmConfigurationIdentifierHasBeenSet = false;
762 bool m_newClusterIdentifierHasBeenSet = false;
763 bool m_publiclyAccessibleHasBeenSet = false;
764 bool m_elasticIpHasBeenSet = false;
765 bool m_enhancedVpcRoutingHasBeenSet = false;
766 bool m_maintenanceTrackNameHasBeenSet = false;
767 bool m_encryptedHasBeenSet = false;
768 bool m_kmsKeyIdHasBeenSet = false;
769 bool m_availabilityZoneRelocationHasBeenSet = false;
770 bool m_availabilityZoneHasBeenSet = false;
771 bool m_portHasBeenSet = false;
772 bool m_manageMasterPasswordHasBeenSet = false;
773 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
774 bool m_ipAddressTypeHasBeenSet = false;
775 bool m_multiAZHasBeenSet = false;
776 bool m_extraComputeForAutomaticOptimizationHasBeenSet = false;
777};
778
779} // namespace Model
780} // namespace Redshift
781} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::String & GetHsmClientCertificateIdentifier() const
ModifyClusterRequest & WithPort(int value)
const Aws::String & GetHsmConfigurationIdentifier() const
ModifyClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyClusterRequest & WithElasticIp(ElasticIpT &&value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
void SetMaintenanceTrackName(MaintenanceTrackNameT &&value)
ModifyClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT &&value)
ModifyClusterRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
ModifyClusterRequest & WithManualSnapshotRetentionPeriod(int value)
const Aws::Vector< Aws::String > & GetClusterSecurityGroups() const
const Aws::String & GetMaintenanceTrackName() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetMasterPasswordSecretKmsKeyId() const
ModifyClusterRequest & AddClusterSecurityGroups(ClusterSecurityGroupsT &&value)
ModifyClusterRequest & WithAvailabilityZoneRelocation(bool value)
AWS_REDSHIFT_API ModifyClusterRequest()=default
ModifyClusterRequest & WithEnhancedVpcRouting(bool value)
ModifyClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
ModifyClusterRequest & WithClusterVersion(ClusterVersionT &&value)
void SetNewClusterIdentifier(NewClusterIdentifierT &&value)
ModifyClusterRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
ModifyClusterRequest & WithManageMasterPassword(bool value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
ModifyClusterRequest & WithAllowVersionUpgrade(bool value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
ModifyClusterRequest & WithClusterParameterGroupName(ClusterParameterGroupNameT &&value)
void SetClusterParameterGroupName(ClusterParameterGroupNameT &&value)
ModifyClusterRequest & WithClusterSecurityGroups(ClusterSecurityGroupsT &&value)
ModifyClusterRequest & WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
ModifyClusterRequest & WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT &&value)
ModifyClusterRequest & WithPubliclyAccessible(bool value)
ModifyClusterRequest & WithIpAddressType(IpAddressTypeT &&value)
ModifyClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
ModifyClusterRequest & WithNodeType(NodeTypeT &&value)
const Aws::String & GetNewClusterIdentifier() const
void SetClusterVersion(ClusterVersionT &&value)
ModifyClusterRequest & WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
ModifyClusterRequest & WithMultiAZ(bool value)
ModifyClusterRequest & WithNumberOfNodes(int value)
void SetMasterUserPassword(MasterUserPasswordT &&value)
const Aws::String & GetClusterParameterGroupName() const
const Aws::String & GetPreferredMaintenanceWindow() const
ModifyClusterRequest & WithEncrypted(bool value)
ModifyClusterRequest & WithClusterType(ClusterTypeT &&value)
ModifyClusterRequest & WithExtraComputeForAutomaticOptimization(bool value)
ModifyClusterRequest & WithMaintenanceTrackName(MaintenanceTrackNameT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
ModifyClusterRequest & WithNewClusterIdentifier(NewClusterIdentifierT &&value)
void SetClusterSecurityGroups(ClusterSecurityGroupsT &&value)
ModifyClusterRequest & WithAutomatedSnapshotRetentionPeriod(int value)
ModifyClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector