AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
Cluster.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/Redshift_EXPORTS.h>
12#include <aws/redshift/model/AquaConfiguration.h>
13#include <aws/redshift/model/ClusterIamRole.h>
14#include <aws/redshift/model/ClusterNode.h>
15#include <aws/redshift/model/ClusterParameterGroupStatus.h>
16#include <aws/redshift/model/ClusterSecurityGroupMembership.h>
17#include <aws/redshift/model/ClusterSnapshotCopyStatus.h>
18#include <aws/redshift/model/DataTransferProgress.h>
19#include <aws/redshift/model/DeferredMaintenanceWindow.h>
20#include <aws/redshift/model/ElasticIpStatus.h>
21#include <aws/redshift/model/Endpoint.h>
22#include <aws/redshift/model/HsmStatus.h>
23#include <aws/redshift/model/LoggingPublishStatus.h>
24#include <aws/redshift/model/PendingModifiedValues.h>
25#include <aws/redshift/model/ReservedNodeExchangeStatus.h>
26#include <aws/redshift/model/ResizeInfo.h>
27#include <aws/redshift/model/RestoreStatus.h>
28#include <aws/redshift/model/ScheduleState.h>
29#include <aws/redshift/model/SecondaryClusterInfo.h>
30#include <aws/redshift/model/Tag.h>
31#include <aws/redshift/model/VpcSecurityGroupMembership.h>
32
33#include <utility>
34
35namespace Aws {
36namespace Utils {
37namespace Xml {
38class XmlNode;
39} // namespace Xml
40} // namespace Utils
41namespace Redshift {
42namespace Model {
43
49class Cluster {
50 public:
51 AWS_REDSHIFT_API Cluster() = default;
52 AWS_REDSHIFT_API Cluster(const Aws::Utils::Xml::XmlNode& xmlNode);
53 AWS_REDSHIFT_API Cluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
54
55 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
56 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
57
59
62 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
63 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
64 template <typename ClusterIdentifierT = Aws::String>
65 void SetClusterIdentifier(ClusterIdentifierT&& value) {
66 m_clusterIdentifierHasBeenSet = true;
67 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
68 }
69 template <typename ClusterIdentifierT = Aws::String>
70 Cluster& WithClusterIdentifier(ClusterIdentifierT&& value) {
71 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetNodeType() const { return m_nodeType; }
81 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
82 template <typename NodeTypeT = Aws::String>
83 void SetNodeType(NodeTypeT&& value) {
84 m_nodeTypeHasBeenSet = true;
85 m_nodeType = std::forward<NodeTypeT>(value);
86 }
87 template <typename NodeTypeT = Aws::String>
88 Cluster& WithNodeType(NodeTypeT&& value) {
89 SetNodeType(std::forward<NodeTypeT>(value));
90 return *this;
91 }
93
95
112 inline const Aws::String& GetClusterStatus() const { return m_clusterStatus; }
113 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
114 template <typename ClusterStatusT = Aws::String>
115 void SetClusterStatus(ClusterStatusT&& value) {
116 m_clusterStatusHasBeenSet = true;
117 m_clusterStatus = std::forward<ClusterStatusT>(value);
118 }
119 template <typename ClusterStatusT = Aws::String>
120 Cluster& WithClusterStatus(ClusterStatusT&& value) {
121 SetClusterStatus(std::forward<ClusterStatusT>(value));
122 return *this;
123 }
125
127
137 inline const Aws::String& GetClusterAvailabilityStatus() const { return m_clusterAvailabilityStatus; }
138 inline bool ClusterAvailabilityStatusHasBeenSet() const { return m_clusterAvailabilityStatusHasBeenSet; }
139 template <typename ClusterAvailabilityStatusT = Aws::String>
140 void SetClusterAvailabilityStatus(ClusterAvailabilityStatusT&& value) {
141 m_clusterAvailabilityStatusHasBeenSet = true;
142 m_clusterAvailabilityStatus = std::forward<ClusterAvailabilityStatusT>(value);
143 }
144 template <typename ClusterAvailabilityStatusT = Aws::String>
145 Cluster& WithClusterAvailabilityStatus(ClusterAvailabilityStatusT&& value) {
146 SetClusterAvailabilityStatus(std::forward<ClusterAvailabilityStatusT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetModifyStatus() const { return m_modifyStatus; }
156 inline bool ModifyStatusHasBeenSet() const { return m_modifyStatusHasBeenSet; }
157 template <typename ModifyStatusT = Aws::String>
158 void SetModifyStatus(ModifyStatusT&& value) {
159 m_modifyStatusHasBeenSet = true;
160 m_modifyStatus = std::forward<ModifyStatusT>(value);
161 }
162 template <typename ModifyStatusT = Aws::String>
163 Cluster& WithModifyStatus(ModifyStatusT&& value) {
164 SetModifyStatus(std::forward<ModifyStatusT>(value));
165 return *this;
166 }
168
170
174 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
175 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
176 template <typename MasterUsernameT = Aws::String>
177 void SetMasterUsername(MasterUsernameT&& value) {
178 m_masterUsernameHasBeenSet = true;
179 m_masterUsername = std::forward<MasterUsernameT>(value);
180 }
181 template <typename MasterUsernameT = Aws::String>
182 Cluster& WithMasterUsername(MasterUsernameT&& value) {
183 SetMasterUsername(std::forward<MasterUsernameT>(value));
184 return *this;
185 }
187
189
195 inline const Aws::String& GetDBName() const { return m_dBName; }
196 inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; }
197 template <typename DBNameT = Aws::String>
198 void SetDBName(DBNameT&& value) {
199 m_dBNameHasBeenSet = true;
200 m_dBName = std::forward<DBNameT>(value);
201 }
202 template <typename DBNameT = Aws::String>
203 Cluster& WithDBName(DBNameT&& value) {
204 SetDBName(std::forward<DBNameT>(value));
205 return *this;
206 }
208
210
213 inline const Endpoint& GetEndpoint() const { return m_endpoint; }
214 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
215 template <typename EndpointT = Endpoint>
216 void SetEndpoint(EndpointT&& value) {
217 m_endpointHasBeenSet = true;
218 m_endpoint = std::forward<EndpointT>(value);
219 }
220 template <typename EndpointT = Endpoint>
221 Cluster& WithEndpoint(EndpointT&& value) {
222 SetEndpoint(std::forward<EndpointT>(value));
223 return *this;
224 }
226
228
231 inline const Aws::Utils::DateTime& GetClusterCreateTime() const { return m_clusterCreateTime; }
232 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
233 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
234 void SetClusterCreateTime(ClusterCreateTimeT&& value) {
235 m_clusterCreateTimeHasBeenSet = true;
236 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
237 }
238 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
239 Cluster& WithClusterCreateTime(ClusterCreateTimeT&& value) {
240 SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value));
241 return *this;
242 }
244
246
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
268 inline int GetManualSnapshotRetentionPeriod() const { return m_manualSnapshotRetentionPeriod; }
269 inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; }
270 inline void SetManualSnapshotRetentionPeriod(int value) {
271 m_manualSnapshotRetentionPeriodHasBeenSet = true;
272 m_manualSnapshotRetentionPeriod = value;
273 }
276 return *this;
277 }
279
281
290 inline const Aws::Vector<ClusterSecurityGroupMembership>& GetClusterSecurityGroups() const { return m_clusterSecurityGroups; }
291 inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; }
292 template <typename ClusterSecurityGroupsT = Aws::Vector<ClusterSecurityGroupMembership>>
293 void SetClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
294 m_clusterSecurityGroupsHasBeenSet = true;
295 m_clusterSecurityGroups = std::forward<ClusterSecurityGroupsT>(value);
296 }
297 template <typename ClusterSecurityGroupsT = Aws::Vector<ClusterSecurityGroupMembership>>
298 Cluster& WithClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
299 SetClusterSecurityGroups(std::forward<ClusterSecurityGroupsT>(value));
300 return *this;
301 }
302 template <typename ClusterSecurityGroupsT = ClusterSecurityGroupMembership>
303 Cluster& AddClusterSecurityGroups(ClusterSecurityGroupsT&& value) {
304 m_clusterSecurityGroupsHasBeenSet = true;
305 m_clusterSecurityGroups.emplace_back(std::forward<ClusterSecurityGroupsT>(value));
306 return *this;
307 }
309
311
316 inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const { return m_vpcSecurityGroups; }
317 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
318 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
319 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) {
320 m_vpcSecurityGroupsHasBeenSet = true;
321 m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value);
322 }
323 template <typename VpcSecurityGroupsT = Aws::Vector<VpcSecurityGroupMembership>>
324 Cluster& WithVpcSecurityGroups(VpcSecurityGroupsT&& value) {
325 SetVpcSecurityGroups(std::forward<VpcSecurityGroupsT>(value));
326 return *this;
327 }
328 template <typename VpcSecurityGroupsT = VpcSecurityGroupMembership>
329 Cluster& AddVpcSecurityGroups(VpcSecurityGroupsT&& value) {
330 m_vpcSecurityGroupsHasBeenSet = true;
331 m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
332 return *this;
333 }
335
337
341 inline const Aws::Vector<ClusterParameterGroupStatus>& GetClusterParameterGroups() const { return m_clusterParameterGroups; }
342 inline bool ClusterParameterGroupsHasBeenSet() const { return m_clusterParameterGroupsHasBeenSet; }
343 template <typename ClusterParameterGroupsT = Aws::Vector<ClusterParameterGroupStatus>>
344 void SetClusterParameterGroups(ClusterParameterGroupsT&& value) {
345 m_clusterParameterGroupsHasBeenSet = true;
346 m_clusterParameterGroups = std::forward<ClusterParameterGroupsT>(value);
347 }
348 template <typename ClusterParameterGroupsT = Aws::Vector<ClusterParameterGroupStatus>>
349 Cluster& WithClusterParameterGroups(ClusterParameterGroupsT&& value) {
350 SetClusterParameterGroups(std::forward<ClusterParameterGroupsT>(value));
351 return *this;
352 }
353 template <typename ClusterParameterGroupsT = ClusterParameterGroupStatus>
354 Cluster& AddClusterParameterGroups(ClusterParameterGroupsT&& value) {
355 m_clusterParameterGroupsHasBeenSet = true;
356 m_clusterParameterGroups.emplace_back(std::forward<ClusterParameterGroupsT>(value));
357 return *this;
358 }
360
362
366 inline const Aws::String& GetClusterSubnetGroupName() const { return m_clusterSubnetGroupName; }
367 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
368 template <typename ClusterSubnetGroupNameT = Aws::String>
369 void SetClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) {
370 m_clusterSubnetGroupNameHasBeenSet = true;
371 m_clusterSubnetGroupName = std::forward<ClusterSubnetGroupNameT>(value);
372 }
373 template <typename ClusterSubnetGroupNameT = Aws::String>
374 Cluster& WithClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) {
375 SetClusterSubnetGroupName(std::forward<ClusterSubnetGroupNameT>(value));
376 return *this;
377 }
379
381
384 inline const Aws::String& GetVpcId() const { return m_vpcId; }
385 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
386 template <typename VpcIdT = Aws::String>
387 void SetVpcId(VpcIdT&& value) {
388 m_vpcIdHasBeenSet = true;
389 m_vpcId = std::forward<VpcIdT>(value);
390 }
391 template <typename VpcIdT = Aws::String>
392 Cluster& WithVpcId(VpcIdT&& value) {
393 SetVpcId(std::forward<VpcIdT>(value));
394 return *this;
395 }
397
399
402 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
403 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
404 template <typename AvailabilityZoneT = Aws::String>
405 void SetAvailabilityZone(AvailabilityZoneT&& value) {
406 m_availabilityZoneHasBeenSet = true;
407 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
408 }
409 template <typename AvailabilityZoneT = Aws::String>
410 Cluster& WithAvailabilityZone(AvailabilityZoneT&& value) {
411 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
412 return *this;
413 }
415
417
421 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
422 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
423 template <typename PreferredMaintenanceWindowT = Aws::String>
424 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
425 m_preferredMaintenanceWindowHasBeenSet = true;
426 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
427 }
428 template <typename PreferredMaintenanceWindowT = Aws::String>
429 Cluster& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
430 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
431 return *this;
432 }
434
436
440 inline const PendingModifiedValues& GetPendingModifiedValues() const { return m_pendingModifiedValues; }
441 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
442 template <typename PendingModifiedValuesT = PendingModifiedValues>
443 void SetPendingModifiedValues(PendingModifiedValuesT&& value) {
444 m_pendingModifiedValuesHasBeenSet = true;
445 m_pendingModifiedValues = std::forward<PendingModifiedValuesT>(value);
446 }
447 template <typename PendingModifiedValuesT = PendingModifiedValues>
448 Cluster& WithPendingModifiedValues(PendingModifiedValuesT&& value) {
449 SetPendingModifiedValues(std::forward<PendingModifiedValuesT>(value));
450 return *this;
451 }
453
455
459 inline const Aws::String& GetClusterVersion() const { return m_clusterVersion; }
460 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
461 template <typename ClusterVersionT = Aws::String>
462 void SetClusterVersion(ClusterVersionT&& value) {
463 m_clusterVersionHasBeenSet = true;
464 m_clusterVersion = std::forward<ClusterVersionT>(value);
465 }
466 template <typename ClusterVersionT = Aws::String>
467 Cluster& WithClusterVersion(ClusterVersionT&& value) {
468 SetClusterVersion(std::forward<ClusterVersionT>(value));
469 return *this;
470 }
472
474
479 inline bool GetAllowVersionUpgrade() const { return m_allowVersionUpgrade; }
480 inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; }
481 inline void SetAllowVersionUpgrade(bool value) {
482 m_allowVersionUpgradeHasBeenSet = true;
483 m_allowVersionUpgrade = value;
484 }
485 inline Cluster& WithAllowVersionUpgrade(bool value) {
487 return *this;
488 }
490
492
495 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
496 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
497 inline void SetNumberOfNodes(int value) {
498 m_numberOfNodesHasBeenSet = true;
499 m_numberOfNodes = value;
500 }
501 inline Cluster& WithNumberOfNodes(int value) {
502 SetNumberOfNodes(value);
503 return *this;
504 }
506
508
512 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
513 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
514 inline void SetPubliclyAccessible(bool value) {
515 m_publiclyAccessibleHasBeenSet = true;
516 m_publiclyAccessible = value;
517 }
518 inline Cluster& WithPubliclyAccessible(bool value) {
520 return *this;
521 }
523
525
529 inline bool GetEncrypted() const { return m_encrypted; }
530 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
531 inline void SetEncrypted(bool value) {
532 m_encryptedHasBeenSet = true;
533 m_encrypted = value;
534 }
535 inline Cluster& WithEncrypted(bool value) {
536 SetEncrypted(value);
537 return *this;
538 }
540
542
546 inline const RestoreStatus& GetRestoreStatus() const { return m_restoreStatus; }
547 inline bool RestoreStatusHasBeenSet() const { return m_restoreStatusHasBeenSet; }
548 template <typename RestoreStatusT = RestoreStatus>
549 void SetRestoreStatus(RestoreStatusT&& value) {
550 m_restoreStatusHasBeenSet = true;
551 m_restoreStatus = std::forward<RestoreStatusT>(value);
552 }
553 template <typename RestoreStatusT = RestoreStatus>
554 Cluster& WithRestoreStatus(RestoreStatusT&& value) {
555 SetRestoreStatus(std::forward<RestoreStatusT>(value));
556 return *this;
557 }
559
561
564 inline const DataTransferProgress& GetDataTransferProgress() const { return m_dataTransferProgress; }
565 inline bool DataTransferProgressHasBeenSet() const { return m_dataTransferProgressHasBeenSet; }
566 template <typename DataTransferProgressT = DataTransferProgress>
567 void SetDataTransferProgress(DataTransferProgressT&& value) {
568 m_dataTransferProgressHasBeenSet = true;
569 m_dataTransferProgress = std::forward<DataTransferProgressT>(value);
570 }
571 template <typename DataTransferProgressT = DataTransferProgress>
572 Cluster& WithDataTransferProgress(DataTransferProgressT&& value) {
573 SetDataTransferProgress(std::forward<DataTransferProgressT>(value));
574 return *this;
575 }
577
579
584 inline const HsmStatus& GetHsmStatus() const { return m_hsmStatus; }
585 inline bool HsmStatusHasBeenSet() const { return m_hsmStatusHasBeenSet; }
586 template <typename HsmStatusT = HsmStatus>
587 void SetHsmStatus(HsmStatusT&& value) {
588 m_hsmStatusHasBeenSet = true;
589 m_hsmStatus = std::forward<HsmStatusT>(value);
590 }
591 template <typename HsmStatusT = HsmStatus>
592 Cluster& WithHsmStatus(HsmStatusT&& value) {
593 SetHsmStatus(std::forward<HsmStatusT>(value));
594 return *this;
595 }
597
599
603 inline const ClusterSnapshotCopyStatus& GetClusterSnapshotCopyStatus() const { return m_clusterSnapshotCopyStatus; }
604 inline bool ClusterSnapshotCopyStatusHasBeenSet() const { return m_clusterSnapshotCopyStatusHasBeenSet; }
605 template <typename ClusterSnapshotCopyStatusT = ClusterSnapshotCopyStatus>
606 void SetClusterSnapshotCopyStatus(ClusterSnapshotCopyStatusT&& value) {
607 m_clusterSnapshotCopyStatusHasBeenSet = true;
608 m_clusterSnapshotCopyStatus = std::forward<ClusterSnapshotCopyStatusT>(value);
609 }
610 template <typename ClusterSnapshotCopyStatusT = ClusterSnapshotCopyStatus>
611 Cluster& WithClusterSnapshotCopyStatus(ClusterSnapshotCopyStatusT&& value) {
612 SetClusterSnapshotCopyStatus(std::forward<ClusterSnapshotCopyStatusT>(value));
613 return *this;
614 }
616
618
621 inline const Aws::String& GetClusterPublicKey() const { return m_clusterPublicKey; }
622 inline bool ClusterPublicKeyHasBeenSet() const { return m_clusterPublicKeyHasBeenSet; }
623 template <typename ClusterPublicKeyT = Aws::String>
624 void SetClusterPublicKey(ClusterPublicKeyT&& value) {
625 m_clusterPublicKeyHasBeenSet = true;
626 m_clusterPublicKey = std::forward<ClusterPublicKeyT>(value);
627 }
628 template <typename ClusterPublicKeyT = Aws::String>
629 Cluster& WithClusterPublicKey(ClusterPublicKeyT&& value) {
630 SetClusterPublicKey(std::forward<ClusterPublicKeyT>(value));
631 return *this;
632 }
634
636
639 inline const Aws::Vector<ClusterNode>& GetClusterNodes() const { return m_clusterNodes; }
640 inline bool ClusterNodesHasBeenSet() const { return m_clusterNodesHasBeenSet; }
641 template <typename ClusterNodesT = Aws::Vector<ClusterNode>>
642 void SetClusterNodes(ClusterNodesT&& value) {
643 m_clusterNodesHasBeenSet = true;
644 m_clusterNodes = std::forward<ClusterNodesT>(value);
645 }
646 template <typename ClusterNodesT = Aws::Vector<ClusterNode>>
647 Cluster& WithClusterNodes(ClusterNodesT&& value) {
648 SetClusterNodes(std::forward<ClusterNodesT>(value));
649 return *this;
650 }
651 template <typename ClusterNodesT = ClusterNode>
652 Cluster& AddClusterNodes(ClusterNodesT&& value) {
653 m_clusterNodesHasBeenSet = true;
654 m_clusterNodes.emplace_back(std::forward<ClusterNodesT>(value));
655 return *this;
656 }
658
660
663 inline const ElasticIpStatus& GetElasticIpStatus() const { return m_elasticIpStatus; }
664 inline bool ElasticIpStatusHasBeenSet() const { return m_elasticIpStatusHasBeenSet; }
665 template <typename ElasticIpStatusT = ElasticIpStatus>
666 void SetElasticIpStatus(ElasticIpStatusT&& value) {
667 m_elasticIpStatusHasBeenSet = true;
668 m_elasticIpStatus = std::forward<ElasticIpStatusT>(value);
669 }
670 template <typename ElasticIpStatusT = ElasticIpStatus>
671 Cluster& WithElasticIpStatus(ElasticIpStatusT&& value) {
672 SetElasticIpStatus(std::forward<ElasticIpStatusT>(value));
673 return *this;
674 }
676
678
681 inline const Aws::String& GetClusterRevisionNumber() const { return m_clusterRevisionNumber; }
682 inline bool ClusterRevisionNumberHasBeenSet() const { return m_clusterRevisionNumberHasBeenSet; }
683 template <typename ClusterRevisionNumberT = Aws::String>
684 void SetClusterRevisionNumber(ClusterRevisionNumberT&& value) {
685 m_clusterRevisionNumberHasBeenSet = true;
686 m_clusterRevisionNumber = std::forward<ClusterRevisionNumberT>(value);
687 }
688 template <typename ClusterRevisionNumberT = Aws::String>
689 Cluster& WithClusterRevisionNumber(ClusterRevisionNumberT&& value) {
690 SetClusterRevisionNumber(std::forward<ClusterRevisionNumberT>(value));
691 return *this;
692 }
694
696
699 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
700 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
701 template <typename TagsT = Aws::Vector<Tag>>
702 void SetTags(TagsT&& value) {
703 m_tagsHasBeenSet = true;
704 m_tags = std::forward<TagsT>(value);
705 }
706 template <typename TagsT = Aws::Vector<Tag>>
707 Cluster& WithTags(TagsT&& value) {
708 SetTags(std::forward<TagsT>(value));
709 return *this;
710 }
711 template <typename TagsT = Tag>
712 Cluster& AddTags(TagsT&& value) {
713 m_tagsHasBeenSet = true;
714 m_tags.emplace_back(std::forward<TagsT>(value));
715 return *this;
716 }
718
720
724 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
725 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
726 template <typename KmsKeyIdT = Aws::String>
727 void SetKmsKeyId(KmsKeyIdT&& value) {
728 m_kmsKeyIdHasBeenSet = true;
729 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
730 }
731 template <typename KmsKeyIdT = Aws::String>
732 Cluster& WithKmsKeyId(KmsKeyIdT&& value) {
733 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
734 return *this;
735 }
737
739
748 inline bool GetEnhancedVpcRouting() const { return m_enhancedVpcRouting; }
749 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
750 inline void SetEnhancedVpcRouting(bool value) {
751 m_enhancedVpcRoutingHasBeenSet = true;
752 m_enhancedVpcRouting = value;
753 }
754 inline Cluster& WithEnhancedVpcRouting(bool value) {
756 return *this;
757 }
759
761
765 inline const Aws::Vector<ClusterIamRole>& GetIamRoles() const { return m_iamRoles; }
766 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
767 template <typename IamRolesT = Aws::Vector<ClusterIamRole>>
768 void SetIamRoles(IamRolesT&& value) {
769 m_iamRolesHasBeenSet = true;
770 m_iamRoles = std::forward<IamRolesT>(value);
771 }
772 template <typename IamRolesT = Aws::Vector<ClusterIamRole>>
773 Cluster& WithIamRoles(IamRolesT&& value) {
774 SetIamRoles(std::forward<IamRolesT>(value));
775 return *this;
776 }
777 template <typename IamRolesT = ClusterIamRole>
778 Cluster& AddIamRoles(IamRolesT&& value) {
779 m_iamRolesHasBeenSet = true;
780 m_iamRoles.emplace_back(std::forward<IamRolesT>(value));
781 return *this;
782 }
784
786
789 inline const Aws::Vector<Aws::String>& GetPendingActions() const { return m_pendingActions; }
790 inline bool PendingActionsHasBeenSet() const { return m_pendingActionsHasBeenSet; }
791 template <typename PendingActionsT = Aws::Vector<Aws::String>>
792 void SetPendingActions(PendingActionsT&& value) {
793 m_pendingActionsHasBeenSet = true;
794 m_pendingActions = std::forward<PendingActionsT>(value);
795 }
796 template <typename PendingActionsT = Aws::Vector<Aws::String>>
797 Cluster& WithPendingActions(PendingActionsT&& value) {
798 SetPendingActions(std::forward<PendingActionsT>(value));
799 return *this;
800 }
801 template <typename PendingActionsT = Aws::String>
802 Cluster& AddPendingActions(PendingActionsT&& value) {
803 m_pendingActionsHasBeenSet = true;
804 m_pendingActions.emplace_back(std::forward<PendingActionsT>(value));
805 return *this;
806 }
808
810
813 inline const Aws::String& GetMaintenanceTrackName() const { return m_maintenanceTrackName; }
814 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
815 template <typename MaintenanceTrackNameT = Aws::String>
816 void SetMaintenanceTrackName(MaintenanceTrackNameT&& value) {
817 m_maintenanceTrackNameHasBeenSet = true;
818 m_maintenanceTrackName = std::forward<MaintenanceTrackNameT>(value);
819 }
820 template <typename MaintenanceTrackNameT = Aws::String>
821 Cluster& WithMaintenanceTrackName(MaintenanceTrackNameT&& value) {
822 SetMaintenanceTrackName(std::forward<MaintenanceTrackNameT>(value));
823 return *this;
824 }
826
828
832 inline const Aws::String& GetElasticResizeNumberOfNodeOptions() const { return m_elasticResizeNumberOfNodeOptions; }
833 inline bool ElasticResizeNumberOfNodeOptionsHasBeenSet() const { return m_elasticResizeNumberOfNodeOptionsHasBeenSet; }
834 template <typename ElasticResizeNumberOfNodeOptionsT = Aws::String>
835 void SetElasticResizeNumberOfNodeOptions(ElasticResizeNumberOfNodeOptionsT&& value) {
836 m_elasticResizeNumberOfNodeOptionsHasBeenSet = true;
837 m_elasticResizeNumberOfNodeOptions = std::forward<ElasticResizeNumberOfNodeOptionsT>(value);
838 }
839 template <typename ElasticResizeNumberOfNodeOptionsT = Aws::String>
840 Cluster& WithElasticResizeNumberOfNodeOptions(ElasticResizeNumberOfNodeOptionsT&& value) {
841 SetElasticResizeNumberOfNodeOptions(std::forward<ElasticResizeNumberOfNodeOptionsT>(value));
842 return *this;
843 }
845
847
850 inline const Aws::Vector<DeferredMaintenanceWindow>& GetDeferredMaintenanceWindows() const { return m_deferredMaintenanceWindows; }
851 inline bool DeferredMaintenanceWindowsHasBeenSet() const { return m_deferredMaintenanceWindowsHasBeenSet; }
852 template <typename DeferredMaintenanceWindowsT = Aws::Vector<DeferredMaintenanceWindow>>
853 void SetDeferredMaintenanceWindows(DeferredMaintenanceWindowsT&& value) {
854 m_deferredMaintenanceWindowsHasBeenSet = true;
855 m_deferredMaintenanceWindows = std::forward<DeferredMaintenanceWindowsT>(value);
856 }
857 template <typename DeferredMaintenanceWindowsT = Aws::Vector<DeferredMaintenanceWindow>>
858 Cluster& WithDeferredMaintenanceWindows(DeferredMaintenanceWindowsT&& value) {
859 SetDeferredMaintenanceWindows(std::forward<DeferredMaintenanceWindowsT>(value));
860 return *this;
861 }
862 template <typename DeferredMaintenanceWindowsT = DeferredMaintenanceWindow>
863 Cluster& AddDeferredMaintenanceWindows(DeferredMaintenanceWindowsT&& value) {
864 m_deferredMaintenanceWindowsHasBeenSet = true;
865 m_deferredMaintenanceWindows.emplace_back(std::forward<DeferredMaintenanceWindowsT>(value));
866 return *this;
867 }
869
871
874 inline const Aws::String& GetSnapshotScheduleIdentifier() const { return m_snapshotScheduleIdentifier; }
875 inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; }
876 template <typename SnapshotScheduleIdentifierT = Aws::String>
877 void SetSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT&& value) {
878 m_snapshotScheduleIdentifierHasBeenSet = true;
879 m_snapshotScheduleIdentifier = std::forward<SnapshotScheduleIdentifierT>(value);
880 }
881 template <typename SnapshotScheduleIdentifierT = Aws::String>
882 Cluster& WithSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT&& value) {
883 SetSnapshotScheduleIdentifier(std::forward<SnapshotScheduleIdentifierT>(value));
884 return *this;
885 }
887
889
892 inline ScheduleState GetSnapshotScheduleState() const { return m_snapshotScheduleState; }
893 inline bool SnapshotScheduleStateHasBeenSet() const { return m_snapshotScheduleStateHasBeenSet; }
895 m_snapshotScheduleStateHasBeenSet = true;
896 m_snapshotScheduleState = value;
897 }
900 return *this;
901 }
903
905
909 inline const Aws::Utils::DateTime& GetExpectedNextSnapshotScheduleTime() const { return m_expectedNextSnapshotScheduleTime; }
910 inline bool ExpectedNextSnapshotScheduleTimeHasBeenSet() const { return m_expectedNextSnapshotScheduleTimeHasBeenSet; }
911 template <typename ExpectedNextSnapshotScheduleTimeT = Aws::Utils::DateTime>
912 void SetExpectedNextSnapshotScheduleTime(ExpectedNextSnapshotScheduleTimeT&& value) {
913 m_expectedNextSnapshotScheduleTimeHasBeenSet = true;
914 m_expectedNextSnapshotScheduleTime = std::forward<ExpectedNextSnapshotScheduleTimeT>(value);
915 }
916 template <typename ExpectedNextSnapshotScheduleTimeT = Aws::Utils::DateTime>
917 Cluster& WithExpectedNextSnapshotScheduleTime(ExpectedNextSnapshotScheduleTimeT&& value) {
918 SetExpectedNextSnapshotScheduleTime(std::forward<ExpectedNextSnapshotScheduleTimeT>(value));
919 return *this;
920 }
922
924
930 inline const Aws::String& GetExpectedNextSnapshotScheduleTimeStatus() const { return m_expectedNextSnapshotScheduleTimeStatus; }
931 inline bool ExpectedNextSnapshotScheduleTimeStatusHasBeenSet() const { return m_expectedNextSnapshotScheduleTimeStatusHasBeenSet; }
932 template <typename ExpectedNextSnapshotScheduleTimeStatusT = Aws::String>
933 void SetExpectedNextSnapshotScheduleTimeStatus(ExpectedNextSnapshotScheduleTimeStatusT&& value) {
934 m_expectedNextSnapshotScheduleTimeStatusHasBeenSet = true;
935 m_expectedNextSnapshotScheduleTimeStatus = std::forward<ExpectedNextSnapshotScheduleTimeStatusT>(value);
936 }
937 template <typename ExpectedNextSnapshotScheduleTimeStatusT = Aws::String>
938 Cluster& WithExpectedNextSnapshotScheduleTimeStatus(ExpectedNextSnapshotScheduleTimeStatusT&& value) {
939 SetExpectedNextSnapshotScheduleTimeStatus(std::forward<ExpectedNextSnapshotScheduleTimeStatusT>(value));
940 return *this;
941 }
943
945
948 inline const Aws::Utils::DateTime& GetNextMaintenanceWindowStartTime() const { return m_nextMaintenanceWindowStartTime; }
949 inline bool NextMaintenanceWindowStartTimeHasBeenSet() const { return m_nextMaintenanceWindowStartTimeHasBeenSet; }
950 template <typename NextMaintenanceWindowStartTimeT = Aws::Utils::DateTime>
951 void SetNextMaintenanceWindowStartTime(NextMaintenanceWindowStartTimeT&& value) {
952 m_nextMaintenanceWindowStartTimeHasBeenSet = true;
953 m_nextMaintenanceWindowStartTime = std::forward<NextMaintenanceWindowStartTimeT>(value);
954 }
955 template <typename NextMaintenanceWindowStartTimeT = Aws::Utils::DateTime>
956 Cluster& WithNextMaintenanceWindowStartTime(NextMaintenanceWindowStartTimeT&& value) {
957 SetNextMaintenanceWindowStartTime(std::forward<NextMaintenanceWindowStartTimeT>(value));
958 return *this;
959 }
961
963
968 inline const ResizeInfo& GetResizeInfo() const { return m_resizeInfo; }
969 inline bool ResizeInfoHasBeenSet() const { return m_resizeInfoHasBeenSet; }
970 template <typename ResizeInfoT = ResizeInfo>
971 void SetResizeInfo(ResizeInfoT&& value) {
972 m_resizeInfoHasBeenSet = true;
973 m_resizeInfo = std::forward<ResizeInfoT>(value);
974 }
975 template <typename ResizeInfoT = ResizeInfo>
976 Cluster& WithResizeInfo(ResizeInfoT&& value) {
977 SetResizeInfo(std::forward<ResizeInfoT>(value));
978 return *this;
979 }
981
983
986 inline const Aws::String& GetAvailabilityZoneRelocationStatus() const { return m_availabilityZoneRelocationStatus; }
987 inline bool AvailabilityZoneRelocationStatusHasBeenSet() const { return m_availabilityZoneRelocationStatusHasBeenSet; }
988 template <typename AvailabilityZoneRelocationStatusT = Aws::String>
989 void SetAvailabilityZoneRelocationStatus(AvailabilityZoneRelocationStatusT&& value) {
990 m_availabilityZoneRelocationStatusHasBeenSet = true;
991 m_availabilityZoneRelocationStatus = std::forward<AvailabilityZoneRelocationStatusT>(value);
992 }
993 template <typename AvailabilityZoneRelocationStatusT = Aws::String>
994 Cluster& WithAvailabilityZoneRelocationStatus(AvailabilityZoneRelocationStatusT&& value) {
995 SetAvailabilityZoneRelocationStatus(std::forward<AvailabilityZoneRelocationStatusT>(value));
996 return *this;
997 }
999
1001
1004 inline const Aws::String& GetClusterNamespaceArn() const { return m_clusterNamespaceArn; }
1005 inline bool ClusterNamespaceArnHasBeenSet() const { return m_clusterNamespaceArnHasBeenSet; }
1006 template <typename ClusterNamespaceArnT = Aws::String>
1007 void SetClusterNamespaceArn(ClusterNamespaceArnT&& value) {
1008 m_clusterNamespaceArnHasBeenSet = true;
1009 m_clusterNamespaceArn = std::forward<ClusterNamespaceArnT>(value);
1010 }
1011 template <typename ClusterNamespaceArnT = Aws::String>
1012 Cluster& WithClusterNamespaceArn(ClusterNamespaceArnT&& value) {
1013 SetClusterNamespaceArn(std::forward<ClusterNamespaceArnT>(value));
1014 return *this;
1015 }
1017
1019
1022 inline long long GetTotalStorageCapacityInMegaBytes() const { return m_totalStorageCapacityInMegaBytes; }
1023 inline bool TotalStorageCapacityInMegaBytesHasBeenSet() const { return m_totalStorageCapacityInMegaBytesHasBeenSet; }
1024 inline void SetTotalStorageCapacityInMegaBytes(long long value) {
1025 m_totalStorageCapacityInMegaBytesHasBeenSet = true;
1026 m_totalStorageCapacityInMegaBytes = value;
1027 }
1030 return *this;
1031 }
1033
1035
1039 inline const AquaConfiguration& GetAquaConfiguration() const { return m_aquaConfiguration; }
1040 inline bool AquaConfigurationHasBeenSet() const { return m_aquaConfigurationHasBeenSet; }
1041 template <typename AquaConfigurationT = AquaConfiguration>
1042 void SetAquaConfiguration(AquaConfigurationT&& value) {
1043 m_aquaConfigurationHasBeenSet = true;
1044 m_aquaConfiguration = std::forward<AquaConfigurationT>(value);
1045 }
1046 template <typename AquaConfigurationT = AquaConfiguration>
1047 Cluster& WithAquaConfiguration(AquaConfigurationT&& value) {
1048 SetAquaConfiguration(std::forward<AquaConfigurationT>(value));
1049 return *this;
1050 }
1052
1054
1058 inline const Aws::String& GetDefaultIamRoleArn() const { return m_defaultIamRoleArn; }
1059 inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; }
1060 template <typename DefaultIamRoleArnT = Aws::String>
1061 void SetDefaultIamRoleArn(DefaultIamRoleArnT&& value) {
1062 m_defaultIamRoleArnHasBeenSet = true;
1063 m_defaultIamRoleArn = std::forward<DefaultIamRoleArnT>(value);
1064 }
1065 template <typename DefaultIamRoleArnT = Aws::String>
1066 Cluster& WithDefaultIamRoleArn(DefaultIamRoleArnT&& value) {
1067 SetDefaultIamRoleArn(std::forward<DefaultIamRoleArnT>(value));
1068 return *this;
1069 }
1071
1073
1077 inline const ReservedNodeExchangeStatus& GetReservedNodeExchangeStatus() const { return m_reservedNodeExchangeStatus; }
1078 inline bool ReservedNodeExchangeStatusHasBeenSet() const { return m_reservedNodeExchangeStatusHasBeenSet; }
1079 template <typename ReservedNodeExchangeStatusT = ReservedNodeExchangeStatus>
1080 void SetReservedNodeExchangeStatus(ReservedNodeExchangeStatusT&& value) {
1081 m_reservedNodeExchangeStatusHasBeenSet = true;
1082 m_reservedNodeExchangeStatus = std::forward<ReservedNodeExchangeStatusT>(value);
1083 }
1084 template <typename ReservedNodeExchangeStatusT = ReservedNodeExchangeStatus>
1085 Cluster& WithReservedNodeExchangeStatus(ReservedNodeExchangeStatusT&& value) {
1086 SetReservedNodeExchangeStatus(std::forward<ReservedNodeExchangeStatusT>(value));
1087 return *this;
1088 }
1090
1092
1095 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
1096 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
1097 template <typename CustomDomainNameT = Aws::String>
1098 void SetCustomDomainName(CustomDomainNameT&& value) {
1099 m_customDomainNameHasBeenSet = true;
1100 m_customDomainName = std::forward<CustomDomainNameT>(value);
1101 }
1102 template <typename CustomDomainNameT = Aws::String>
1103 Cluster& WithCustomDomainName(CustomDomainNameT&& value) {
1104 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
1105 return *this;
1106 }
1108
1110
1113 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
1114 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
1115 template <typename CustomDomainCertificateArnT = Aws::String>
1116 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
1117 m_customDomainCertificateArnHasBeenSet = true;
1118 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
1119 }
1120 template <typename CustomDomainCertificateArnT = Aws::String>
1121 Cluster& WithCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
1122 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
1123 return *this;
1124 }
1126
1128
1132 inline const Aws::Utils::DateTime& GetCustomDomainCertificateExpiryDate() const { return m_customDomainCertificateExpiryDate; }
1133 inline bool CustomDomainCertificateExpiryDateHasBeenSet() const { return m_customDomainCertificateExpiryDateHasBeenSet; }
1134 template <typename CustomDomainCertificateExpiryDateT = Aws::Utils::DateTime>
1135 void SetCustomDomainCertificateExpiryDate(CustomDomainCertificateExpiryDateT&& value) {
1136 m_customDomainCertificateExpiryDateHasBeenSet = true;
1137 m_customDomainCertificateExpiryDate = std::forward<CustomDomainCertificateExpiryDateT>(value);
1138 }
1139 template <typename CustomDomainCertificateExpiryDateT = Aws::Utils::DateTime>
1140 Cluster& WithCustomDomainCertificateExpiryDate(CustomDomainCertificateExpiryDateT&& value) {
1141 SetCustomDomainCertificateExpiryDate(std::forward<CustomDomainCertificateExpiryDateT>(value));
1142 return *this;
1143 }
1145
1147
1151 inline const Aws::String& GetMasterPasswordSecretArn() const { return m_masterPasswordSecretArn; }
1152 inline bool MasterPasswordSecretArnHasBeenSet() const { return m_masterPasswordSecretArnHasBeenSet; }
1153 template <typename MasterPasswordSecretArnT = Aws::String>
1154 void SetMasterPasswordSecretArn(MasterPasswordSecretArnT&& value) {
1155 m_masterPasswordSecretArnHasBeenSet = true;
1156 m_masterPasswordSecretArn = std::forward<MasterPasswordSecretArnT>(value);
1157 }
1158 template <typename MasterPasswordSecretArnT = Aws::String>
1159 Cluster& WithMasterPasswordSecretArn(MasterPasswordSecretArnT&& value) {
1160 SetMasterPasswordSecretArn(std::forward<MasterPasswordSecretArnT>(value));
1161 return *this;
1162 }
1164
1166
1170 inline const Aws::String& GetMasterPasswordSecretKmsKeyId() const { return m_masterPasswordSecretKmsKeyId; }
1171 inline bool MasterPasswordSecretKmsKeyIdHasBeenSet() const { return m_masterPasswordSecretKmsKeyIdHasBeenSet; }
1172 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
1173 void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
1174 m_masterPasswordSecretKmsKeyIdHasBeenSet = true;
1175 m_masterPasswordSecretKmsKeyId = std::forward<MasterPasswordSecretKmsKeyIdT>(value);
1176 }
1177 template <typename MasterPasswordSecretKmsKeyIdT = Aws::String>
1178 Cluster& WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT&& value) {
1179 SetMasterPasswordSecretKmsKeyId(std::forward<MasterPasswordSecretKmsKeyIdT>(value));
1180 return *this;
1181 }
1183
1185
1189 inline const Aws::String& GetIpAddressType() const { return m_ipAddressType; }
1190 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
1191 template <typename IpAddressTypeT = Aws::String>
1192 void SetIpAddressType(IpAddressTypeT&& value) {
1193 m_ipAddressTypeHasBeenSet = true;
1194 m_ipAddressType = std::forward<IpAddressTypeT>(value);
1195 }
1196 template <typename IpAddressTypeT = Aws::String>
1197 Cluster& WithIpAddressType(IpAddressTypeT&& value) {
1198 SetIpAddressType(std::forward<IpAddressTypeT>(value));
1199 return *this;
1200 }
1202
1204
1208 inline const Aws::String& GetMultiAZ() const { return m_multiAZ; }
1209 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
1210 template <typename MultiAZT = Aws::String>
1211 void SetMultiAZ(MultiAZT&& value) {
1212 m_multiAZHasBeenSet = true;
1213 m_multiAZ = std::forward<MultiAZT>(value);
1214 }
1215 template <typename MultiAZT = Aws::String>
1216 Cluster& WithMultiAZ(MultiAZT&& value) {
1217 SetMultiAZ(std::forward<MultiAZT>(value));
1218 return *this;
1219 }
1221
1223
1227 inline const SecondaryClusterInfo& GetMultiAZSecondary() const { return m_multiAZSecondary; }
1228 inline bool MultiAZSecondaryHasBeenSet() const { return m_multiAZSecondaryHasBeenSet; }
1229 template <typename MultiAZSecondaryT = SecondaryClusterInfo>
1230 void SetMultiAZSecondary(MultiAZSecondaryT&& value) {
1231 m_multiAZSecondaryHasBeenSet = true;
1232 m_multiAZSecondary = std::forward<MultiAZSecondaryT>(value);
1233 }
1234 template <typename MultiAZSecondaryT = SecondaryClusterInfo>
1235 Cluster& WithMultiAZSecondary(MultiAZSecondaryT&& value) {
1236 SetMultiAZSecondary(std::forward<MultiAZSecondaryT>(value));
1237 return *this;
1238 }
1240
1242
1247 inline const Aws::String& GetLakehouseRegistrationStatus() const { return m_lakehouseRegistrationStatus; }
1248 inline bool LakehouseRegistrationStatusHasBeenSet() const { return m_lakehouseRegistrationStatusHasBeenSet; }
1249 template <typename LakehouseRegistrationStatusT = Aws::String>
1250 void SetLakehouseRegistrationStatus(LakehouseRegistrationStatusT&& value) {
1251 m_lakehouseRegistrationStatusHasBeenSet = true;
1252 m_lakehouseRegistrationStatus = std::forward<LakehouseRegistrationStatusT>(value);
1253 }
1254 template <typename LakehouseRegistrationStatusT = Aws::String>
1255 Cluster& WithLakehouseRegistrationStatus(LakehouseRegistrationStatusT&& value) {
1256 SetLakehouseRegistrationStatus(std::forward<LakehouseRegistrationStatusT>(value));
1257 return *this;
1258 }
1260
1262
1266 inline const Aws::String& GetCatalogArn() const { return m_catalogArn; }
1267 inline bool CatalogArnHasBeenSet() const { return m_catalogArnHasBeenSet; }
1268 template <typename CatalogArnT = Aws::String>
1269 void SetCatalogArn(CatalogArnT&& value) {
1270 m_catalogArnHasBeenSet = true;
1271 m_catalogArn = std::forward<CatalogArnT>(value);
1272 }
1273 template <typename CatalogArnT = Aws::String>
1274 Cluster& WithCatalogArn(CatalogArnT&& value) {
1275 SetCatalogArn(std::forward<CatalogArnT>(value));
1276 return *this;
1277 }
1279
1281
1286 inline const Aws::String& GetExtraComputeForAutomaticOptimization() const { return m_extraComputeForAutomaticOptimization; }
1287 inline bool ExtraComputeForAutomaticOptimizationHasBeenSet() const { return m_extraComputeForAutomaticOptimizationHasBeenSet; }
1288 template <typename ExtraComputeForAutomaticOptimizationT = Aws::String>
1289 void SetExtraComputeForAutomaticOptimization(ExtraComputeForAutomaticOptimizationT&& value) {
1290 m_extraComputeForAutomaticOptimizationHasBeenSet = true;
1291 m_extraComputeForAutomaticOptimization = std::forward<ExtraComputeForAutomaticOptimizationT>(value);
1292 }
1293 template <typename ExtraComputeForAutomaticOptimizationT = Aws::String>
1294 Cluster& WithExtraComputeForAutomaticOptimization(ExtraComputeForAutomaticOptimizationT&& value) {
1295 SetExtraComputeForAutomaticOptimization(std::forward<ExtraComputeForAutomaticOptimizationT>(value));
1296 return *this;
1297 }
1299
1301
1305 inline const LoggingPublishStatus& GetLoggingPublishStatus() const { return m_loggingPublishStatus; }
1306 inline bool LoggingPublishStatusHasBeenSet() const { return m_loggingPublishStatusHasBeenSet; }
1307 template <typename LoggingPublishStatusT = LoggingPublishStatus>
1308 void SetLoggingPublishStatus(LoggingPublishStatusT&& value) {
1309 m_loggingPublishStatusHasBeenSet = true;
1310 m_loggingPublishStatus = std::forward<LoggingPublishStatusT>(value);
1311 }
1312 template <typename LoggingPublishStatusT = LoggingPublishStatus>
1313 Cluster& WithLoggingPublishStatus(LoggingPublishStatusT&& value) {
1314 SetLoggingPublishStatus(std::forward<LoggingPublishStatusT>(value));
1315 return *this;
1316 }
1318 private:
1319 Aws::String m_clusterIdentifier;
1320
1321 Aws::String m_nodeType;
1322
1323 Aws::String m_clusterStatus;
1324
1325 Aws::String m_clusterAvailabilityStatus;
1326
1327 Aws::String m_modifyStatus;
1328
1329 Aws::String m_masterUsername;
1330
1331 Aws::String m_dBName;
1332
1333 Endpoint m_endpoint;
1334
1335 Aws::Utils::DateTime m_clusterCreateTime{};
1336
1337 int m_automatedSnapshotRetentionPeriod{0};
1338
1339 int m_manualSnapshotRetentionPeriod{0};
1340
1341 Aws::Vector<ClusterSecurityGroupMembership> m_clusterSecurityGroups;
1342
1343 Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
1344
1345 Aws::Vector<ClusterParameterGroupStatus> m_clusterParameterGroups;
1346
1347 Aws::String m_clusterSubnetGroupName;
1348
1349 Aws::String m_vpcId;
1350
1351 Aws::String m_availabilityZone;
1352
1353 Aws::String m_preferredMaintenanceWindow;
1354
1355 PendingModifiedValues m_pendingModifiedValues;
1356
1357 Aws::String m_clusterVersion;
1358
1359 bool m_allowVersionUpgrade{false};
1360
1361 int m_numberOfNodes{0};
1362
1363 bool m_publiclyAccessible{false};
1364
1365 bool m_encrypted{false};
1366
1367 RestoreStatus m_restoreStatus;
1368
1369 DataTransferProgress m_dataTransferProgress;
1370
1371 HsmStatus m_hsmStatus;
1372
1373 ClusterSnapshotCopyStatus m_clusterSnapshotCopyStatus;
1374
1375 Aws::String m_clusterPublicKey;
1376
1377 Aws::Vector<ClusterNode> m_clusterNodes;
1378
1379 ElasticIpStatus m_elasticIpStatus;
1380
1381 Aws::String m_clusterRevisionNumber;
1382
1383 Aws::Vector<Tag> m_tags;
1384
1385 Aws::String m_kmsKeyId;
1386
1387 bool m_enhancedVpcRouting{false};
1388
1389 Aws::Vector<ClusterIamRole> m_iamRoles;
1390
1391 Aws::Vector<Aws::String> m_pendingActions;
1392
1393 Aws::String m_maintenanceTrackName;
1394
1395 Aws::String m_elasticResizeNumberOfNodeOptions;
1396
1397 Aws::Vector<DeferredMaintenanceWindow> m_deferredMaintenanceWindows;
1398
1399 Aws::String m_snapshotScheduleIdentifier;
1400
1401 ScheduleState m_snapshotScheduleState{ScheduleState::NOT_SET};
1402
1403 Aws::Utils::DateTime m_expectedNextSnapshotScheduleTime{};
1404
1405 Aws::String m_expectedNextSnapshotScheduleTimeStatus;
1406
1407 Aws::Utils::DateTime m_nextMaintenanceWindowStartTime{};
1408
1409 ResizeInfo m_resizeInfo;
1410
1411 Aws::String m_availabilityZoneRelocationStatus;
1412
1413 Aws::String m_clusterNamespaceArn;
1414
1415 long long m_totalStorageCapacityInMegaBytes{0};
1416
1417 AquaConfiguration m_aquaConfiguration;
1418
1419 Aws::String m_defaultIamRoleArn;
1420
1421 ReservedNodeExchangeStatus m_reservedNodeExchangeStatus;
1422
1423 Aws::String m_customDomainName;
1424
1425 Aws::String m_customDomainCertificateArn;
1426
1427 Aws::Utils::DateTime m_customDomainCertificateExpiryDate{};
1428
1429 Aws::String m_masterPasswordSecretArn;
1430
1431 Aws::String m_masterPasswordSecretKmsKeyId;
1432
1433 Aws::String m_ipAddressType;
1434
1435 Aws::String m_multiAZ;
1436
1437 SecondaryClusterInfo m_multiAZSecondary;
1438
1439 Aws::String m_lakehouseRegistrationStatus;
1440
1441 Aws::String m_catalogArn;
1442
1443 Aws::String m_extraComputeForAutomaticOptimization;
1444
1445 LoggingPublishStatus m_loggingPublishStatus;
1446 bool m_clusterIdentifierHasBeenSet = false;
1447 bool m_nodeTypeHasBeenSet = false;
1448 bool m_clusterStatusHasBeenSet = false;
1449 bool m_clusterAvailabilityStatusHasBeenSet = false;
1450 bool m_modifyStatusHasBeenSet = false;
1451 bool m_masterUsernameHasBeenSet = false;
1452 bool m_dBNameHasBeenSet = false;
1453 bool m_endpointHasBeenSet = false;
1454 bool m_clusterCreateTimeHasBeenSet = false;
1455 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
1456 bool m_manualSnapshotRetentionPeriodHasBeenSet = false;
1457 bool m_clusterSecurityGroupsHasBeenSet = false;
1458 bool m_vpcSecurityGroupsHasBeenSet = false;
1459 bool m_clusterParameterGroupsHasBeenSet = false;
1460 bool m_clusterSubnetGroupNameHasBeenSet = false;
1461 bool m_vpcIdHasBeenSet = false;
1462 bool m_availabilityZoneHasBeenSet = false;
1463 bool m_preferredMaintenanceWindowHasBeenSet = false;
1464 bool m_pendingModifiedValuesHasBeenSet = false;
1465 bool m_clusterVersionHasBeenSet = false;
1466 bool m_allowVersionUpgradeHasBeenSet = false;
1467 bool m_numberOfNodesHasBeenSet = false;
1468 bool m_publiclyAccessibleHasBeenSet = false;
1469 bool m_encryptedHasBeenSet = false;
1470 bool m_restoreStatusHasBeenSet = false;
1471 bool m_dataTransferProgressHasBeenSet = false;
1472 bool m_hsmStatusHasBeenSet = false;
1473 bool m_clusterSnapshotCopyStatusHasBeenSet = false;
1474 bool m_clusterPublicKeyHasBeenSet = false;
1475 bool m_clusterNodesHasBeenSet = false;
1476 bool m_elasticIpStatusHasBeenSet = false;
1477 bool m_clusterRevisionNumberHasBeenSet = false;
1478 bool m_tagsHasBeenSet = false;
1479 bool m_kmsKeyIdHasBeenSet = false;
1480 bool m_enhancedVpcRoutingHasBeenSet = false;
1481 bool m_iamRolesHasBeenSet = false;
1482 bool m_pendingActionsHasBeenSet = false;
1483 bool m_maintenanceTrackNameHasBeenSet = false;
1484 bool m_elasticResizeNumberOfNodeOptionsHasBeenSet = false;
1485 bool m_deferredMaintenanceWindowsHasBeenSet = false;
1486 bool m_snapshotScheduleIdentifierHasBeenSet = false;
1487 bool m_snapshotScheduleStateHasBeenSet = false;
1488 bool m_expectedNextSnapshotScheduleTimeHasBeenSet = false;
1489 bool m_expectedNextSnapshotScheduleTimeStatusHasBeenSet = false;
1490 bool m_nextMaintenanceWindowStartTimeHasBeenSet = false;
1491 bool m_resizeInfoHasBeenSet = false;
1492 bool m_availabilityZoneRelocationStatusHasBeenSet = false;
1493 bool m_clusterNamespaceArnHasBeenSet = false;
1494 bool m_totalStorageCapacityInMegaBytesHasBeenSet = false;
1495 bool m_aquaConfigurationHasBeenSet = false;
1496 bool m_defaultIamRoleArnHasBeenSet = false;
1497 bool m_reservedNodeExchangeStatusHasBeenSet = false;
1498 bool m_customDomainNameHasBeenSet = false;
1499 bool m_customDomainCertificateArnHasBeenSet = false;
1500 bool m_customDomainCertificateExpiryDateHasBeenSet = false;
1501 bool m_masterPasswordSecretArnHasBeenSet = false;
1502 bool m_masterPasswordSecretKmsKeyIdHasBeenSet = false;
1503 bool m_ipAddressTypeHasBeenSet = false;
1504 bool m_multiAZHasBeenSet = false;
1505 bool m_multiAZSecondaryHasBeenSet = false;
1506 bool m_lakehouseRegistrationStatusHasBeenSet = false;
1507 bool m_catalogArnHasBeenSet = false;
1508 bool m_extraComputeForAutomaticOptimizationHasBeenSet = false;
1509 bool m_loggingPublishStatusHasBeenSet = false;
1510};
1511
1512} // namespace Model
1513} // namespace Redshift
1514} // namespace Aws
bool MasterUsernameHasBeenSet() const
Definition Cluster.h:175
Cluster & WithAllowVersionUpgrade(bool value)
Definition Cluster.h:485
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const AquaConfiguration & GetAquaConfiguration() const
Definition Cluster.h:1039
bool ExpectedNextSnapshotScheduleTimeHasBeenSet() const
Definition Cluster.h:910
const DataTransferProgress & GetDataTransferProgress() const
Definition Cluster.h:564
bool EnhancedVpcRoutingHasBeenSet() const
Definition Cluster.h:749
void SetClusterAvailabilityStatus(ClusterAvailabilityStatusT &&value)
Definition Cluster.h:140
const Aws::String & GetDefaultIamRoleArn() const
Definition Cluster.h:1058
const Aws::String & GetMaintenanceTrackName() const
Definition Cluster.h:813
bool ClusterParameterGroupsHasBeenSet() const
Definition Cluster.h:342
const Aws::Vector< DeferredMaintenanceWindow > & GetDeferredMaintenanceWindows() const
Definition Cluster.h:850
const Aws::String & GetClusterRevisionNumber() const
Definition Cluster.h:681
Cluster & WithAquaConfiguration(AquaConfigurationT &&value)
Definition Cluster.h:1047
const Aws::String & GetSnapshotScheduleIdentifier() const
Definition Cluster.h:874
const Aws::String & GetCustomDomainCertificateArn() const
Definition Cluster.h:1113
void SetNumberOfNodes(int value)
Definition Cluster.h:497
Cluster & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition Cluster.h:324
const Aws::Utils::DateTime & GetNextMaintenanceWindowStartTime() const
Definition Cluster.h:948
Cluster & AddClusterNodes(ClusterNodesT &&value)
Definition Cluster.h:652
bool AutomatedSnapshotRetentionPeriodHasBeenSet() const
Definition Cluster.h:250
Cluster & WithExtraComputeForAutomaticOptimization(ExtraComputeForAutomaticOptimizationT &&value)
Definition Cluster.h:1294
void SetMasterUsername(MasterUsernameT &&value)
Definition Cluster.h:177
bool ClusterAvailabilityStatusHasBeenSet() const
Definition Cluster.h:138
Cluster & WithClusterStatus(ClusterStatusT &&value)
Definition Cluster.h:120
Cluster & WithIamRoles(IamRolesT &&value)
Definition Cluster.h:773
Cluster & WithClusterVersion(ClusterVersionT &&value)
Definition Cluster.h:467
bool ClusterIdentifierHasBeenSet() const
Definition Cluster.h:63
bool CatalogArnHasBeenSet() const
Definition Cluster.h:1267
const ReservedNodeExchangeStatus & GetReservedNodeExchangeStatus() const
Definition Cluster.h:1077
bool KmsKeyIdHasBeenSet() const
Definition Cluster.h:725
Cluster & WithTags(TagsT &&value)
Definition Cluster.h:707
void SetLoggingPublishStatus(LoggingPublishStatusT &&value)
Definition Cluster.h:1308
void SetClusterPublicKey(ClusterPublicKeyT &&value)
Definition Cluster.h:624
const PendingModifiedValues & GetPendingModifiedValues() const
Definition Cluster.h:440
Cluster & WithNumberOfNodes(int value)
Definition Cluster.h:501
Cluster & WithClusterPublicKey(ClusterPublicKeyT &&value)
Definition Cluster.h:629
const Aws::Vector< ClusterSecurityGroupMembership > & GetClusterSecurityGroups() const
Definition Cluster.h:290
Cluster & AddDeferredMaintenanceWindows(DeferredMaintenanceWindowsT &&value)
Definition Cluster.h:863
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const SecondaryClusterInfo & GetMultiAZSecondary() const
Definition Cluster.h:1227
Cluster & WithManualSnapshotRetentionPeriod(int value)
Definition Cluster.h:274
void SetEnhancedVpcRouting(bool value)
Definition Cluster.h:750
Cluster & WithClusterNamespaceArn(ClusterNamespaceArnT &&value)
Definition Cluster.h:1012
void SetNextMaintenanceWindowStartTime(NextMaintenanceWindowStartTimeT &&value)
Definition Cluster.h:951
long long GetTotalStorageCapacityInMegaBytes() const
Definition Cluster.h:1022
void SetSnapshotScheduleState(ScheduleState value)
Definition Cluster.h:894
bool GetAllowVersionUpgrade() const
Definition Cluster.h:479
Cluster & WithClusterNodes(ClusterNodesT &&value)
Definition Cluster.h:647
Cluster & WithClusterSecurityGroups(ClusterSecurityGroupsT &&value)
Definition Cluster.h:298
const Aws::String & GetVpcId() const
Definition Cluster.h:384
const Aws::String & GetClusterPublicKey() const
Definition Cluster.h:621
bool MasterPasswordSecretArnHasBeenSet() const
Definition Cluster.h:1152
AWS_REDSHIFT_API Cluster()=default
Cluster & WithModifyStatus(ModifyStatusT &&value)
Definition Cluster.h:163
bool AllowVersionUpgradeHasBeenSet() const
Definition Cluster.h:480
void SetClusterIdentifier(ClusterIdentifierT &&value)
Definition Cluster.h:65
int GetAutomatedSnapshotRetentionPeriod() const
Definition Cluster.h:249
void SetMultiAZ(MultiAZT &&value)
Definition Cluster.h:1211
void SetCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
Definition Cluster.h:1116
bool EncryptedHasBeenSet() const
Definition Cluster.h:530
void SetElasticResizeNumberOfNodeOptions(ElasticResizeNumberOfNodeOptionsT &&value)
Definition Cluster.h:835
Cluster & AddClusterSecurityGroups(ClusterSecurityGroupsT &&value)
Definition Cluster.h:303
void SetHsmStatus(HsmStatusT &&value)
Definition Cluster.h:587
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition Cluster.h:319
void SetMasterPasswordSecretArn(MasterPasswordSecretArnT &&value)
Definition Cluster.h:1154
void SetAquaConfiguration(AquaConfigurationT &&value)
Definition Cluster.h:1042
Cluster & WithResizeInfo(ResizeInfoT &&value)
Definition Cluster.h:976
void SetMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
Definition Cluster.h:1173
bool MasterPasswordSecretKmsKeyIdHasBeenSet() const
Definition Cluster.h:1171
void SetManualSnapshotRetentionPeriod(int value)
Definition Cluster.h:270
bool AvailabilityZoneHasBeenSet() const
Definition Cluster.h:403
bool ModifyStatusHasBeenSet() const
Definition Cluster.h:156
void SetDefaultIamRoleArn(DefaultIamRoleArnT &&value)
Definition Cluster.h:1061
void SetAllowVersionUpgrade(bool value)
Definition Cluster.h:481
bool LakehouseRegistrationStatusHasBeenSet() const
Definition Cluster.h:1248
const Aws::String & GetCustomDomainName() const
Definition Cluster.h:1095
const Aws::String & GetLakehouseRegistrationStatus() const
Definition Cluster.h:1247
Cluster & AddTags(TagsT &&value)
Definition Cluster.h:712
bool DeferredMaintenanceWindowsHasBeenSet() const
Definition Cluster.h:851
bool SnapshotScheduleStateHasBeenSet() const
Definition Cluster.h:893
Cluster & WithRestoreStatus(RestoreStatusT &&value)
Definition Cluster.h:554
void SetCustomDomainCertificateExpiryDate(CustomDomainCertificateExpiryDateT &&value)
Definition Cluster.h:1135
bool PendingModifiedValuesHasBeenSet() const
Definition Cluster.h:441
void SetElasticIpStatus(ElasticIpStatusT &&value)
Definition Cluster.h:666
bool MaintenanceTrackNameHasBeenSet() const
Definition Cluster.h:814
bool ClusterRevisionNumberHasBeenSet() const
Definition Cluster.h:682
bool TotalStorageCapacityInMegaBytesHasBeenSet() const
Definition Cluster.h:1023
void SetPubliclyAccessible(bool value)
Definition Cluster.h:514
const Aws::String & GetExtraComputeForAutomaticOptimization() const
Definition Cluster.h:1286
void SetVpcId(VpcIdT &&value)
Definition Cluster.h:387
bool AquaConfigurationHasBeenSet() const
Definition Cluster.h:1040
Cluster & WithAvailabilityZone(AvailabilityZoneT &&value)
Definition Cluster.h:410
const Aws::String & GetElasticResizeNumberOfNodeOptions() const
Definition Cluster.h:832
Cluster & WithMultiAZ(MultiAZT &&value)
Definition Cluster.h:1216
bool NumberOfNodesHasBeenSet() const
Definition Cluster.h:496
Cluster & WithMaintenanceTrackName(MaintenanceTrackNameT &&value)
Definition Cluster.h:821
void SetReservedNodeExchangeStatus(ReservedNodeExchangeStatusT &&value)
Definition Cluster.h:1080
void SetExpectedNextSnapshotScheduleTime(ExpectedNextSnapshotScheduleTimeT &&value)
Definition Cluster.h:912
bool IamRolesHasBeenSet() const
Definition Cluster.h:766
bool DBNameHasBeenSet() const
Definition Cluster.h:196
const Aws::String & GetMultiAZ() const
Definition Cluster.h:1208
bool ExpectedNextSnapshotScheduleTimeStatusHasBeenSet() const
Definition Cluster.h:931
void SetExtraComputeForAutomaticOptimization(ExtraComputeForAutomaticOptimizationT &&value)
Definition Cluster.h:1289
void SetDBName(DBNameT &&value)
Definition Cluster.h:198
void SetIamRoles(IamRolesT &&value)
Definition Cluster.h:768
const Aws::String & GetDBName() const
Definition Cluster.h:195
Cluster & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
Definition Cluster.h:329
Cluster & AddClusterParameterGroups(ClusterParameterGroupsT &&value)
Definition Cluster.h:354
void SetIpAddressType(IpAddressTypeT &&value)
Definition Cluster.h:1192
void SetAvailabilityZone(AvailabilityZoneT &&value)
Definition Cluster.h:405
void SetDataTransferProgress(DataTransferProgressT &&value)
Definition Cluster.h:567
const HsmStatus & GetHsmStatus() const
Definition Cluster.h:584
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Cluster.h:727
void SetCatalogArn(CatalogArnT &&value)
Definition Cluster.h:1269
bool ClusterSubnetGroupNameHasBeenSet() const
Definition Cluster.h:367
bool ClusterSecurityGroupsHasBeenSet() const
Definition Cluster.h:291
bool ClusterPublicKeyHasBeenSet() const
Definition Cluster.h:622
Cluster & WithMultiAZSecondary(MultiAZSecondaryT &&value)
Definition Cluster.h:1235
bool ResizeInfoHasBeenSet() const
Definition Cluster.h:969
Cluster & WithEnhancedVpcRouting(bool value)
Definition Cluster.h:754
const Aws::String & GetClusterSubnetGroupName() const
Definition Cluster.h:366
Cluster & WithExpectedNextSnapshotScheduleTimeStatus(ExpectedNextSnapshotScheduleTimeStatusT &&value)
Definition Cluster.h:938
const Aws::Vector< ClusterIamRole > & GetIamRoles() const
Definition Cluster.h:765
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
Definition Cluster.h:316
AWS_REDSHIFT_API Cluster(const Aws::Utils::Xml::XmlNode &xmlNode)
Cluster & WithClusterCreateTime(ClusterCreateTimeT &&value)
Definition Cluster.h:239
void SetDeferredMaintenanceWindows(DeferredMaintenanceWindowsT &&value)
Definition Cluster.h:853
void SetClusterSnapshotCopyStatus(ClusterSnapshotCopyStatusT &&value)
Definition Cluster.h:606
Cluster & WithMasterUsername(MasterUsernameT &&value)
Definition Cluster.h:182
void SetTags(TagsT &&value)
Definition Cluster.h:702
const Aws::String & GetAvailabilityZoneRelocationStatus() const
Definition Cluster.h:986
void SetPendingActions(PendingActionsT &&value)
Definition Cluster.h:792
bool MultiAZSecondaryHasBeenSet() const
Definition Cluster.h:1228
void SetClusterCreateTime(ClusterCreateTimeT &&value)
Definition Cluster.h:234
void SetClusterNodes(ClusterNodesT &&value)
Definition Cluster.h:642
Cluster & WithPendingModifiedValues(PendingModifiedValuesT &&value)
Definition Cluster.h:448
Cluster & WithVpcId(VpcIdT &&value)
Definition Cluster.h:392
void SetRestoreStatus(RestoreStatusT &&value)
Definition Cluster.h:549
Cluster & WithDataTransferProgress(DataTransferProgressT &&value)
Definition Cluster.h:572
Cluster & WithElasticResizeNumberOfNodeOptions(ElasticResizeNumberOfNodeOptionsT &&value)
Definition Cluster.h:840
Cluster & WithKmsKeyId(KmsKeyIdT &&value)
Definition Cluster.h:732
bool ClusterSnapshotCopyStatusHasBeenSet() const
Definition Cluster.h:604
Cluster & WithClusterSnapshotCopyStatus(ClusterSnapshotCopyStatusT &&value)
Definition Cluster.h:611
bool ClusterCreateTimeHasBeenSet() const
Definition Cluster.h:232
Cluster & WithClusterParameterGroups(ClusterParameterGroupsT &&value)
Definition Cluster.h:349
Cluster & WithLoggingPublishStatus(LoggingPublishStatusT &&value)
Definition Cluster.h:1313
const Aws::Vector< ClusterParameterGroupStatus > & GetClusterParameterGroups() const
Definition Cluster.h:341
int GetManualSnapshotRetentionPeriod() const
Definition Cluster.h:268
const Aws::String & GetAvailabilityZone() const
Definition Cluster.h:402
bool RestoreStatusHasBeenSet() const
Definition Cluster.h:547
const Endpoint & GetEndpoint() const
Definition Cluster.h:213
bool CustomDomainCertificateArnHasBeenSet() const
Definition Cluster.h:1114
bool ElasticIpStatusHasBeenSet() const
Definition Cluster.h:664
void SetClusterSecurityGroups(ClusterSecurityGroupsT &&value)
Definition Cluster.h:293
void SetSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT &&value)
Definition Cluster.h:877
Cluster & WithNodeType(NodeTypeT &&value)
Definition Cluster.h:88
bool ElasticResizeNumberOfNodeOptionsHasBeenSet() const
Definition Cluster.h:833
const Aws::String & GetModifyStatus() const
Definition Cluster.h:155
void SetCustomDomainName(CustomDomainNameT &&value)
Definition Cluster.h:1098
bool PreferredMaintenanceWindowHasBeenSet() const
Definition Cluster.h:422
Cluster & WithTotalStorageCapacityInMegaBytes(long long value)
Definition Cluster.h:1028
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Cluster.h:424
Cluster & WithCatalogArn(CatalogArnT &&value)
Definition Cluster.h:1274
const Aws::String & GetCatalogArn() const
Definition Cluster.h:1266
bool NodeTypeHasBeenSet() const
Definition Cluster.h:81
Cluster & WithPubliclyAccessible(bool value)
Definition Cluster.h:518
bool ManualSnapshotRetentionPeriodHasBeenSet() const
Definition Cluster.h:269
const Aws::Vector< ClusterNode > & GetClusterNodes() const
Definition Cluster.h:639
Cluster & WithNextMaintenanceWindowStartTime(NextMaintenanceWindowStartTimeT &&value)
Definition Cluster.h:956
void SetMaintenanceTrackName(MaintenanceTrackNameT &&value)
Definition Cluster.h:816
Cluster & AddPendingActions(PendingActionsT &&value)
Definition Cluster.h:802
const Aws::String & GetMasterPasswordSecretKmsKeyId() const
Definition Cluster.h:1170
void SetClusterNamespaceArn(ClusterNamespaceArnT &&value)
Definition Cluster.h:1007
Cluster & WithAvailabilityZoneRelocationStatus(AvailabilityZoneRelocationStatusT &&value)
Definition Cluster.h:994
void SetExpectedNextSnapshotScheduleTimeStatus(ExpectedNextSnapshotScheduleTimeStatusT &&value)
Definition Cluster.h:933
Cluster & WithDeferredMaintenanceWindows(DeferredMaintenanceWindowsT &&value)
Definition Cluster.h:858
void SetClusterStatus(ClusterStatusT &&value)
Definition Cluster.h:115
const Aws::String & GetMasterUsername() const
Definition Cluster.h:174
bool VpcSecurityGroupsHasBeenSet() const
Definition Cluster.h:317
const Aws::Utils::DateTime & GetExpectedNextSnapshotScheduleTime() const
Definition Cluster.h:909
bool EndpointHasBeenSet() const
Definition Cluster.h:214
Cluster & WithEndpoint(EndpointT &&value)
Definition Cluster.h:221
Cluster & WithSnapshotScheduleIdentifier(SnapshotScheduleIdentifierT &&value)
Definition Cluster.h:882
Cluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Cluster.h:429
bool IpAddressTypeHasBeenSet() const
Definition Cluster.h:1190
const Aws::String & GetExpectedNextSnapshotScheduleTimeStatus() const
Definition Cluster.h:930
const Aws::Vector< Tag > & GetTags() const
Definition Cluster.h:699
bool DefaultIamRoleArnHasBeenSet() const
Definition Cluster.h:1059
void SetClusterVersion(ClusterVersionT &&value)
Definition Cluster.h:462
const Aws::String & GetKmsKeyId() const
Definition Cluster.h:724
void SetLakehouseRegistrationStatus(LakehouseRegistrationStatusT &&value)
Definition Cluster.h:1250
void SetModifyStatus(ModifyStatusT &&value)
Definition Cluster.h:158
Cluster & WithMasterPasswordSecretKmsKeyId(MasterPasswordSecretKmsKeyIdT &&value)
Definition Cluster.h:1178
const RestoreStatus & GetRestoreStatus() const
Definition Cluster.h:546
bool PendingActionsHasBeenSet() const
Definition Cluster.h:790
Cluster & WithReservedNodeExchangeStatus(ReservedNodeExchangeStatusT &&value)
Definition Cluster.h:1085
Cluster & WithAutomatedSnapshotRetentionPeriod(int value)
Definition Cluster.h:255
void SetPendingModifiedValues(PendingModifiedValuesT &&value)
Definition Cluster.h:443
Cluster & WithClusterRevisionNumber(ClusterRevisionNumberT &&value)
Definition Cluster.h:689
bool CustomDomainCertificateExpiryDateHasBeenSet() const
Definition Cluster.h:1133
void SetEncrypted(bool value)
Definition Cluster.h:531
AWS_REDSHIFT_API Cluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAutomatedSnapshotRetentionPeriod(int value)
Definition Cluster.h:251
Cluster & WithClusterIdentifier(ClusterIdentifierT &&value)
Definition Cluster.h:70
bool HsmStatusHasBeenSet() const
Definition Cluster.h:585
Cluster & WithCustomDomainName(CustomDomainNameT &&value)
Definition Cluster.h:1103
Cluster & WithLakehouseRegistrationStatus(LakehouseRegistrationStatusT &&value)
Definition Cluster.h:1255
bool ClusterVersionHasBeenSet() const
Definition Cluster.h:460
bool NextMaintenanceWindowStartTimeHasBeenSet() const
Definition Cluster.h:949
Cluster & WithExpectedNextSnapshotScheduleTime(ExpectedNextSnapshotScheduleTimeT &&value)
Definition Cluster.h:917
bool DataTransferProgressHasBeenSet() const
Definition Cluster.h:565
const ResizeInfo & GetResizeInfo() const
Definition Cluster.h:968
const Aws::Vector< Aws::String > & GetPendingActions() const
Definition Cluster.h:789
bool AvailabilityZoneRelocationStatusHasBeenSet() const
Definition Cluster.h:987
void SetClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
Definition Cluster.h:369
bool PubliclyAccessibleHasBeenSet() const
Definition Cluster.h:513
Cluster & WithSnapshotScheduleState(ScheduleState value)
Definition Cluster.h:898
Cluster & WithHsmStatus(HsmStatusT &&value)
Definition Cluster.h:592
const Aws::String & GetClusterAvailabilityStatus() const
Definition Cluster.h:137
Cluster & WithDefaultIamRoleArn(DefaultIamRoleArnT &&value)
Definition Cluster.h:1066
bool ClusterNodesHasBeenSet() const
Definition Cluster.h:640
Cluster & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
Definition Cluster.h:1121
const Aws::Utils::DateTime & GetClusterCreateTime() const
Definition Cluster.h:231
Cluster & WithIpAddressType(IpAddressTypeT &&value)
Definition Cluster.h:1197
ScheduleState GetSnapshotScheduleState() const
Definition Cluster.h:892
const Aws::String & GetClusterNamespaceArn() const
Definition Cluster.h:1004
const Aws::String & GetClusterStatus() const
Definition Cluster.h:112
bool ExtraComputeForAutomaticOptimizationHasBeenSet() const
Definition Cluster.h:1287
void SetAvailabilityZoneRelocationStatus(AvailabilityZoneRelocationStatusT &&value)
Definition Cluster.h:989
Cluster & WithDBName(DBNameT &&value)
Definition Cluster.h:203
const Aws::String & GetPreferredMaintenanceWindow() const
Definition Cluster.h:421
Cluster & WithEncrypted(bool value)
Definition Cluster.h:535
const Aws::String & GetIpAddressType() const
Definition Cluster.h:1189
const Aws::String & GetNodeType() const
Definition Cluster.h:80
void SetTotalStorageCapacityInMegaBytes(long long value)
Definition Cluster.h:1024
const Aws::String & GetClusterIdentifier() const
Definition Cluster.h:62
bool ReservedNodeExchangeStatusHasBeenSet() const
Definition Cluster.h:1078
void SetClusterRevisionNumber(ClusterRevisionNumberT &&value)
Definition Cluster.h:684
bool GetPubliclyAccessible() const
Definition Cluster.h:512
Cluster & WithClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
Definition Cluster.h:374
const ClusterSnapshotCopyStatus & GetClusterSnapshotCopyStatus() const
Definition Cluster.h:603
const ElasticIpStatus & GetElasticIpStatus() const
Definition Cluster.h:663
const Aws::String & GetClusterVersion() const
Definition Cluster.h:459
Cluster & WithMasterPasswordSecretArn(MasterPasswordSecretArnT &&value)
Definition Cluster.h:1159
bool ClusterNamespaceArnHasBeenSet() const
Definition Cluster.h:1005
const Aws::Utils::DateTime & GetCustomDomainCertificateExpiryDate() const
Definition Cluster.h:1132
void SetMultiAZSecondary(MultiAZSecondaryT &&value)
Definition Cluster.h:1230
Cluster & AddIamRoles(IamRolesT &&value)
Definition Cluster.h:778
Cluster & WithElasticIpStatus(ElasticIpStatusT &&value)
Definition Cluster.h:671
Cluster & WithClusterAvailabilityStatus(ClusterAvailabilityStatusT &&value)
Definition Cluster.h:145
bool GetEnhancedVpcRouting() const
Definition Cluster.h:748
void SetClusterParameterGroups(ClusterParameterGroupsT &&value)
Definition Cluster.h:344
bool ClusterStatusHasBeenSet() const
Definition Cluster.h:113
void SetResizeInfo(ResizeInfoT &&value)
Definition Cluster.h:971
const Aws::String & GetMasterPasswordSecretArn() const
Definition Cluster.h:1151
const LoggingPublishStatus & GetLoggingPublishStatus() const
Definition Cluster.h:1305
Cluster & WithPendingActions(PendingActionsT &&value)
Definition Cluster.h:797
void SetNodeType(NodeTypeT &&value)
Definition Cluster.h:83
bool LoggingPublishStatusHasBeenSet() const
Definition Cluster.h:1306
Cluster & WithCustomDomainCertificateExpiryDate(CustomDomainCertificateExpiryDateT &&value)
Definition Cluster.h:1140
bool SnapshotScheduleIdentifierHasBeenSet() const
Definition Cluster.h:875
void SetEndpoint(EndpointT &&value)
Definition Cluster.h:216
bool CustomDomainNameHasBeenSet() const
Definition Cluster.h:1096
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream