AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ReplicationGroup.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/elasticache/ElastiCache_EXPORTS.h>
12#include <aws/elasticache/model/AutomaticFailoverStatus.h>
13#include <aws/elasticache/model/ClusterMode.h>
14#include <aws/elasticache/model/DataTieringStatus.h>
15#include <aws/elasticache/model/Endpoint.h>
16#include <aws/elasticache/model/GlobalReplicationGroupInfo.h>
17#include <aws/elasticache/model/IpDiscovery.h>
18#include <aws/elasticache/model/LogDeliveryConfiguration.h>
19#include <aws/elasticache/model/MultiAZStatus.h>
20#include <aws/elasticache/model/NetworkType.h>
21#include <aws/elasticache/model/NodeGroup.h>
22#include <aws/elasticache/model/ReplicationGroupPendingModifiedValues.h>
23#include <aws/elasticache/model/TransitEncryptionMode.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Xml {
30class XmlNode;
31} // namespace Xml
32} // namespace Utils
33namespace ElastiCache {
34namespace Model {
35
43 public:
44 AWS_ELASTICACHE_API ReplicationGroup() = default;
45 AWS_ELASTICACHE_API ReplicationGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
46 AWS_ELASTICACHE_API ReplicationGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
52
55 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
56 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
57 template <typename ReplicationGroupIdT = Aws::String>
58 void SetReplicationGroupId(ReplicationGroupIdT&& value) {
59 m_replicationGroupIdHasBeenSet = true;
60 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
61 }
62 template <typename ReplicationGroupIdT = Aws::String>
63 ReplicationGroup& WithReplicationGroupId(ReplicationGroupIdT&& value) {
64 SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
81 ReplicationGroup& WithDescription(DescriptionT&& value) {
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
92 inline const GlobalReplicationGroupInfo& GetGlobalReplicationGroupInfo() const { return m_globalReplicationGroupInfo; }
93 inline bool GlobalReplicationGroupInfoHasBeenSet() const { return m_globalReplicationGroupInfoHasBeenSet; }
94 template <typename GlobalReplicationGroupInfoT = GlobalReplicationGroupInfo>
95 void SetGlobalReplicationGroupInfo(GlobalReplicationGroupInfoT&& value) {
96 m_globalReplicationGroupInfoHasBeenSet = true;
97 m_globalReplicationGroupInfo = std::forward<GlobalReplicationGroupInfoT>(value);
98 }
99 template <typename GlobalReplicationGroupInfoT = GlobalReplicationGroupInfo>
100 ReplicationGroup& WithGlobalReplicationGroupInfo(GlobalReplicationGroupInfoT&& value) {
101 SetGlobalReplicationGroupInfo(std::forward<GlobalReplicationGroupInfoT>(value));
102 return *this;
103 }
105
107
112 inline const Aws::String& GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 template <typename StatusT = Aws::String>
115 void SetStatus(StatusT&& value) {
116 m_statusHasBeenSet = true;
117 m_status = std::forward<StatusT>(value);
118 }
119 template <typename StatusT = Aws::String>
120 ReplicationGroup& WithStatus(StatusT&& value) {
121 SetStatus(std::forward<StatusT>(value));
122 return *this;
123 }
125
127
131 inline const ReplicationGroupPendingModifiedValues& GetPendingModifiedValues() const { return m_pendingModifiedValues; }
132 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
133 template <typename PendingModifiedValuesT = ReplicationGroupPendingModifiedValues>
134 void SetPendingModifiedValues(PendingModifiedValuesT&& value) {
135 m_pendingModifiedValuesHasBeenSet = true;
136 m_pendingModifiedValues = std::forward<PendingModifiedValuesT>(value);
137 }
138 template <typename PendingModifiedValuesT = ReplicationGroupPendingModifiedValues>
139 ReplicationGroup& WithPendingModifiedValues(PendingModifiedValuesT&& value) {
140 SetPendingModifiedValues(std::forward<PendingModifiedValuesT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::Vector<Aws::String>& GetMemberClusters() const { return m_memberClusters; }
151 inline bool MemberClustersHasBeenSet() const { return m_memberClustersHasBeenSet; }
152 template <typename MemberClustersT = Aws::Vector<Aws::String>>
153 void SetMemberClusters(MemberClustersT&& value) {
154 m_memberClustersHasBeenSet = true;
155 m_memberClusters = std::forward<MemberClustersT>(value);
156 }
157 template <typename MemberClustersT = Aws::Vector<Aws::String>>
158 ReplicationGroup& WithMemberClusters(MemberClustersT&& value) {
159 SetMemberClusters(std::forward<MemberClustersT>(value));
160 return *this;
161 }
162 template <typename MemberClustersT = Aws::String>
163 ReplicationGroup& AddMemberClusters(MemberClustersT&& value) {
164 m_memberClustersHasBeenSet = true;
165 m_memberClusters.emplace_back(std::forward<MemberClustersT>(value));
166 return *this;
167 }
169
171
177 inline const Aws::Vector<NodeGroup>& GetNodeGroups() const { return m_nodeGroups; }
178 inline bool NodeGroupsHasBeenSet() const { return m_nodeGroupsHasBeenSet; }
179 template <typename NodeGroupsT = Aws::Vector<NodeGroup>>
180 void SetNodeGroups(NodeGroupsT&& value) {
181 m_nodeGroupsHasBeenSet = true;
182 m_nodeGroups = std::forward<NodeGroupsT>(value);
183 }
184 template <typename NodeGroupsT = Aws::Vector<NodeGroup>>
185 ReplicationGroup& WithNodeGroups(NodeGroupsT&& value) {
186 SetNodeGroups(std::forward<NodeGroupsT>(value));
187 return *this;
188 }
189 template <typename NodeGroupsT = NodeGroup>
190 ReplicationGroup& AddNodeGroups(NodeGroupsT&& value) {
191 m_nodeGroupsHasBeenSet = true;
192 m_nodeGroups.emplace_back(std::forward<NodeGroupsT>(value));
193 return *this;
194 }
196
198
202 inline const Aws::String& GetSnapshottingClusterId() const { return m_snapshottingClusterId; }
203 inline bool SnapshottingClusterIdHasBeenSet() const { return m_snapshottingClusterIdHasBeenSet; }
204 template <typename SnapshottingClusterIdT = Aws::String>
205 void SetSnapshottingClusterId(SnapshottingClusterIdT&& value) {
206 m_snapshottingClusterIdHasBeenSet = true;
207 m_snapshottingClusterId = std::forward<SnapshottingClusterIdT>(value);
208 }
209 template <typename SnapshottingClusterIdT = Aws::String>
210 ReplicationGroup& WithSnapshottingClusterId(SnapshottingClusterIdT&& value) {
211 SetSnapshottingClusterId(std::forward<SnapshottingClusterIdT>(value));
212 return *this;
213 }
215
217
221 inline AutomaticFailoverStatus GetAutomaticFailover() const { return m_automaticFailover; }
222 inline bool AutomaticFailoverHasBeenSet() const { return m_automaticFailoverHasBeenSet; }
224 m_automaticFailoverHasBeenSet = true;
225 m_automaticFailover = value;
226 }
229 return *this;
230 }
232
234
240 inline MultiAZStatus GetMultiAZ() const { return m_multiAZ; }
241 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
242 inline void SetMultiAZ(MultiAZStatus value) {
243 m_multiAZHasBeenSet = true;
244 m_multiAZ = value;
245 }
247 SetMultiAZ(value);
248 return *this;
249 }
251
253
257 inline const Endpoint& GetConfigurationEndpoint() const { return m_configurationEndpoint; }
258 inline bool ConfigurationEndpointHasBeenSet() const { return m_configurationEndpointHasBeenSet; }
259 template <typename ConfigurationEndpointT = Endpoint>
260 void SetConfigurationEndpoint(ConfigurationEndpointT&& value) {
261 m_configurationEndpointHasBeenSet = true;
262 m_configurationEndpoint = std::forward<ConfigurationEndpointT>(value);
263 }
264 template <typename ConfigurationEndpointT = Endpoint>
265 ReplicationGroup& WithConfigurationEndpoint(ConfigurationEndpointT&& value) {
266 SetConfigurationEndpoint(std::forward<ConfigurationEndpointT>(value));
267 return *this;
268 }
270
272
280 inline int GetSnapshotRetentionLimit() const { return m_snapshotRetentionLimit; }
281 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
282 inline void SetSnapshotRetentionLimit(int value) {
283 m_snapshotRetentionLimitHasBeenSet = true;
284 m_snapshotRetentionLimit = value;
285 }
288 return *this;
289 }
291
293
300 inline const Aws::String& GetSnapshotWindow() const { return m_snapshotWindow; }
301 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
302 template <typename SnapshotWindowT = Aws::String>
303 void SetSnapshotWindow(SnapshotWindowT&& value) {
304 m_snapshotWindowHasBeenSet = true;
305 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
306 }
307 template <typename SnapshotWindowT = Aws::String>
308 ReplicationGroup& WithSnapshotWindow(SnapshotWindowT&& value) {
309 SetSnapshotWindow(std::forward<SnapshotWindowT>(value));
310 return *this;
311 }
313
315
320 inline bool GetClusterEnabled() const { return m_clusterEnabled; }
321 inline bool ClusterEnabledHasBeenSet() const { return m_clusterEnabledHasBeenSet; }
322 inline void SetClusterEnabled(bool value) {
323 m_clusterEnabledHasBeenSet = true;
324 m_clusterEnabled = value;
325 }
327 SetClusterEnabled(value);
328 return *this;
329 }
331
333
337 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
338 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
339 template <typename CacheNodeTypeT = Aws::String>
340 void SetCacheNodeType(CacheNodeTypeT&& value) {
341 m_cacheNodeTypeHasBeenSet = true;
342 m_cacheNodeType = std::forward<CacheNodeTypeT>(value);
343 }
344 template <typename CacheNodeTypeT = Aws::String>
345 ReplicationGroup& WithCacheNodeType(CacheNodeTypeT&& value) {
346 SetCacheNodeType(std::forward<CacheNodeTypeT>(value));
347 return *this;
348 }
350
352
356 inline bool GetAuthTokenEnabled() const { return m_authTokenEnabled; }
357 inline bool AuthTokenEnabledHasBeenSet() const { return m_authTokenEnabledHasBeenSet; }
358 inline void SetAuthTokenEnabled(bool value) {
359 m_authTokenEnabledHasBeenSet = true;
360 m_authTokenEnabled = value;
361 }
363 SetAuthTokenEnabled(value);
364 return *this;
365 }
367
369
372 inline const Aws::Utils::DateTime& GetAuthTokenLastModifiedDate() const { return m_authTokenLastModifiedDate; }
373 inline bool AuthTokenLastModifiedDateHasBeenSet() const { return m_authTokenLastModifiedDateHasBeenSet; }
374 template <typename AuthTokenLastModifiedDateT = Aws::Utils::DateTime>
375 void SetAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT&& value) {
376 m_authTokenLastModifiedDateHasBeenSet = true;
377 m_authTokenLastModifiedDate = std::forward<AuthTokenLastModifiedDateT>(value);
378 }
379 template <typename AuthTokenLastModifiedDateT = Aws::Utils::DateTime>
380 ReplicationGroup& WithAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT&& value) {
381 SetAuthTokenLastModifiedDate(std::forward<AuthTokenLastModifiedDateT>(value));
382 return *this;
383 }
385
387
393 inline bool GetTransitEncryptionEnabled() const { return m_transitEncryptionEnabled; }
394 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
395 inline void SetTransitEncryptionEnabled(bool value) {
396 m_transitEncryptionEnabledHasBeenSet = true;
397 m_transitEncryptionEnabled = value;
398 }
401 return *this;
402 }
404
406
415 inline bool GetAtRestEncryptionEnabled() const { return m_atRestEncryptionEnabled; }
416 inline bool AtRestEncryptionEnabledHasBeenSet() const { return m_atRestEncryptionEnabledHasBeenSet; }
417 inline void SetAtRestEncryptionEnabled(bool value) {
418 m_atRestEncryptionEnabledHasBeenSet = true;
419 m_atRestEncryptionEnabled = value;
420 }
423 return *this;
424 }
426
428
431 inline const Aws::Vector<Aws::String>& GetMemberClustersOutpostArns() const { return m_memberClustersOutpostArns; }
432 inline bool MemberClustersOutpostArnsHasBeenSet() const { return m_memberClustersOutpostArnsHasBeenSet; }
433 template <typename MemberClustersOutpostArnsT = Aws::Vector<Aws::String>>
434 void SetMemberClustersOutpostArns(MemberClustersOutpostArnsT&& value) {
435 m_memberClustersOutpostArnsHasBeenSet = true;
436 m_memberClustersOutpostArns = std::forward<MemberClustersOutpostArnsT>(value);
437 }
438 template <typename MemberClustersOutpostArnsT = Aws::Vector<Aws::String>>
439 ReplicationGroup& WithMemberClustersOutpostArns(MemberClustersOutpostArnsT&& value) {
440 SetMemberClustersOutpostArns(std::forward<MemberClustersOutpostArnsT>(value));
441 return *this;
442 }
443 template <typename MemberClustersOutpostArnsT = Aws::String>
444 ReplicationGroup& AddMemberClustersOutpostArns(MemberClustersOutpostArnsT&& value) {
445 m_memberClustersOutpostArnsHasBeenSet = true;
446 m_memberClustersOutpostArns.emplace_back(std::forward<MemberClustersOutpostArnsT>(value));
447 return *this;
448 }
450
452
455 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
456 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
457 template <typename KmsKeyIdT = Aws::String>
458 void SetKmsKeyId(KmsKeyIdT&& value) {
459 m_kmsKeyIdHasBeenSet = true;
460 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
461 }
462 template <typename KmsKeyIdT = Aws::String>
463 ReplicationGroup& WithKmsKeyId(KmsKeyIdT&& value) {
464 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
465 return *this;
466 }
468
470
473 inline const Aws::String& GetARN() const { return m_aRN; }
474 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
475 template <typename ARNT = Aws::String>
476 void SetARN(ARNT&& value) {
477 m_aRNHasBeenSet = true;
478 m_aRN = std::forward<ARNT>(value);
479 }
480 template <typename ARNT = Aws::String>
481 ReplicationGroup& WithARN(ARNT&& value) {
482 SetARN(std::forward<ARNT>(value));
483 return *this;
484 }
486
488
491 inline const Aws::Vector<Aws::String>& GetUserGroupIds() const { return m_userGroupIds; }
492 inline bool UserGroupIdsHasBeenSet() const { return m_userGroupIdsHasBeenSet; }
493 template <typename UserGroupIdsT = Aws::Vector<Aws::String>>
494 void SetUserGroupIds(UserGroupIdsT&& value) {
495 m_userGroupIdsHasBeenSet = true;
496 m_userGroupIds = std::forward<UserGroupIdsT>(value);
497 }
498 template <typename UserGroupIdsT = Aws::Vector<Aws::String>>
499 ReplicationGroup& WithUserGroupIds(UserGroupIdsT&& value) {
500 SetUserGroupIds(std::forward<UserGroupIdsT>(value));
501 return *this;
502 }
503 template <typename UserGroupIdsT = Aws::String>
504 ReplicationGroup& AddUserGroupIds(UserGroupIdsT&& value) {
505 m_userGroupIdsHasBeenSet = true;
506 m_userGroupIds.emplace_back(std::forward<UserGroupIdsT>(value));
507 return *this;
508 }
510
512
515 inline const Aws::Vector<LogDeliveryConfiguration>& GetLogDeliveryConfigurations() const { return m_logDeliveryConfigurations; }
516 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
517 template <typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfiguration>>
518 void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) {
519 m_logDeliveryConfigurationsHasBeenSet = true;
520 m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value);
521 }
522 template <typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfiguration>>
523 ReplicationGroup& WithLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) {
524 SetLogDeliveryConfigurations(std::forward<LogDeliveryConfigurationsT>(value));
525 return *this;
526 }
527 template <typename LogDeliveryConfigurationsT = LogDeliveryConfiguration>
528 ReplicationGroup& AddLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) {
529 m_logDeliveryConfigurationsHasBeenSet = true;
530 m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value));
531 return *this;
532 }
534
536
539 inline const Aws::Utils::DateTime& GetReplicationGroupCreateTime() const { return m_replicationGroupCreateTime; }
540 inline bool ReplicationGroupCreateTimeHasBeenSet() const { return m_replicationGroupCreateTimeHasBeenSet; }
541 template <typename ReplicationGroupCreateTimeT = Aws::Utils::DateTime>
542 void SetReplicationGroupCreateTime(ReplicationGroupCreateTimeT&& value) {
543 m_replicationGroupCreateTimeHasBeenSet = true;
544 m_replicationGroupCreateTime = std::forward<ReplicationGroupCreateTimeT>(value);
545 }
546 template <typename ReplicationGroupCreateTimeT = Aws::Utils::DateTime>
547 ReplicationGroup& WithReplicationGroupCreateTime(ReplicationGroupCreateTimeT&& value) {
548 SetReplicationGroupCreateTime(std::forward<ReplicationGroupCreateTimeT>(value));
549 return *this;
550 }
552
554
561 inline DataTieringStatus GetDataTiering() const { return m_dataTiering; }
562 inline bool DataTieringHasBeenSet() const { return m_dataTieringHasBeenSet; }
564 m_dataTieringHasBeenSet = true;
565 m_dataTiering = value;
566 }
568 SetDataTiering(value);
569 return *this;
570 }
572
574
579 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
580 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
581 inline void SetAutoMinorVersionUpgrade(bool value) {
582 m_autoMinorVersionUpgradeHasBeenSet = true;
583 m_autoMinorVersionUpgrade = value;
584 }
587 return *this;
588 }
590
592
599 inline NetworkType GetNetworkType() const { return m_networkType; }
600 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
601 inline void SetNetworkType(NetworkType value) {
602 m_networkTypeHasBeenSet = true;
603 m_networkType = value;
604 }
606 SetNetworkType(value);
607 return *this;
608 }
610
612
619 inline IpDiscovery GetIpDiscovery() const { return m_ipDiscovery; }
620 inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
621 inline void SetIpDiscovery(IpDiscovery value) {
622 m_ipDiscoveryHasBeenSet = true;
623 m_ipDiscovery = value;
624 }
626 SetIpDiscovery(value);
627 return *this;
628 }
630
632
636 inline TransitEncryptionMode GetTransitEncryptionMode() const { return m_transitEncryptionMode; }
637 inline bool TransitEncryptionModeHasBeenSet() const { return m_transitEncryptionModeHasBeenSet; }
639 m_transitEncryptionModeHasBeenSet = true;
640 m_transitEncryptionMode = value;
641 }
644 return *this;
645 }
647
649
657 inline ClusterMode GetClusterMode() const { return m_clusterMode; }
658 inline bool ClusterModeHasBeenSet() const { return m_clusterModeHasBeenSet; }
659 inline void SetClusterMode(ClusterMode value) {
660 m_clusterModeHasBeenSet = true;
661 m_clusterMode = value;
662 }
664 SetClusterMode(value);
665 return *this;
666 }
668
670
674 inline const Aws::String& GetEngine() const { return m_engine; }
675 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
676 template <typename EngineT = Aws::String>
677 void SetEngine(EngineT&& value) {
678 m_engineHasBeenSet = true;
679 m_engine = std::forward<EngineT>(value);
680 }
681 template <typename EngineT = Aws::String>
682 ReplicationGroup& WithEngine(EngineT&& value) {
683 SetEngine(std::forward<EngineT>(value));
684 return *this;
685 }
687 private:
688 Aws::String m_replicationGroupId;
689
690 Aws::String m_description;
691
692 GlobalReplicationGroupInfo m_globalReplicationGroupInfo;
693
694 Aws::String m_status;
695
696 ReplicationGroupPendingModifiedValues m_pendingModifiedValues;
697
698 Aws::Vector<Aws::String> m_memberClusters;
699
700 Aws::Vector<NodeGroup> m_nodeGroups;
701
702 Aws::String m_snapshottingClusterId;
703
705
707
708 Endpoint m_configurationEndpoint;
709
710 int m_snapshotRetentionLimit{0};
711
712 Aws::String m_snapshotWindow;
713
714 bool m_clusterEnabled{false};
715
716 Aws::String m_cacheNodeType;
717
718 bool m_authTokenEnabled{false};
719
720 Aws::Utils::DateTime m_authTokenLastModifiedDate{};
721
722 bool m_transitEncryptionEnabled{false};
723
724 bool m_atRestEncryptionEnabled{false};
725
726 Aws::Vector<Aws::String> m_memberClustersOutpostArns;
727
728 Aws::String m_kmsKeyId;
729
730 Aws::String m_aRN;
731
732 Aws::Vector<Aws::String> m_userGroupIds;
733
734 Aws::Vector<LogDeliveryConfiguration> m_logDeliveryConfigurations;
735
736 Aws::Utils::DateTime m_replicationGroupCreateTime{};
737
739
740 bool m_autoMinorVersionUpgrade{false};
741
742 NetworkType m_networkType{NetworkType::NOT_SET};
743
744 IpDiscovery m_ipDiscovery{IpDiscovery::NOT_SET};
745
747
748 ClusterMode m_clusterMode{ClusterMode::NOT_SET};
749
750 Aws::String m_engine;
751 bool m_replicationGroupIdHasBeenSet = false;
752 bool m_descriptionHasBeenSet = false;
753 bool m_globalReplicationGroupInfoHasBeenSet = false;
754 bool m_statusHasBeenSet = false;
755 bool m_pendingModifiedValuesHasBeenSet = false;
756 bool m_memberClustersHasBeenSet = false;
757 bool m_nodeGroupsHasBeenSet = false;
758 bool m_snapshottingClusterIdHasBeenSet = false;
759 bool m_automaticFailoverHasBeenSet = false;
760 bool m_multiAZHasBeenSet = false;
761 bool m_configurationEndpointHasBeenSet = false;
762 bool m_snapshotRetentionLimitHasBeenSet = false;
763 bool m_snapshotWindowHasBeenSet = false;
764 bool m_clusterEnabledHasBeenSet = false;
765 bool m_cacheNodeTypeHasBeenSet = false;
766 bool m_authTokenEnabledHasBeenSet = false;
767 bool m_authTokenLastModifiedDateHasBeenSet = false;
768 bool m_transitEncryptionEnabledHasBeenSet = false;
769 bool m_atRestEncryptionEnabledHasBeenSet = false;
770 bool m_memberClustersOutpostArnsHasBeenSet = false;
771 bool m_kmsKeyIdHasBeenSet = false;
772 bool m_aRNHasBeenSet = false;
773 bool m_userGroupIdsHasBeenSet = false;
774 bool m_logDeliveryConfigurationsHasBeenSet = false;
775 bool m_replicationGroupCreateTimeHasBeenSet = false;
776 bool m_dataTieringHasBeenSet = false;
777 bool m_autoMinorVersionUpgradeHasBeenSet = false;
778 bool m_networkTypeHasBeenSet = false;
779 bool m_ipDiscoveryHasBeenSet = false;
780 bool m_transitEncryptionModeHasBeenSet = false;
781 bool m_clusterModeHasBeenSet = false;
782 bool m_engineHasBeenSet = false;
783};
784
785} // namespace Model
786} // namespace ElastiCache
787} // namespace Aws
ReplicationGroup & AddMemberClusters(MemberClustersT &&value)
void SetAutomaticFailover(AutomaticFailoverStatus value)
const Aws::String & GetReplicationGroupId() const
void SetCacheNodeType(CacheNodeTypeT &&value)
ReplicationGroup & WithTransitEncryptionEnabled(bool value)
ReplicationGroup & WithDescription(DescriptionT &&value)
const Aws::Vector< LogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
void SetPendingModifiedValues(PendingModifiedValuesT &&value)
void SetMemberClusters(MemberClustersT &&value)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
ReplicationGroup & WithSnapshotWindow(SnapshotWindowT &&value)
AWS_ELASTICACHE_API ReplicationGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationGroup & WithMultiAZ(MultiAZStatus value)
ReplicationGroup & WithAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT &&value)
const GlobalReplicationGroupInfo & GetGlobalReplicationGroupInfo() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReplicationGroup & WithConfigurationEndpoint(ConfigurationEndpointT &&value)
ReplicationGroup & WithClusterMode(ClusterMode value)
ReplicationGroup & WithPendingModifiedValues(PendingModifiedValuesT &&value)
ReplicationGroup & WithReplicationGroupCreateTime(ReplicationGroupCreateTimeT &&value)
ReplicationGroup & WithClusterEnabled(bool value)
ReplicationGroup & WithAutoMinorVersionUpgrade(bool value)
AutomaticFailoverStatus GetAutomaticFailover() const
void SetAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT &&value)
const Aws::String & GetSnapshotWindow() const
const Aws::String & GetDescription() const
ReplicationGroup & AddNodeGroups(NodeGroupsT &&value)
ReplicationGroup & WithAutomaticFailover(AutomaticFailoverStatus value)
const Aws::Vector< Aws::String > & GetMemberClusters() const
void SetReplicationGroupCreateTime(ReplicationGroupCreateTimeT &&value)
ReplicationGroup & WithIpDiscovery(IpDiscovery value)
AWS_ELASTICACHE_API ReplicationGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReplicationGroup & WithTransitEncryptionMode(TransitEncryptionMode value)
ReplicationGroup & WithSnapshotRetentionLimit(int value)
ReplicationGroup & WithNetworkType(NetworkType value)
const Aws::Vector< Aws::String > & GetUserGroupIds() const
const Aws::String & GetSnapshottingClusterId() const
ReplicationGroup & WithMemberClustersOutpostArns(MemberClustersOutpostArnsT &&value)
ReplicationGroup & WithMemberClusters(MemberClustersT &&value)
ReplicationGroup & WithDataTiering(DataTieringStatus value)
ReplicationGroup & WithSnapshottingClusterId(SnapshottingClusterIdT &&value)
void SetTransitEncryptionMode(TransitEncryptionMode value)
void SetGlobalReplicationGroupInfo(GlobalReplicationGroupInfoT &&value)
ReplicationGroup & WithEngine(EngineT &&value)
ReplicationGroup & WithStatus(StatusT &&value)
void SetDataTiering(DataTieringStatus value)
void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
ReplicationGroup & WithLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
const Aws::Utils::DateTime & GetAuthTokenLastModifiedDate() const
void SetMemberClustersOutpostArns(MemberClustersOutpostArnsT &&value)
ReplicationGroup & WithARN(ARNT &&value)
void SetConfigurationEndpoint(ConfigurationEndpointT &&value)
ReplicationGroup & AddUserGroupIds(UserGroupIdsT &&value)
ReplicationGroup & WithNodeGroups(NodeGroupsT &&value)
ReplicationGroup & WithKmsKeyId(KmsKeyIdT &&value)
void SetDescription(DescriptionT &&value)
ReplicationGroup & WithReplicationGroupId(ReplicationGroupIdT &&value)
const Aws::Vector< Aws::String > & GetMemberClustersOutpostArns() const
ReplicationGroup & AddMemberClustersOutpostArns(MemberClustersOutpostArnsT &&value)
const Aws::String & GetCacheNodeType() const
AWS_ELASTICACHE_API ReplicationGroup()=default
ReplicationGroup & WithCacheNodeType(CacheNodeTypeT &&value)
ReplicationGroup & AddLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
void SetUserGroupIds(UserGroupIdsT &&value)
const Endpoint & GetConfigurationEndpoint() const
const Aws::Vector< NodeGroup > & GetNodeGroups() const
void SetSnapshottingClusterId(SnapshottingClusterIdT &&value)
ReplicationGroup & WithAuthTokenEnabled(bool value)
const Aws::Utils::DateTime & GetReplicationGroupCreateTime() const
void SetSnapshotWindow(SnapshotWindowT &&value)
TransitEncryptionMode GetTransitEncryptionMode() const
const ReplicationGroupPendingModifiedValues & GetPendingModifiedValues() const
ReplicationGroup & WithAtRestEncryptionEnabled(bool value)
ReplicationGroup & WithUserGroupIds(UserGroupIdsT &&value)
ReplicationGroup & WithGlobalReplicationGroupInfo(GlobalReplicationGroupInfoT &&value)
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