AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationGroup.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/GlobalReplicationGroupInfo.h>
11#include <aws/elasticache/model/ReplicationGroupPendingModifiedValues.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticache/model/AutomaticFailoverStatus.h>
14#include <aws/elasticache/model/MultiAZStatus.h>
15#include <aws/elasticache/model/Endpoint.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/elasticache/model/DataTieringStatus.h>
18#include <aws/elasticache/model/NetworkType.h>
19#include <aws/elasticache/model/IpDiscovery.h>
20#include <aws/elasticache/model/TransitEncryptionMode.h>
21#include <aws/elasticache/model/ClusterMode.h>
22#include <aws/elasticache/model/NodeGroup.h>
23#include <aws/elasticache/model/LogDeliveryConfiguration.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Xml
31{
32 class XmlNode;
33} // namespace Xml
34} // namespace Utils
35namespace ElastiCache
36{
37namespace Model
38{
39
47 {
48 public:
49 AWS_ELASTICACHE_API ReplicationGroup();
50 AWS_ELASTICACHE_API ReplicationGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
51 AWS_ELASTICACHE_API ReplicationGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
52
53 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
54 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
55
56
58
61 inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; }
62 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
63 inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
64 inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
65 inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
66 inline ReplicationGroup& WithReplicationGroupId(const Aws::String& value) { SetReplicationGroupId(value); return *this;}
67 inline ReplicationGroup& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
68 inline ReplicationGroup& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline ReplicationGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline ReplicationGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline ReplicationGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
90 inline const GlobalReplicationGroupInfo& GetGlobalReplicationGroupInfo() const{ return m_globalReplicationGroupInfo; }
91 inline bool GlobalReplicationGroupInfoHasBeenSet() const { return m_globalReplicationGroupInfoHasBeenSet; }
92 inline void SetGlobalReplicationGroupInfo(const GlobalReplicationGroupInfo& value) { m_globalReplicationGroupInfoHasBeenSet = true; m_globalReplicationGroupInfo = value; }
93 inline void SetGlobalReplicationGroupInfo(GlobalReplicationGroupInfo&& value) { m_globalReplicationGroupInfoHasBeenSet = true; m_globalReplicationGroupInfo = std::move(value); }
97
99
104 inline const Aws::String& GetStatus() const{ return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
106 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
107 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
108 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
109 inline ReplicationGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
110 inline ReplicationGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
111 inline ReplicationGroup& WithStatus(const char* value) { SetStatus(value); return *this;}
113
115
119 inline const ReplicationGroupPendingModifiedValues& GetPendingModifiedValues() const{ return m_pendingModifiedValues; }
120 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
121 inline void SetPendingModifiedValues(const ReplicationGroupPendingModifiedValues& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = value; }
122 inline void SetPendingModifiedValues(ReplicationGroupPendingModifiedValues&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::move(value); }
126
128
132 inline const Aws::Vector<Aws::String>& GetMemberClusters() const{ return m_memberClusters; }
133 inline bool MemberClustersHasBeenSet() const { return m_memberClustersHasBeenSet; }
134 inline void SetMemberClusters(const Aws::Vector<Aws::String>& value) { m_memberClustersHasBeenSet = true; m_memberClusters = value; }
135 inline void SetMemberClusters(Aws::Vector<Aws::String>&& value) { m_memberClustersHasBeenSet = true; m_memberClusters = std::move(value); }
137 inline ReplicationGroup& WithMemberClusters(Aws::Vector<Aws::String>&& value) { SetMemberClusters(std::move(value)); return *this;}
138 inline ReplicationGroup& AddMemberClusters(const Aws::String& value) { m_memberClustersHasBeenSet = true; m_memberClusters.push_back(value); return *this; }
139 inline ReplicationGroup& AddMemberClusters(Aws::String&& value) { m_memberClustersHasBeenSet = true; m_memberClusters.push_back(std::move(value)); return *this; }
140 inline ReplicationGroup& AddMemberClusters(const char* value) { m_memberClustersHasBeenSet = true; m_memberClusters.push_back(value); return *this; }
142
144
150 inline const Aws::Vector<NodeGroup>& GetNodeGroups() const{ return m_nodeGroups; }
151 inline bool NodeGroupsHasBeenSet() const { return m_nodeGroupsHasBeenSet; }
152 inline void SetNodeGroups(const Aws::Vector<NodeGroup>& value) { m_nodeGroupsHasBeenSet = true; m_nodeGroups = value; }
153 inline void SetNodeGroups(Aws::Vector<NodeGroup>&& value) { m_nodeGroupsHasBeenSet = true; m_nodeGroups = std::move(value); }
154 inline ReplicationGroup& WithNodeGroups(const Aws::Vector<NodeGroup>& value) { SetNodeGroups(value); return *this;}
155 inline ReplicationGroup& WithNodeGroups(Aws::Vector<NodeGroup>&& value) { SetNodeGroups(std::move(value)); return *this;}
156 inline ReplicationGroup& AddNodeGroups(const NodeGroup& value) { m_nodeGroupsHasBeenSet = true; m_nodeGroups.push_back(value); return *this; }
157 inline ReplicationGroup& AddNodeGroups(NodeGroup&& value) { m_nodeGroupsHasBeenSet = true; m_nodeGroups.push_back(std::move(value)); return *this; }
159
161
165 inline const Aws::String& GetSnapshottingClusterId() const{ return m_snapshottingClusterId; }
166 inline bool SnapshottingClusterIdHasBeenSet() const { return m_snapshottingClusterIdHasBeenSet; }
167 inline void SetSnapshottingClusterId(const Aws::String& value) { m_snapshottingClusterIdHasBeenSet = true; m_snapshottingClusterId = value; }
168 inline void SetSnapshottingClusterId(Aws::String&& value) { m_snapshottingClusterIdHasBeenSet = true; m_snapshottingClusterId = std::move(value); }
169 inline void SetSnapshottingClusterId(const char* value) { m_snapshottingClusterIdHasBeenSet = true; m_snapshottingClusterId.assign(value); }
171 inline ReplicationGroup& WithSnapshottingClusterId(Aws::String&& value) { SetSnapshottingClusterId(std::move(value)); return *this;}
172 inline ReplicationGroup& WithSnapshottingClusterId(const char* value) { SetSnapshottingClusterId(value); return *this;}
174
176
180 inline const AutomaticFailoverStatus& GetAutomaticFailover() const{ return m_automaticFailover; }
181 inline bool AutomaticFailoverHasBeenSet() const { return m_automaticFailoverHasBeenSet; }
182 inline void SetAutomaticFailover(const AutomaticFailoverStatus& value) { m_automaticFailoverHasBeenSet = true; m_automaticFailover = value; }
183 inline void SetAutomaticFailover(AutomaticFailoverStatus&& value) { m_automaticFailoverHasBeenSet = true; m_automaticFailover = std::move(value); }
185 inline ReplicationGroup& WithAutomaticFailover(AutomaticFailoverStatus&& value) { SetAutomaticFailover(std::move(value)); return *this;}
187
189
195 inline const MultiAZStatus& GetMultiAZ() const{ return m_multiAZ; }
196 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
197 inline void SetMultiAZ(const MultiAZStatus& value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
198 inline void SetMultiAZ(MultiAZStatus&& value) { m_multiAZHasBeenSet = true; m_multiAZ = std::move(value); }
199 inline ReplicationGroup& WithMultiAZ(const MultiAZStatus& value) { SetMultiAZ(value); return *this;}
200 inline ReplicationGroup& WithMultiAZ(MultiAZStatus&& value) { SetMultiAZ(std::move(value)); return *this;}
202
204
208 inline const Endpoint& GetConfigurationEndpoint() const{ return m_configurationEndpoint; }
209 inline bool ConfigurationEndpointHasBeenSet() const { return m_configurationEndpointHasBeenSet; }
210 inline void SetConfigurationEndpoint(const Endpoint& value) { m_configurationEndpointHasBeenSet = true; m_configurationEndpoint = value; }
211 inline void SetConfigurationEndpoint(Endpoint&& value) { m_configurationEndpointHasBeenSet = true; m_configurationEndpoint = std::move(value); }
213 inline ReplicationGroup& WithConfigurationEndpoint(Endpoint&& value) { SetConfigurationEndpoint(std::move(value)); return *this;}
215
217
225 inline int GetSnapshotRetentionLimit() const{ return m_snapshotRetentionLimit; }
226 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
227 inline void SetSnapshotRetentionLimit(int value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
230
232
239 inline const Aws::String& GetSnapshotWindow() const{ return m_snapshotWindow; }
240 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
241 inline void SetSnapshotWindow(const Aws::String& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = value; }
242 inline void SetSnapshotWindow(Aws::String&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = std::move(value); }
243 inline void SetSnapshotWindow(const char* value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow.assign(value); }
244 inline ReplicationGroup& WithSnapshotWindow(const Aws::String& value) { SetSnapshotWindow(value); return *this;}
245 inline ReplicationGroup& WithSnapshotWindow(Aws::String&& value) { SetSnapshotWindow(std::move(value)); return *this;}
246 inline ReplicationGroup& WithSnapshotWindow(const char* value) { SetSnapshotWindow(value); return *this;}
248
250
255 inline bool GetClusterEnabled() const{ return m_clusterEnabled; }
256 inline bool ClusterEnabledHasBeenSet() const { return m_clusterEnabledHasBeenSet; }
257 inline void SetClusterEnabled(bool value) { m_clusterEnabledHasBeenSet = true; m_clusterEnabled = value; }
258 inline ReplicationGroup& WithClusterEnabled(bool value) { SetClusterEnabled(value); return *this;}
260
262
266 inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
267 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
268 inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
269 inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
270 inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
271 inline ReplicationGroup& WithCacheNodeType(const Aws::String& value) { SetCacheNodeType(value); return *this;}
272 inline ReplicationGroup& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(std::move(value)); return *this;}
273 inline ReplicationGroup& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
275
277
281 inline bool GetAuthTokenEnabled() const{ return m_authTokenEnabled; }
282 inline bool AuthTokenEnabledHasBeenSet() const { return m_authTokenEnabledHasBeenSet; }
283 inline void SetAuthTokenEnabled(bool value) { m_authTokenEnabledHasBeenSet = true; m_authTokenEnabled = value; }
284 inline ReplicationGroup& WithAuthTokenEnabled(bool value) { SetAuthTokenEnabled(value); return *this;}
286
288
291 inline const Aws::Utils::DateTime& GetAuthTokenLastModifiedDate() const{ return m_authTokenLastModifiedDate; }
292 inline bool AuthTokenLastModifiedDateHasBeenSet() const { return m_authTokenLastModifiedDateHasBeenSet; }
293 inline void SetAuthTokenLastModifiedDate(const Aws::Utils::DateTime& value) { m_authTokenLastModifiedDateHasBeenSet = true; m_authTokenLastModifiedDate = value; }
294 inline void SetAuthTokenLastModifiedDate(Aws::Utils::DateTime&& value) { m_authTokenLastModifiedDateHasBeenSet = true; m_authTokenLastModifiedDate = std::move(value); }
298
300
306 inline bool GetTransitEncryptionEnabled() const{ return m_transitEncryptionEnabled; }
307 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
308 inline void SetTransitEncryptionEnabled(bool value) { m_transitEncryptionEnabledHasBeenSet = true; m_transitEncryptionEnabled = value; }
311
313
322 inline bool GetAtRestEncryptionEnabled() const{ return m_atRestEncryptionEnabled; }
323 inline bool AtRestEncryptionEnabledHasBeenSet() const { return m_atRestEncryptionEnabledHasBeenSet; }
324 inline void SetAtRestEncryptionEnabled(bool value) { m_atRestEncryptionEnabledHasBeenSet = true; m_atRestEncryptionEnabled = value; }
327
329
332 inline const Aws::Vector<Aws::String>& GetMemberClustersOutpostArns() const{ return m_memberClustersOutpostArns; }
333 inline bool MemberClustersOutpostArnsHasBeenSet() const { return m_memberClustersOutpostArnsHasBeenSet; }
334 inline void SetMemberClustersOutpostArns(const Aws::Vector<Aws::String>& value) { m_memberClustersOutpostArnsHasBeenSet = true; m_memberClustersOutpostArns = value; }
335 inline void SetMemberClustersOutpostArns(Aws::Vector<Aws::String>&& value) { m_memberClustersOutpostArnsHasBeenSet = true; m_memberClustersOutpostArns = std::move(value); }
338 inline ReplicationGroup& AddMemberClustersOutpostArns(const Aws::String& value) { m_memberClustersOutpostArnsHasBeenSet = true; m_memberClustersOutpostArns.push_back(value); return *this; }
339 inline ReplicationGroup& AddMemberClustersOutpostArns(Aws::String&& value) { m_memberClustersOutpostArnsHasBeenSet = true; m_memberClustersOutpostArns.push_back(std::move(value)); return *this; }
340 inline ReplicationGroup& AddMemberClustersOutpostArns(const char* value) { m_memberClustersOutpostArnsHasBeenSet = true; m_memberClustersOutpostArns.push_back(value); return *this; }
342
344
347 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
348 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
349 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
350 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
351 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
352 inline ReplicationGroup& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
353 inline ReplicationGroup& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
354 inline ReplicationGroup& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
356
358
361 inline const Aws::String& GetARN() const{ return m_aRN; }
362 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
363 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
364 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
365 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
366 inline ReplicationGroup& WithARN(const Aws::String& value) { SetARN(value); return *this;}
367 inline ReplicationGroup& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
368 inline ReplicationGroup& WithARN(const char* value) { SetARN(value); return *this;}
370
372
375 inline const Aws::Vector<Aws::String>& GetUserGroupIds() const{ return m_userGroupIds; }
376 inline bool UserGroupIdsHasBeenSet() const { return m_userGroupIdsHasBeenSet; }
377 inline void SetUserGroupIds(const Aws::Vector<Aws::String>& value) { m_userGroupIdsHasBeenSet = true; m_userGroupIds = value; }
378 inline void SetUserGroupIds(Aws::Vector<Aws::String>&& value) { m_userGroupIdsHasBeenSet = true; m_userGroupIds = std::move(value); }
379 inline ReplicationGroup& WithUserGroupIds(const Aws::Vector<Aws::String>& value) { SetUserGroupIds(value); return *this;}
380 inline ReplicationGroup& WithUserGroupIds(Aws::Vector<Aws::String>&& value) { SetUserGroupIds(std::move(value)); return *this;}
381 inline ReplicationGroup& AddUserGroupIds(const Aws::String& value) { m_userGroupIdsHasBeenSet = true; m_userGroupIds.push_back(value); return *this; }
382 inline ReplicationGroup& AddUserGroupIds(Aws::String&& value) { m_userGroupIdsHasBeenSet = true; m_userGroupIds.push_back(std::move(value)); return *this; }
383 inline ReplicationGroup& AddUserGroupIds(const char* value) { m_userGroupIdsHasBeenSet = true; m_userGroupIds.push_back(value); return *this; }
385
387
390 inline const Aws::Vector<LogDeliveryConfiguration>& GetLogDeliveryConfigurations() const{ return m_logDeliveryConfigurations; }
391 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
392 inline void SetLogDeliveryConfigurations(const Aws::Vector<LogDeliveryConfiguration>& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = value; }
393 inline void SetLogDeliveryConfigurations(Aws::Vector<LogDeliveryConfiguration>&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = std::move(value); }
396 inline ReplicationGroup& AddLogDeliveryConfigurations(const LogDeliveryConfiguration& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(value); return *this; }
397 inline ReplicationGroup& AddLogDeliveryConfigurations(LogDeliveryConfiguration&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(std::move(value)); return *this; }
399
401
404 inline const Aws::Utils::DateTime& GetReplicationGroupCreateTime() const{ return m_replicationGroupCreateTime; }
405 inline bool ReplicationGroupCreateTimeHasBeenSet() const { return m_replicationGroupCreateTimeHasBeenSet; }
406 inline void SetReplicationGroupCreateTime(const Aws::Utils::DateTime& value) { m_replicationGroupCreateTimeHasBeenSet = true; m_replicationGroupCreateTime = value; }
407 inline void SetReplicationGroupCreateTime(Aws::Utils::DateTime&& value) { m_replicationGroupCreateTimeHasBeenSet = true; m_replicationGroupCreateTime = std::move(value); }
411
413
420 inline const DataTieringStatus& GetDataTiering() const{ return m_dataTiering; }
421 inline bool DataTieringHasBeenSet() const { return m_dataTieringHasBeenSet; }
422 inline void SetDataTiering(const DataTieringStatus& value) { m_dataTieringHasBeenSet = true; m_dataTiering = value; }
423 inline void SetDataTiering(DataTieringStatus&& value) { m_dataTieringHasBeenSet = true; m_dataTiering = std::move(value); }
424 inline ReplicationGroup& WithDataTiering(const DataTieringStatus& value) { SetDataTiering(value); return *this;}
425 inline ReplicationGroup& WithDataTiering(DataTieringStatus&& value) { SetDataTiering(std::move(value)); return *this;}
427
429
434 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
435 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
436 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
439
441
448 inline const NetworkType& GetNetworkType() const{ return m_networkType; }
449 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
450 inline void SetNetworkType(const NetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
451 inline void SetNetworkType(NetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); }
452 inline ReplicationGroup& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;}
453 inline ReplicationGroup& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;}
455
457
464 inline const IpDiscovery& GetIpDiscovery() const{ return m_ipDiscovery; }
465 inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
466 inline void SetIpDiscovery(const IpDiscovery& value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = value; }
467 inline void SetIpDiscovery(IpDiscovery&& value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = std::move(value); }
468 inline ReplicationGroup& WithIpDiscovery(const IpDiscovery& value) { SetIpDiscovery(value); return *this;}
469 inline ReplicationGroup& WithIpDiscovery(IpDiscovery&& value) { SetIpDiscovery(std::move(value)); return *this;}
471
473
477 inline const TransitEncryptionMode& GetTransitEncryptionMode() const{ return m_transitEncryptionMode; }
478 inline bool TransitEncryptionModeHasBeenSet() const { return m_transitEncryptionModeHasBeenSet; }
479 inline void SetTransitEncryptionMode(const TransitEncryptionMode& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = value; }
480 inline void SetTransitEncryptionMode(TransitEncryptionMode&& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = std::move(value); }
484
486
494 inline const ClusterMode& GetClusterMode() const{ return m_clusterMode; }
495 inline bool ClusterModeHasBeenSet() const { return m_clusterModeHasBeenSet; }
496 inline void SetClusterMode(const ClusterMode& value) { m_clusterModeHasBeenSet = true; m_clusterMode = value; }
497 inline void SetClusterMode(ClusterMode&& value) { m_clusterModeHasBeenSet = true; m_clusterMode = std::move(value); }
498 inline ReplicationGroup& WithClusterMode(const ClusterMode& value) { SetClusterMode(value); return *this;}
499 inline ReplicationGroup& WithClusterMode(ClusterMode&& value) { SetClusterMode(std::move(value)); return *this;}
501
503
507 inline const Aws::String& GetEngine() const{ return m_engine; }
508 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
509 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
510 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
511 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
512 inline ReplicationGroup& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
513 inline ReplicationGroup& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
514 inline ReplicationGroup& WithEngine(const char* value) { SetEngine(value); return *this;}
516 private:
517
518 Aws::String m_replicationGroupId;
519 bool m_replicationGroupIdHasBeenSet = false;
520
521 Aws::String m_description;
522 bool m_descriptionHasBeenSet = false;
523
524 GlobalReplicationGroupInfo m_globalReplicationGroupInfo;
525 bool m_globalReplicationGroupInfoHasBeenSet = false;
526
527 Aws::String m_status;
528 bool m_statusHasBeenSet = false;
529
530 ReplicationGroupPendingModifiedValues m_pendingModifiedValues;
531 bool m_pendingModifiedValuesHasBeenSet = false;
532
533 Aws::Vector<Aws::String> m_memberClusters;
534 bool m_memberClustersHasBeenSet = false;
535
536 Aws::Vector<NodeGroup> m_nodeGroups;
537 bool m_nodeGroupsHasBeenSet = false;
538
539 Aws::String m_snapshottingClusterId;
540 bool m_snapshottingClusterIdHasBeenSet = false;
541
542 AutomaticFailoverStatus m_automaticFailover;
543 bool m_automaticFailoverHasBeenSet = false;
544
545 MultiAZStatus m_multiAZ;
546 bool m_multiAZHasBeenSet = false;
547
548 Endpoint m_configurationEndpoint;
549 bool m_configurationEndpointHasBeenSet = false;
550
551 int m_snapshotRetentionLimit;
552 bool m_snapshotRetentionLimitHasBeenSet = false;
553
554 Aws::String m_snapshotWindow;
555 bool m_snapshotWindowHasBeenSet = false;
556
557 bool m_clusterEnabled;
558 bool m_clusterEnabledHasBeenSet = false;
559
560 Aws::String m_cacheNodeType;
561 bool m_cacheNodeTypeHasBeenSet = false;
562
563 bool m_authTokenEnabled;
564 bool m_authTokenEnabledHasBeenSet = false;
565
566 Aws::Utils::DateTime m_authTokenLastModifiedDate;
567 bool m_authTokenLastModifiedDateHasBeenSet = false;
568
569 bool m_transitEncryptionEnabled;
570 bool m_transitEncryptionEnabledHasBeenSet = false;
571
572 bool m_atRestEncryptionEnabled;
573 bool m_atRestEncryptionEnabledHasBeenSet = false;
574
575 Aws::Vector<Aws::String> m_memberClustersOutpostArns;
576 bool m_memberClustersOutpostArnsHasBeenSet = false;
577
578 Aws::String m_kmsKeyId;
579 bool m_kmsKeyIdHasBeenSet = false;
580
581 Aws::String m_aRN;
582 bool m_aRNHasBeenSet = false;
583
584 Aws::Vector<Aws::String> m_userGroupIds;
585 bool m_userGroupIdsHasBeenSet = false;
586
587 Aws::Vector<LogDeliveryConfiguration> m_logDeliveryConfigurations;
588 bool m_logDeliveryConfigurationsHasBeenSet = false;
589
590 Aws::Utils::DateTime m_replicationGroupCreateTime;
591 bool m_replicationGroupCreateTimeHasBeenSet = false;
592
593 DataTieringStatus m_dataTiering;
594 bool m_dataTieringHasBeenSet = false;
595
596 bool m_autoMinorVersionUpgrade;
597 bool m_autoMinorVersionUpgradeHasBeenSet = false;
598
599 NetworkType m_networkType;
600 bool m_networkTypeHasBeenSet = false;
601
602 IpDiscovery m_ipDiscovery;
603 bool m_ipDiscoveryHasBeenSet = false;
604
605 TransitEncryptionMode m_transitEncryptionMode;
606 bool m_transitEncryptionModeHasBeenSet = false;
607
608 ClusterMode m_clusterMode;
609 bool m_clusterModeHasBeenSet = false;
610
611 Aws::String m_engine;
612 bool m_engineHasBeenSet = false;
613 };
614
615} // namespace Model
616} // namespace ElastiCache
617} // namespace Aws
void SetGlobalReplicationGroupInfo(const GlobalReplicationGroupInfo &value)
ReplicationGroup & AddMemberClusters(const char *value)
ReplicationGroup & WithAuthTokenLastModifiedDate(const Aws::Utils::DateTime &value)
void SetPendingModifiedValues(const ReplicationGroupPendingModifiedValues &value)
ReplicationGroup & WithLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfiguration > &value)
const TransitEncryptionMode & GetTransitEncryptionMode() const
ReplicationGroup & WithLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfiguration > &&value)
const Aws::String & GetReplicationGroupId() const
ReplicationGroup & WithAutomaticFailover(AutomaticFailoverStatus &&value)
ReplicationGroup & AddMemberClusters(Aws::String &&value)
void SetCacheNodeType(const Aws::String &value)
ReplicationGroup & WithSnapshotWindow(Aws::String &&value)
ReplicationGroup & WithReplicationGroupId(Aws::String &&value)
ReplicationGroup & WithTransitEncryptionEnabled(bool value)
void SetMemberClustersOutpostArns(Aws::Vector< Aws::String > &&value)
ReplicationGroup & AddNodeGroups(NodeGroup &&value)
ReplicationGroup & WithPendingModifiedValues(const ReplicationGroupPendingModifiedValues &value)
ReplicationGroup & WithSnapshottingClusterId(Aws::String &&value)
const Aws::Vector< LogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
void SetLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfiguration > &value)
ReplicationGroup & WithTransitEncryptionMode(const TransitEncryptionMode &value)
ReplicationGroup & WithStatus(const char *value)
ReplicationGroup & WithStatus(const Aws::String &value)
ReplicationGroup & AddUserGroupIds(const Aws::String &value)
ReplicationGroup & WithEngine(const Aws::String &value)
ReplicationGroup & WithSnapshotWindow(const Aws::String &value)
AWS_ELASTICACHE_API ReplicationGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAutomaticFailover(const AutomaticFailoverStatus &value)
ReplicationGroup & AddMemberClustersOutpostArns(const Aws::String &value)
ReplicationGroup & WithKmsKeyId(const Aws::String &value)
ReplicationGroup & WithTransitEncryptionMode(TransitEncryptionMode &&value)
void SetUserGroupIds(const Aws::Vector< Aws::String > &value)
void SetMemberClusters(Aws::Vector< Aws::String > &&value)
const GlobalReplicationGroupInfo & GetGlobalReplicationGroupInfo() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReplicationGroup & WithSnapshottingClusterId(const Aws::String &value)
void SetSnapshotWindow(const Aws::String &value)
ReplicationGroup & WithPendingModifiedValues(ReplicationGroupPendingModifiedValues &&value)
ReplicationGroup & WithMultiAZ(MultiAZStatus &&value)
void SetMemberClusters(const Aws::Vector< Aws::String > &value)
ReplicationGroup & WithCacheNodeType(const Aws::String &value)
ReplicationGroup & WithConfigurationEndpoint(Endpoint &&value)
ReplicationGroup & WithReplicationGroupCreateTime(Aws::Utils::DateTime &&value)
ReplicationGroup & WithDescription(const Aws::String &value)
ReplicationGroup & WithEngine(Aws::String &&value)
ReplicationGroup & WithClusterEnabled(bool value)
ReplicationGroup & WithAutoMinorVersionUpgrade(bool value)
void SetMultiAZ(const MultiAZStatus &value)
ReplicationGroup & WithCacheNodeType(Aws::String &&value)
ReplicationGroup & AddNodeGroups(const NodeGroup &value)
const Aws::String & GetSnapshotWindow() const
ReplicationGroup & AddLogDeliveryConfigurations(LogDeliveryConfiguration &&value)
void SetDescription(const Aws::String &value)
ReplicationGroup & WithReplicationGroupCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
ReplicationGroup & WithUserGroupIds(Aws::Vector< Aws::String > &&value)
ReplicationGroup & WithKmsKeyId(const char *value)
void SetNodeGroups(const Aws::Vector< NodeGroup > &value)
const AutomaticFailoverStatus & GetAutomaticFailover() const
const Aws::Vector< Aws::String > & GetMemberClusters() const
const NetworkType & GetNetworkType() const
AWS_ELASTICACHE_API ReplicationGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationGroup & WithNodeGroups(Aws::Vector< NodeGroup > &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReplicationGroup & WithSnapshotRetentionLimit(int value)
void SetDataTiering(const DataTieringStatus &value)
const IpDiscovery & GetIpDiscovery() const
const Aws::Vector< Aws::String > & GetUserGroupIds() const
ReplicationGroup & AddMemberClusters(const Aws::String &value)
ReplicationGroup & AddMemberClustersOutpostArns(Aws::String &&value)
void SetReplicationGroupCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetSnapshottingClusterId() const
void SetSnapshottingClusterId(const Aws::String &value)
ReplicationGroup & WithClusterMode(const ClusterMode &value)
void SetGlobalReplicationGroupInfo(GlobalReplicationGroupInfo &&value)
ReplicationGroup & WithMemberClusters(Aws::Vector< Aws::String > &&value)
ReplicationGroup & WithClusterMode(ClusterMode &&value)
ReplicationGroup & AddLogDeliveryConfigurations(const LogDeliveryConfiguration &value)
void SetAuthTokenLastModifiedDate(const Aws::Utils::DateTime &value)
void SetConfigurationEndpoint(const Endpoint &value)
void SetSnapshottingClusterId(Aws::String &&value)
void SetAuthTokenLastModifiedDate(Aws::Utils::DateTime &&value)
ReplicationGroup & WithReplicationGroupId(const char *value)
void SetDataTiering(DataTieringStatus &&value)
ReplicationGroup & WithEngine(const char *value)
ReplicationGroup & WithIpDiscovery(const IpDiscovery &value)
const Aws::Utils::DateTime & GetAuthTokenLastModifiedDate() const
ReplicationGroup & WithNodeGroups(const Aws::Vector< NodeGroup > &value)
ReplicationGroup & WithSnapshottingClusterId(const char *value)
void SetMemberClustersOutpostArns(const Aws::Vector< Aws::String > &value)
void SetReplicationGroupCreateTime(Aws::Utils::DateTime &&value)
ReplicationGroup & WithDescription(const char *value)
ReplicationGroup & WithSnapshotWindow(const char *value)
void SetAutomaticFailover(AutomaticFailoverStatus &&value)
void SetTransitEncryptionMode(TransitEncryptionMode &&value)
ReplicationGroup & WithKmsKeyId(Aws::String &&value)
ReplicationGroup & WithCacheNodeType(const char *value)
ReplicationGroup & WithUserGroupIds(const Aws::Vector< Aws::String > &value)
ReplicationGroup & WithConfigurationEndpoint(const Endpoint &value)
ReplicationGroup & AddUserGroupIds(Aws::String &&value)
ReplicationGroup & WithDataTiering(const DataTieringStatus &value)
const MultiAZStatus & GetMultiAZ() const
void SetReplicationGroupId(const Aws::String &value)
ReplicationGroup & WithMemberClusters(const Aws::Vector< Aws::String > &value)
ReplicationGroup & WithAutomaticFailover(const AutomaticFailoverStatus &value)
ReplicationGroup & WithGlobalReplicationGroupInfo(const GlobalReplicationGroupInfo &value)
ReplicationGroup & WithAuthTokenLastModifiedDate(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetMemberClustersOutpostArns() const
void SetKmsKeyId(const Aws::String &value)
ReplicationGroup & WithReplicationGroupId(const Aws::String &value)
const Aws::String & GetCacheNodeType() const
void SetLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfiguration > &&value)
ReplicationGroup & WithDescription(Aws::String &&value)
ReplicationGroup & WithARN(const Aws::String &value)
void SetARN(const Aws::String &value)
ReplicationGroup & WithNetworkType(const NetworkType &value)
ReplicationGroup & WithNetworkType(NetworkType &&value)
ReplicationGroup & WithGlobalReplicationGroupInfo(GlobalReplicationGroupInfo &&value)
const Endpoint & GetConfigurationEndpoint() const
const Aws::Vector< NodeGroup > & GetNodeGroups() const
void SetTransitEncryptionMode(const TransitEncryptionMode &value)
void SetPendingModifiedValues(ReplicationGroupPendingModifiedValues &&value)
void SetIpDiscovery(const IpDiscovery &value)
void SetNetworkType(const NetworkType &value)
void SetReplicationGroupId(Aws::String &&value)
void SetStatus(const Aws::String &value)
ReplicationGroup & WithStatus(Aws::String &&value)
ReplicationGroup & WithARN(const char *value)
void SetClusterMode(const ClusterMode &value)
ReplicationGroup & WithMultiAZ(const MultiAZStatus &value)
void SetUserGroupIds(Aws::Vector< Aws::String > &&value)
ReplicationGroup & AddMemberClustersOutpostArns(const char *value)
ReplicationGroup & WithDataTiering(DataTieringStatus &&value)
ReplicationGroup & WithAuthTokenEnabled(bool value)
void SetNodeGroups(Aws::Vector< NodeGroup > &&value)
ReplicationGroup & WithMemberClustersOutpostArns(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetReplicationGroupCreateTime() const
ReplicationGroup & WithMemberClustersOutpostArns(Aws::Vector< Aws::String > &&value)
ReplicationGroup & WithARN(Aws::String &&value)
void SetEngine(const Aws::String &value)
const ReplicationGroupPendingModifiedValues & GetPendingModifiedValues() const
const DataTieringStatus & GetDataTiering() const
ReplicationGroup & WithAtRestEncryptionEnabled(bool value)
ReplicationGroup & WithIpDiscovery(IpDiscovery &&value)
const ClusterMode & GetClusterMode() const
ReplicationGroup & AddUserGroupIds(const char *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