AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
93 inline const Aws::String& GetNodeType() const { return m_nodeType; }
94 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
95 template <typename NodeTypeT = Aws::String>
96 void SetNodeType(NodeTypeT&& value) {
97 m_nodeTypeHasBeenSet = true;
98 m_nodeType = std::forward<NodeTypeT>(value);
99 }
100 template <typename NodeTypeT = Aws::String>
101 ModifyClusterRequest& WithNodeType(NodeTypeT&& value) {
102 SetNodeType(std::forward<NodeTypeT>(value));
103 return *this;
104 }
106
108
116 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
117 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
118 inline void SetNumberOfNodes(int value) {
119 m_numberOfNodesHasBeenSet = true;
120 m_numberOfNodes = value;
121 }
123 SetNumberOfNodes(value);
124 return *this;
125 }
127
129
138 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const { return m_clusterSecurityGroups; }
139 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
140 template <typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
141 void SetClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
142 m_clusterSecurityGroupsHasBeenSet = true;
143 m_clusterSecurityGroups = std::forward<ClusterSecurityGroupsT>(value);
144 }
145 template <typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
146 ModifyClusterRequest& WithClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
147 SetClusterSecurityGroups(std::forward<ClusterSecurityGroupsT>(value));
148 return *this;
149 }
150 template <typename ClusterSecurityGroupsT = Aws::String>
151 ModifyClusterRequest& AddClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
152 m_clusterSecurityGroupsHasBeenSet = true;
153 m_clusterSecurityGroups.emplace_back(std::forward<ClusterSecurityGroupsT>(value));
154 return *this;
155 }
157
159
163 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
164 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
165 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
166 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
167 m_vpcSecurityGroupIdsHasBeenSet = true;
168 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
169 }
170 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
171 ModifyClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
172 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
173 return *this;
174 }
175 template <typename VpcSecurityGroupIdsT = Aws::String>
176 ModifyClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
177 m_vpcSecurityGroupIdsHasBeenSet = true;
178 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
179 return *this;
180 }
182
184
201 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
202 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
203 template <typename MasterUserPasswordT = Aws::String>
204 void SetMasterUserPassword(MasterUserPasswordT&& value) {
205 m_masterUserPasswordHasBeenSet = true;
206 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
207 }
208 template <typename MasterUserPasswordT = Aws::String>
209 ModifyClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
210 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
211 return *this;
212 }
214
216
223 inline const Aws::String& GetClusterParameterGroupName() const { return m_clusterParameterGroupName; }
224 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
225 template <typename ClusterParameterGroupNameT = Aws::String>
226 void SetClusterParameterGroupName(ClusterParameterGroupNameT&& value) {
227 m_clusterParameterGroupNameHasBeenSet = true;
228 m_clusterParameterGroupName = std::forward<ClusterParameterGroupNameT>(value);
229 }
230 template <typename ClusterParameterGroupNameT = Aws::String>
231 ModifyClusterRequest& WithClusterParameterGroupName(ClusterParameterGroupNameT&& value) {
232 SetClusterParameterGroupName(std::forward<ClusterParameterGroupNameT>(value));
233 return *this;
234 }
236
238
249 inline int GetAutomatedSnapshotRetentionPeriod() const { return m_automatedSnapshotRetentionPeriod; }
250 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
251 inline void SetAutomatedSnapshotRetentionPeriod(int value) {
252 m_automatedSnapshotRetentionPeriodHasBeenSet = true;
253 m_automatedSnapshotRetentionPeriod = value;
254 }
257 return *this;
258 }
260
262
269 inline int GetManualSnapshotRetentionPeriod() const { return m_manualSnapshotRetentionPeriod; }
270 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
271 inline void SetManualSnapshotRetentionPeriod(int value) {
272 m_manualSnapshotRetentionPeriodHasBeenSet = true;
273 m_manualSnapshotRetentionPeriod = value;
274 }
277 return *this;
278 }
280
282
293 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
294 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
295 template <typename PreferredMaintenanceWindowT = Aws::String>
296 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
297 m_preferredMaintenanceWindowHasBeenSet = true;
298 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
299 }
300 template <typename PreferredMaintenanceWindowT = Aws::String>
301 ModifyClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
302 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
303 return *this;
304 }
306
308
319 inline const Aws::String& GetClusterVersion() const { return m_clusterVersion; }
320 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
321 template <typename ClusterVersionT = Aws::String>
322 void SetClusterVersion(ClusterVersionT&& value) {
323 m_clusterVersionHasBeenSet = true;
324 m_clusterVersion = std::forward<ClusterVersionT>(value);
325 }
326 template <typename ClusterVersionT = Aws::String>
327 ModifyClusterRequest& WithClusterVersion(ClusterVersionT&& value) {
328 SetClusterVersion(std::forward<ClusterVersionT>(value));
329 return *this;
330 }
332
334
339 inline bool GetAllowVersionUpgrade() const { return m_allowVersionUpgrade; }
340 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
341 inline void SetAllowVersionUpgrade(bool value) {
342 m_allowVersionUpgradeHasBeenSet = true;
343 m_allowVersionUpgrade = value;
344 }
347 return *this;
348 }
350
352
356 inline const Aws::String& GetHsmClientCertificateIdentifier() const { return m_hsmClientCertificateIdentifier; }
357 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
358 template <typename HsmClientCertificateIdentifierT = Aws::String>
359 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) {
360 m_hsmClientCertificateIdentifierHasBeenSet = true;
361 m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value);
362 }
363 template <typename HsmClientCertificateIdentifierT = Aws::String>
364 ModifyClusterRequest& WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) {
365 SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value));
366 return *this;
367 }
369
371
375 inline const Aws::String& GetHsmConfigurationIdentifier() const { return m_hsmConfigurationIdentifier; }
376 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
377 template <typename HsmConfigurationIdentifierT = Aws::String>
378 void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) {
379 m_hsmConfigurationIdentifierHasBeenSet = true;
380 m_hsmConfigurationIdentifier = std::forward<HsmConfigurationIdentifierT>(value);
381 }
382 template <typename HsmConfigurationIdentifierT = Aws::String>
383 ModifyClusterRequest& WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) {
384 SetHsmConfigurationIdentifier(std::forward<HsmConfigurationIdentifierT>(value));
385 return *this;
386 }
388
390
399 inline const Aws::String& GetNewClusterIdentifier() const { return m_newClusterIdentifier; }
400 inline bool NewClusterIdentifierHasBeenSet() const { return m_newClusterIdentifierHasBeenSet; }
401 template <typename NewClusterIdentifierT = Aws::String>
402 void SetNewClusterIdentifier(NewClusterIdentifierT&& value) {
403 m_newClusterIdentifierHasBeenSet = true;
404 m_newClusterIdentifier = std::forward<NewClusterIdentifierT>(value);
405 }
406 template <typename NewClusterIdentifierT = Aws::String>
407 ModifyClusterRequest& WithNewClusterIdentifier(NewClusterIdentifierT&& value) {
408 SetNewClusterIdentifier(std::forward<NewClusterIdentifierT>(value));
409 return *this;
410 }
412
414
418 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
419 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
420 inline void SetPubliclyAccessible(bool value) {
421 m_publiclyAccessibleHasBeenSet = true;
422 m_publiclyAccessible = value;
423 }
426 return *this;
427 }
429
431
439 inline const Aws::String& GetElasticIp() const { return m_elasticIp; }
440 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
441 template <typename ElasticIpT = Aws::String>
442 void SetElasticIp(ElasticIpT&& value) {
443 m_elasticIpHasBeenSet = true;
444 m_elasticIp = std::forward<ElasticIpT>(value);
445 }
446 template <typename ElasticIpT = Aws::String>
447 ModifyClusterRequest& WithElasticIp(ElasticIpT&& value) {
448 SetElasticIp(std::forward<ElasticIpT>(value));
449 return *this;
450 }
452
454
463 inline bool GetEnhancedVpcRouting() const { return m_enhancedVpcRouting; }
464 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
465 inline void SetEnhancedVpcRouting(bool value) {
466 m_enhancedVpcRoutingHasBeenSet = true;
467 m_enhancedVpcRouting = value;
468 }
471 return *this;
472 }
474
476
484 inline const Aws::String& GetMaintenanceTrackName() const { return m_maintenanceTrackName; }
485 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
486 template <typename MaintenanceTrackNameT = Aws::String>
487 void SetMaintenanceTrackName(MaintenanceTrackNameT&& value) {
488 m_maintenanceTrackNameHasBeenSet = true;
489 m_maintenanceTrackName = std::forward<MaintenanceTrackNameT>(value);
490 }
491 template <typename MaintenanceTrackNameT = Aws::String>
492 ModifyClusterRequest& WithMaintenanceTrackName(MaintenanceTrackNameT&& value) {
493 SetMaintenanceTrackName(std::forward<MaintenanceTrackNameT>(value));
494 return *this;
495 }
497
499
506 inline bool GetEncrypted() const { return m_encrypted; }
507 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
508 inline void SetEncrypted(bool value) {
509 m_encryptedHasBeenSet = true;
510 m_encrypted = value;
511 }
513 SetEncrypted(value);
514 return *this;
515 }
517
519
523 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
524 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
525 template <typename KmsKeyIdT = Aws::String>
526 void SetKmsKeyId(KmsKeyIdT&& value) {
527 m_kmsKeyIdHasBeenSet = true;
528 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
529 }
530 template <typename KmsKeyIdT = Aws::String>
531 ModifyClusterRequest& WithKmsKeyId(KmsKeyIdT&& value) {
532 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
533 return *this;
534 }
536
538
542 inline bool GetAvailabilityZoneRelocation() const { return m_availabilityZoneRelocation; }
543 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
544 inline void SetAvailabilityZoneRelocation(bool value) {
545 m_availabilityZoneRelocationHasBeenSet = true;
546 m_availabilityZoneRelocation = value;
547 }
550 return *this;
551 }
553
555
559 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
560 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
561 template <typename AvailabilityZoneT = Aws::String>
562 void SetAvailabilityZone(AvailabilityZoneT&& value) {
563 m_availabilityZoneHasBeenSet = true;
564 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
565 }
566 template <typename AvailabilityZoneT = Aws::String>
567 ModifyClusterRequest& WithAvailabilityZone(AvailabilityZoneT&& value) {
568 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
569 return *this;
570 }
572
574
582 inline int GetPort() const { return m_port; }
583 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
584 inline void SetPort(int value) {
585 m_portHasBeenSet = true;
586 m_port = value;
587 }
588 inline ModifyClusterRequest& WithPort(int value) {
589 SetPort(value);
590 return *this;
591 }
593
595
602 inline bool GetManageMasterPassword() const { return m_manageMasterPassword; }
603 inline bool ManageMasterPasswordHasBeenSet() const { return m_manageMasterPasswordHasBeenSet; }
604 inline void SetManageMasterPassword(bool value) {
605 m_manageMasterPasswordHasBeenSet = true;
606 m_manageMasterPassword = value;
607 }
610 return *this;
611 }
613
615
620 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const { return m_masterPasswordSecretKmsKeyId; }
621 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
622 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
623 void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
624 m_masterPasswordSecretKmsKeyIdHasBeenSet = true;
625 m_masterPasswordSecretKmsKeyId = std::forward<MasterPasswordSecretKmsKeyIdT>(value);
626 }
627 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
628 ModifyClusterRequest& WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
629 SetMasterPasswordSecretKmsKeyId(std::forward<MasterPasswordSecretKmsKeyIdT>(value));
630 return *this;
631 }
633
635
639 inline const Aws::String& GetIpAddressType() const { return m_ipAddressType; }
640 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
641 template <typename IpAddressTypeT = Aws::String>
642 void SetIpAddressType(IpAddressTypeT&& value) {
643 m_ipAddressTypeHasBeenSet = true;
644 m_ipAddressType = std::forward<IpAddressTypeT>(value);
645 }
646 template <typename IpAddressTypeT = Aws::String>
647 ModifyClusterRequest& WithIpAddressType(IpAddressTypeT&& value) {
648 SetIpAddressType(std::forward<IpAddressTypeT>(value));
649 return *this;
650 }
652
654
658 inline bool GetMultiAZ() const { return m_multiAZ; }
659 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
660 inline void SetMultiAZ(bool value) {
661 m_multiAZHasBeenSet = true;
662 m_multiAZ = value;
663 }
664 inline ModifyClusterRequest& WithMultiAZ(bool value) {
665 SetMultiAZ(value);
666 return *this;
667 }
669
671
675 inline bool GetExtraComputeForAutomaticOptimization() const { return m_extraComputeForAutomaticOptimization; }
676 inline bool ExtraComputeForAutomaticOptimizationHasBeenSet() const { return m_extraComputeForAutomaticOptimizationHasBeenSet; }
678 m_extraComputeForAutomaticOptimizationHasBeenSet = true;
679 m_extraComputeForAutomaticOptimization = value;
680 }
683 return *this;
684 }
686 private:
687 Aws::String m_clusterIdentifier;
688
689 Aws::String m_clusterType;
690
691 Aws::String m_nodeType;
692
693 int m_numberOfNodes{0};
694
695 Aws::Vector<Aws::String> m_clusterSecurityGroups;
696
697 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
698
699 Aws::String m_masterUserPassword;
700
701 Aws::String m_clusterParameterGroupName;
702
703 int m_automatedSnapshotRetentionPeriod{0};
704
705 int m_manualSnapshotRetentionPeriod{0};
706
707 Aws::String m_preferredMaintenanceWindow;
708
709 Aws::String m_clusterVersion;
710
711 bool m_allowVersionUpgrade{false};
712
713 Aws::String m_hsmClientCertificateIdentifier;
714
715 Aws::String m_hsmConfigurationIdentifier;
716
717 Aws::String m_newClusterIdentifier;
718
719 bool m_publiclyAccessible{false};
720
721 Aws::String m_elasticIp;
722
723 bool m_enhancedVpcRouting{false};
724
725 Aws::String m_maintenanceTrackName;
726
727 bool m_encrypted{false};
728
729 Aws::String m_kmsKeyId;
730
731 bool m_availabilityZoneRelocation{false};
732
733 Aws::String m_availabilityZone;
734
735 int m_port{0};
736
737 bool m_manageMasterPassword{false};
738
739 Aws::String m_masterPasswordSecretKmsKeyId;
740
741 Aws::String m_ipAddressType;
742
743 bool m_multiAZ{false};
744
745 bool m_extraComputeForAutomaticOptimization{false};
746 bool m_clusterIdentifierHasBeenSet = false;
747 bool m_clusterTypeHasBeenSet = false;
748 bool m_nodeTypeHasBeenSet = false;
749 bool m_numberOfNodesHasBeenSet = false;
750 bool m_clusterSecurityGroupsHasBeenSet = false;
751 bool m_vpcSecurityGroupIdsHasBeenSet = false;
752 bool m_masterUserPasswordHasBeenSet = false;
753 bool m_clusterParameterGroupNameHasBeenSet = false;
754 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
755 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
756 bool m_preferredMaintenanceWindowHasBeenSet = false;
757 bool m_clusterVersionHasBeenSet = false;
758 bool m_allowVersionUpgradeHasBeenSet = false;
759 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
760 bool m_hsmConfigurationIdentifierHasBeenSet = false;
761 bool m_newClusterIdentifierHasBeenSet = false;
762 bool m_publiclyAccessibleHasBeenSet = false;
763 bool m_elasticIpHasBeenSet = false;
764 bool m_enhancedVpcRoutingHasBeenSet = false;
765 bool m_maintenanceTrackNameHasBeenSet = false;
766 bool m_encryptedHasBeenSet = false;
767 bool m_kmsKeyIdHasBeenSet = false;
768 bool m_availabilityZoneRelocationHasBeenSet = false;
769 bool m_availabilityZoneHasBeenSet = false;
770 bool m_portHasBeenSet = false;
771 bool m_manageMasterPasswordHasBeenSet = false;
772 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
773 bool m_ipAddressTypeHasBeenSet = false;
774 bool m_multiAZHasBeenSet = false;
775 bool m_extraComputeForAutomaticOptimizationHasBeenSet = false;
776};
777
778} // namespace Model
779} // namespace Redshift
780} // 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