AWS SDK for C++

AWS SDK for C++ Version 1.11.849

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
95 inline const Aws::String& GetNodeType() const { return m_nodeType; }
96 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
97 template <typename NodeTypeT = Aws::String>
98 void SetNodeType(NodeTypeT&& value) {
99 m_nodeTypeHasBeenSet = true;
100 m_nodeType = std::forward<NodeTypeT>(value);
101 }
102 template <typename NodeTypeT = Aws::String>
103 ModifyClusterRequest& WithNodeType(NodeTypeT&& value) {
104 SetNodeType(std::forward<NodeTypeT>(value));
105 return *this;
106 }
108
110
118 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
119 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
120 inline void SetNumberOfNodes(int value) {
121 m_numberOfNodesHasBeenSet = true;
122 m_numberOfNodes = value;
123 }
125 SetNumberOfNodes(value);
126 return *this;
127 }
129
131
140 inline const Aws::Vector<Aws::String>& GetClusterSecurityGroups() const { return m_clusterSecurityGroups; }
141 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
142 template <typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
143 void SetClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
144 m_clusterSecurityGroupsHasBeenSet = true;
145 m_clusterSecurityGroups = std::forward<ClusterSecurityGroupsT>(value);
146 }
147 template <typename ClusterSecurityGroupsT = Aws::Vector<Aws::String>>
148 ModifyClusterRequest& WithClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
149 SetClusterSecurityGroups(std::forward<ClusterSecurityGroupsT>(value));
150 return *this;
151 }
152 template <typename ClusterSecurityGroupsT = Aws::String>
153 ModifyClusterRequest& AddClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
154 m_clusterSecurityGroupsHasBeenSet = true;
155 m_clusterSecurityGroups.emplace_back(std::forward<ClusterSecurityGroupsT>(value));
156 return *this;
157 }
159
161
165 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
166 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
167 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
168 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
169 m_vpcSecurityGroupIdsHasBeenSet = true;
170 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
171 }
172 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
173 ModifyClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
174 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
175 return *this;
176 }
177 template <typename VpcSecurityGroupIdsT = Aws::String>
178 ModifyClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
179 m_vpcSecurityGroupIdsHasBeenSet = true;
180 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
181 return *this;
182 }
184
186
203 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
204 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
205 template <typename MasterUserPasswordT = Aws::String>
206 void SetMasterUserPassword(MasterUserPasswordT&& value) {
207 m_masterUserPasswordHasBeenSet = true;
208 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
209 }
210 template <typename MasterUserPasswordT = Aws::String>
211 ModifyClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
212 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
213 return *this;
214 }
216
218
225 inline const Aws::String& GetClusterParameterGroupName() const { return m_clusterParameterGroupName; }
226 inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; }
227 template <typename ClusterParameterGroupNameT = Aws::String>
228 void SetClusterParameterGroupName(ClusterParameterGroupNameT&& value) {
229 m_clusterParameterGroupNameHasBeenSet = true;
230 m_clusterParameterGroupName = std::forward<ClusterParameterGroupNameT>(value);
231 }
232 template <typename ClusterParameterGroupNameT = Aws::String>
233 ModifyClusterRequest& WithClusterParameterGroupName(ClusterParameterGroupNameT&& value) {
234 SetClusterParameterGroupName(std::forward<ClusterParameterGroupNameT>(value));
235 return *this;
236 }
238
240
251 inline int GetAutomatedSnapshotRetentionPeriod() const { return m_automatedSnapshotRetentionPeriod; }
252 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
253 inline void SetAutomatedSnapshotRetentionPeriod(int value) {
254 m_automatedSnapshotRetentionPeriodHasBeenSet = true;
255 m_automatedSnapshotRetentionPeriod = value;
256 }
259 return *this;
260 }
262
264
271 inline int GetManualSnapshotRetentionPeriod() const { return m_manualSnapshotRetentionPeriod; }
272 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
273 inline void SetManualSnapshotRetentionPeriod(int value) {
274 m_manualSnapshotRetentionPeriodHasBeenSet = true;
275 m_manualSnapshotRetentionPeriod = value;
276 }
279 return *this;
280 }
282
284
295 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
296 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
297 template <typename PreferredMaintenanceWindowT = Aws::String>
298 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
299 m_preferredMaintenanceWindowHasBeenSet = true;
300 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
301 }
302 template <typename PreferredMaintenanceWindowT = Aws::String>
303 ModifyClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
304 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
305 return *this;
306 }
308
310
321 inline const Aws::String& GetClusterVersion() const { return m_clusterVersion; }
322 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
323 template <typename ClusterVersionT = Aws::String>
324 void SetClusterVersion(ClusterVersionT&& value) {
325 m_clusterVersionHasBeenSet = true;
326 m_clusterVersion = std::forward<ClusterVersionT>(value);
327 }
328 template <typename ClusterVersionT = Aws::String>
329 ModifyClusterRequest& WithClusterVersion(ClusterVersionT&& value) {
330 SetClusterVersion(std::forward<ClusterVersionT>(value));
331 return *this;
332 }
334
336
341 inline bool GetAllowVersionUpgrade() const { return m_allowVersionUpgrade; }
342 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
343 inline void SetAllowVersionUpgrade(bool value) {
344 m_allowVersionUpgradeHasBeenSet = true;
345 m_allowVersionUpgrade = value;
346 }
349 return *this;
350 }
352
354
358 inline const Aws::String& GetHsmClientCertificateIdentifier() const { return m_hsmClientCertificateIdentifier; }
359 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
360 template <typename HsmClientCertificateIdentifierT = Aws::String>
361 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) {
362 m_hsmClientCertificateIdentifierHasBeenSet = true;
363 m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value);
364 }
365 template <typename HsmClientCertificateIdentifierT = Aws::String>
366 ModifyClusterRequest& WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) {
367 SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value));
368 return *this;
369 }
371
373
377 inline const Aws::String& GetHsmConfigurationIdentifier() const { return m_hsmConfigurationIdentifier; }
378 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
379 template <typename HsmConfigurationIdentifierT = Aws::String>
380 void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) {
381 m_hsmConfigurationIdentifierHasBeenSet = true;
382 m_hsmConfigurationIdentifier = std::forward<HsmConfigurationIdentifierT>(value);
383 }
384 template <typename HsmConfigurationIdentifierT = Aws::String>
385 ModifyClusterRequest& WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) {
386 SetHsmConfigurationIdentifier(std::forward<HsmConfigurationIdentifierT>(value));
387 return *this;
388 }
390
392
401 inline const Aws::String& GetNewClusterIdentifier() const { return m_newClusterIdentifier; }
402 inline bool NewClusterIdentifierHasBeenSet() const { return m_newClusterIdentifierHasBeenSet; }
403 template <typename NewClusterIdentifierT = Aws::String>
404 void SetNewClusterIdentifier(NewClusterIdentifierT&& value) {
405 m_newClusterIdentifierHasBeenSet = true;
406 m_newClusterIdentifier = std::forward<NewClusterIdentifierT>(value);
407 }
408 template <typename NewClusterIdentifierT = Aws::String>
409 ModifyClusterRequest& WithNewClusterIdentifier(NewClusterIdentifierT&& value) {
410 SetNewClusterIdentifier(std::forward<NewClusterIdentifierT>(value));
411 return *this;
412 }
414
416
420 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
421 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
422 inline void SetPubliclyAccessible(bool value) {
423 m_publiclyAccessibleHasBeenSet = true;
424 m_publiclyAccessible = value;
425 }
428 return *this;
429 }
431
433
441 inline const Aws::String& GetElasticIp() const { return m_elasticIp; }
442 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
443 template <typename ElasticIpT = Aws::String>
444 void SetElasticIp(ElasticIpT&& value) {
445 m_elasticIpHasBeenSet = true;
446 m_elasticIp = std::forward<ElasticIpT>(value);
447 }
448 template <typename ElasticIpT = Aws::String>
449 ModifyClusterRequest& WithElasticIp(ElasticIpT&& value) {
450 SetElasticIp(std::forward<ElasticIpT>(value));
451 return *this;
452 }
454
456
465 inline bool GetEnhancedVpcRouting() const { return m_enhancedVpcRouting; }
466 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
467 inline void SetEnhancedVpcRouting(bool value) {
468 m_enhancedVpcRoutingHasBeenSet = true;
469 m_enhancedVpcRouting = value;
470 }
473 return *this;
474 }
476
478
486 inline const Aws::String& GetMaintenanceTrackName() const { return m_maintenanceTrackName; }
487 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
488 template <typename MaintenanceTrackNameT = Aws::String>
489 void SetMaintenanceTrackName(MaintenanceTrackNameT&& value) {
490 m_maintenanceTrackNameHasBeenSet = true;
491 m_maintenanceTrackName = std::forward<MaintenanceTrackNameT>(value);
492 }
493 template <typename MaintenanceTrackNameT = Aws::String>
494 ModifyClusterRequest& WithMaintenanceTrackName(MaintenanceTrackNameT&& value) {
495 SetMaintenanceTrackName(std::forward<MaintenanceTrackNameT>(value));
496 return *this;
497 }
499
501
508 inline bool GetEncrypted() const { return m_encrypted; }
509 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
510 inline void SetEncrypted(bool value) {
511 m_encryptedHasBeenSet = true;
512 m_encrypted = value;
513 }
515 SetEncrypted(value);
516 return *this;
517 }
519
521
525 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
526 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
527 template <typename KmsKeyIdT = Aws::String>
528 void SetKmsKeyId(KmsKeyIdT&& value) {
529 m_kmsKeyIdHasBeenSet = true;
530 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
531 }
532 template <typename KmsKeyIdT = Aws::String>
533 ModifyClusterRequest& WithKmsKeyId(KmsKeyIdT&& value) {
534 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
535 return *this;
536 }
538
540
544 inline bool GetAvailabilityZoneRelocation() const { return m_availabilityZoneRelocation; }
545 inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; }
546 inline void SetAvailabilityZoneRelocation(bool value) {
547 m_availabilityZoneRelocationHasBeenSet = true;
548 m_availabilityZoneRelocation = value;
549 }
552 return *this;
553 }
555
557
561 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
562 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
563 template <typename AvailabilityZoneT = Aws::String>
564 void SetAvailabilityZone(AvailabilityZoneT&& value) {
565 m_availabilityZoneHasBeenSet = true;
566 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
567 }
568 template <typename AvailabilityZoneT = Aws::String>
569 ModifyClusterRequest& WithAvailabilityZone(AvailabilityZoneT&& value) {
570 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
571 return *this;
572 }
574
576
584 inline int GetPort() const { return m_port; }
585 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
586 inline void SetPort(int value) {
587 m_portHasBeenSet = true;
588 m_port = value;
589 }
590 inline ModifyClusterRequest& WithPort(int value) {
591 SetPort(value);
592 return *this;
593 }
595
597
604 inline bool GetManageMasterPassword() const { return m_manageMasterPassword; }
605 inline bool ManageMasterPasswordHasBeenSet() const { return m_manageMasterPasswordHasBeenSet; }
606 inline void SetManageMasterPassword(bool value) {
607 m_manageMasterPasswordHasBeenSet = true;
608 m_manageMasterPassword = value;
609 }
612 return *this;
613 }
615
617
622 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const { return m_masterPasswordSecretKmsKeyId; }
623 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
624 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
625 void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
626 m_masterPasswordSecretKmsKeyIdHasBeenSet = true;
627 m_masterPasswordSecretKmsKeyId = std::forward<MasterPasswordSecretKmsKeyIdT>(value);
628 }
629 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
630 ModifyClusterRequest& WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
631 SetMasterPasswordSecretKmsKeyId(std::forward<MasterPasswordSecretKmsKeyIdT>(value));
632 return *this;
633 }
635
637
641 inline const Aws::String& GetIpAddressType() const { return m_ipAddressType; }
642 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
643 template <typename IpAddressTypeT = Aws::String>
644 void SetIpAddressType(IpAddressTypeT&& value) {
645 m_ipAddressTypeHasBeenSet = true;
646 m_ipAddressType = std::forward<IpAddressTypeT>(value);
647 }
648 template <typename IpAddressTypeT = Aws::String>
649 ModifyClusterRequest& WithIpAddressType(IpAddressTypeT&& value) {
650 SetIpAddressType(std::forward<IpAddressTypeT>(value));
651 return *this;
652 }
654
656
660 inline bool GetMultiAZ() const { return m_multiAZ; }
661 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
662 inline void SetMultiAZ(bool value) {
663 m_multiAZHasBeenSet = true;
664 m_multiAZ = value;
665 }
666 inline ModifyClusterRequest& WithMultiAZ(bool value) {
667 SetMultiAZ(value);
668 return *this;
669 }
671
673
677 inline bool GetExtraComputeForAutomaticOptimization() const { return m_extraComputeForAutomaticOptimization; }
678 inline bool ExtraComputeForAutomaticOptimizationHasBeenSet() const { return m_extraComputeForAutomaticOptimizationHasBeenSet; }
680 m_extraComputeForAutomaticOptimizationHasBeenSet = true;
681 m_extraComputeForAutomaticOptimization = value;
682 }
685 return *this;
686 }
688 private:
689 Aws::String m_clusterIdentifier;
690
691 Aws::String m_clusterType;
692
693 Aws::String m_nodeType;
694
695 int m_numberOfNodes{0};
696
697 Aws::Vector<Aws::String> m_clusterSecurityGroups;
698
699 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
700
701 Aws::String m_masterUserPassword;
702
703 Aws::String m_clusterParameterGroupName;
704
705 int m_automatedSnapshotRetentionPeriod{0};
706
707 int m_manualSnapshotRetentionPeriod{0};
708
709 Aws::String m_preferredMaintenanceWindow;
710
711 Aws::String m_clusterVersion;
712
713 bool m_allowVersionUpgrade{false};
714
715 Aws::String m_hsmClientCertificateIdentifier;
716
717 Aws::String m_hsmConfigurationIdentifier;
718
719 Aws::String m_newClusterIdentifier;
720
721 bool m_publiclyAccessible{false};
722
723 Aws::String m_elasticIp;
724
725 bool m_enhancedVpcRouting{false};
726
727 Aws::String m_maintenanceTrackName;
728
729 bool m_encrypted{false};
730
731 Aws::String m_kmsKeyId;
732
733 bool m_availabilityZoneRelocation{false};
734
735 Aws::String m_availabilityZone;
736
737 int m_port{0};
738
739 bool m_manageMasterPassword{false};
740
741 Aws::String m_masterPasswordSecretKmsKeyId;
742
743 Aws::String m_ipAddressType;
744
745 bool m_multiAZ{false};
746
747 bool m_extraComputeForAutomaticOptimization{false};
748 bool m_clusterIdentifierHasBeenSet = false;
749 bool m_clusterTypeHasBeenSet = false;
750 bool m_nodeTypeHasBeenSet = false;
751 bool m_numberOfNodesHasBeenSet = false;
752 bool m_clusterSecurityGroupsHasBeenSet = false;
753 bool m_vpcSecurityGroupIdsHasBeenSet = false;
754 bool m_masterUserPasswordHasBeenSet = false;
755 bool m_clusterParameterGroupNameHasBeenSet = false;
756 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
757 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
758 bool m_preferredMaintenanceWindowHasBeenSet = false;
759 bool m_clusterVersionHasBeenSet = false;
760 bool m_allowVersionUpgradeHasBeenSet = false;
761 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
762 bool m_hsmConfigurationIdentifierHasBeenSet = false;
763 bool m_newClusterIdentifierHasBeenSet = false;
764 bool m_publiclyAccessibleHasBeenSet = false;
765 bool m_elasticIpHasBeenSet = false;
766 bool m_enhancedVpcRoutingHasBeenSet = false;
767 bool m_maintenanceTrackNameHasBeenSet = false;
768 bool m_encryptedHasBeenSet = false;
769 bool m_kmsKeyIdHasBeenSet = false;
770 bool m_availabilityZoneRelocationHasBeenSet = false;
771 bool m_availabilityZoneHasBeenSet = false;
772 bool m_portHasBeenSet = false;
773 bool m_manageMasterPasswordHasBeenSet = false;
774 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
775 bool m_ipAddressTypeHasBeenSet = false;
776 bool m_multiAZHasBeenSet = false;
777 bool m_extraComputeForAutomaticOptimizationHasBeenSet = false;
778};
779
780} // namespace Model
781} // namespace Redshift
782} // 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