AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CacheCluster.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/Endpoint.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/elasticache/model/PendingModifiedValues.h>
13#include <aws/elasticache/model/NotificationConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/elasticache/model/CacheParameterGroupStatus.h>
16#include <aws/elasticache/model/NetworkType.h>
17#include <aws/elasticache/model/IpDiscovery.h>
18#include <aws/elasticache/model/TransitEncryptionMode.h>
19#include <aws/elasticache/model/CacheSecurityGroupMembership.h>
20#include <aws/elasticache/model/CacheNode.h>
21#include <aws/elasticache/model/SecurityGroupMembership.h>
22#include <aws/elasticache/model/LogDeliveryConfiguration.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Xml
30{
31 class XmlNode;
32} // namespace Xml
33} // namespace Utils
34namespace ElastiCache
35{
36namespace Model
37{
38
46 {
47 public:
48 AWS_ELASTICACHE_API CacheCluster() = default;
49 AWS_ELASTICACHE_API CacheCluster(const Aws::Utils::Xml::XmlNode& xmlNode);
50 AWS_ELASTICACHE_API CacheCluster& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
51
52 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
53 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
54
55
57
61 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
62 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
63 template<typename CacheClusterIdT = Aws::String>
64 void SetCacheClusterId(CacheClusterIdT&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
65 template<typename CacheClusterIdT = Aws::String>
66 CacheCluster& WithCacheClusterId(CacheClusterIdT&& value) { SetCacheClusterId(std::forward<CacheClusterIdT>(value)); return *this;}
68
70
76 inline const Endpoint& GetConfigurationEndpoint() const { return m_configurationEndpoint; }
77 inline bool ConfigurationEndpointHasBeenSet() const { return m_configurationEndpointHasBeenSet; }
78 template<typename ConfigurationEndpointT = Endpoint>
79 void SetConfigurationEndpoint(ConfigurationEndpointT&& value) { m_configurationEndpointHasBeenSet = true; m_configurationEndpoint = std::forward<ConfigurationEndpointT>(value); }
80 template<typename ConfigurationEndpointT = Endpoint>
81 CacheCluster& WithConfigurationEndpoint(ConfigurationEndpointT&& value) { SetConfigurationEndpoint(std::forward<ConfigurationEndpointT>(value)); return *this;}
83
85
89 inline const Aws::String& GetClientDownloadLandingPage() const { return m_clientDownloadLandingPage; }
90 inline bool ClientDownloadLandingPageHasBeenSet() const { return m_clientDownloadLandingPageHasBeenSet; }
91 template<typename ClientDownloadLandingPageT = Aws::String>
92 void SetClientDownloadLandingPage(ClientDownloadLandingPageT&& value) { m_clientDownloadLandingPageHasBeenSet = true; m_clientDownloadLandingPage = std::forward<ClientDownloadLandingPageT>(value); }
93 template<typename ClientDownloadLandingPageT = Aws::String>
94 CacheCluster& WithClientDownloadLandingPage(ClientDownloadLandingPageT&& value) { SetClientDownloadLandingPage(std::forward<ClientDownloadLandingPageT>(value)); return *this;}
96
98
173 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
174 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
175 template<typename CacheNodeTypeT = Aws::String>
176 void SetCacheNodeType(CacheNodeTypeT&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::forward<CacheNodeTypeT>(value); }
177 template<typename CacheNodeTypeT = Aws::String>
178 CacheCluster& WithCacheNodeType(CacheNodeTypeT&& value) { SetCacheNodeType(std::forward<CacheNodeTypeT>(value)); return *this;}
180
182
186 inline const Aws::String& GetEngine() const { return m_engine; }
187 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
188 template<typename EngineT = Aws::String>
189 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
190 template<typename EngineT = Aws::String>
191 CacheCluster& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
193
195
198 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
199 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
200 template<typename EngineVersionT = Aws::String>
201 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
202 template<typename EngineVersionT = Aws::String>
203 CacheCluster& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
205
207
214 inline const Aws::String& GetCacheClusterStatus() const { return m_cacheClusterStatus; }
215 inline bool CacheClusterStatusHasBeenSet() const { return m_cacheClusterStatusHasBeenSet; }
216 template<typename CacheClusterStatusT = Aws::String>
217 void SetCacheClusterStatus(CacheClusterStatusT&& value) { m_cacheClusterStatusHasBeenSet = true; m_cacheClusterStatus = std::forward<CacheClusterStatusT>(value); }
218 template<typename CacheClusterStatusT = Aws::String>
219 CacheCluster& WithCacheClusterStatus(CacheClusterStatusT&& value) { SetCacheClusterStatus(std::forward<CacheClusterStatusT>(value)); return *this;}
221
223
228 inline int GetNumCacheNodes() const { return m_numCacheNodes; }
229 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
230 inline void SetNumCacheNodes(int value) { m_numCacheNodesHasBeenSet = true; m_numCacheNodes = value; }
231 inline CacheCluster& WithNumCacheNodes(int value) { SetNumCacheNodes(value); return *this;}
233
235
239 inline const Aws::String& GetPreferredAvailabilityZone() const { return m_preferredAvailabilityZone; }
240 inline bool PreferredAvailabilityZoneHasBeenSet() const { return m_preferredAvailabilityZoneHasBeenSet; }
241 template<typename PreferredAvailabilityZoneT = Aws::String>
242 void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value); }
243 template<typename PreferredAvailabilityZoneT = Aws::String>
244 CacheCluster& WithPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) { SetPreferredAvailabilityZone(std::forward<PreferredAvailabilityZoneT>(value)); return *this;}
246
248
251 inline const Aws::String& GetPreferredOutpostArn() const { return m_preferredOutpostArn; }
252 inline bool PreferredOutpostArnHasBeenSet() const { return m_preferredOutpostArnHasBeenSet; }
253 template<typename PreferredOutpostArnT = Aws::String>
254 void SetPreferredOutpostArn(PreferredOutpostArnT&& value) { m_preferredOutpostArnHasBeenSet = true; m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value); }
255 template<typename PreferredOutpostArnT = Aws::String>
256 CacheCluster& WithPreferredOutpostArn(PreferredOutpostArnT&& value) { SetPreferredOutpostArn(std::forward<PreferredOutpostArnT>(value)); return *this;}
258
260
263 inline const Aws::Utils::DateTime& GetCacheClusterCreateTime() const { return m_cacheClusterCreateTime; }
264 inline bool CacheClusterCreateTimeHasBeenSet() const { return m_cacheClusterCreateTimeHasBeenSet; }
265 template<typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
266 void SetCacheClusterCreateTime(CacheClusterCreateTimeT&& value) { m_cacheClusterCreateTimeHasBeenSet = true; m_cacheClusterCreateTime = std::forward<CacheClusterCreateTimeT>(value); }
267 template<typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
268 CacheCluster& WithCacheClusterCreateTime(CacheClusterCreateTimeT&& value) { SetCacheClusterCreateTime(std::forward<CacheClusterCreateTimeT>(value)); return *this;}
270
272
282 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
283 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
284 template<typename PreferredMaintenanceWindowT = Aws::String>
285 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
286 template<typename PreferredMaintenanceWindowT = Aws::String>
287 CacheCluster& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
289
291
292 inline const PendingModifiedValues& GetPendingModifiedValues() const { return m_pendingModifiedValues; }
293 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
294 template<typename PendingModifiedValuesT = PendingModifiedValues>
295 void SetPendingModifiedValues(PendingModifiedValuesT&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::forward<PendingModifiedValuesT>(value); }
296 template<typename PendingModifiedValuesT = PendingModifiedValues>
297 CacheCluster& WithPendingModifiedValues(PendingModifiedValuesT&& value) { SetPendingModifiedValues(std::forward<PendingModifiedValuesT>(value)); return *this;}
299
301
306 inline const NotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
307 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
308 template<typename NotificationConfigurationT = NotificationConfiguration>
309 void SetNotificationConfiguration(NotificationConfigurationT&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::forward<NotificationConfigurationT>(value); }
310 template<typename NotificationConfigurationT = NotificationConfiguration>
311 CacheCluster& WithNotificationConfiguration(NotificationConfigurationT&& value) { SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value)); return *this;}
313
315
319 inline const Aws::Vector<CacheSecurityGroupMembership>& GetCacheSecurityGroups() const { return m_cacheSecurityGroups; }
320 inline bool CacheSecurityGroupsHasBeenSet() const { return m_cacheSecurityGroupsHasBeenSet; }
321 template<typename CacheSecurityGroupsT = Aws::Vector<CacheSecurityGroupMembership>>
322 void SetCacheSecurityGroups(CacheSecurityGroupsT&& value) { m_cacheSecurityGroupsHasBeenSet = true; m_cacheSecurityGroups = std::forward<CacheSecurityGroupsT>(value); }
323 template<typename CacheSecurityGroupsT = Aws::Vector<CacheSecurityGroupMembership>>
324 CacheCluster& WithCacheSecurityGroups(CacheSecurityGroupsT&& value) { SetCacheSecurityGroups(std::forward<CacheSecurityGroupsT>(value)); return *this;}
325 template<typename CacheSecurityGroupsT = CacheSecurityGroupMembership>
326 CacheCluster& AddCacheSecurityGroups(CacheSecurityGroupsT&& value) { m_cacheSecurityGroupsHasBeenSet = true; m_cacheSecurityGroups.emplace_back(std::forward<CacheSecurityGroupsT>(value)); return *this; }
328
330
333 inline const CacheParameterGroupStatus& GetCacheParameterGroup() const { return m_cacheParameterGroup; }
334 inline bool CacheParameterGroupHasBeenSet() const { return m_cacheParameterGroupHasBeenSet; }
335 template<typename CacheParameterGroupT = CacheParameterGroupStatus>
336 void SetCacheParameterGroup(CacheParameterGroupT&& value) { m_cacheParameterGroupHasBeenSet = true; m_cacheParameterGroup = std::forward<CacheParameterGroupT>(value); }
337 template<typename CacheParameterGroupT = CacheParameterGroupStatus>
338 CacheCluster& WithCacheParameterGroup(CacheParameterGroupT&& value) { SetCacheParameterGroup(std::forward<CacheParameterGroupT>(value)); return *this;}
340
342
345 inline const Aws::String& GetCacheSubnetGroupName() const { return m_cacheSubnetGroupName; }
346 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
347 template<typename CacheSubnetGroupNameT = Aws::String>
348 void SetCacheSubnetGroupName(CacheSubnetGroupNameT&& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value); }
349 template<typename CacheSubnetGroupNameT = Aws::String>
350 CacheCluster& WithCacheSubnetGroupName(CacheSubnetGroupNameT&& value) { SetCacheSubnetGroupName(std::forward<CacheSubnetGroupNameT>(value)); return *this;}
352
354
357 inline const Aws::Vector<CacheNode>& GetCacheNodes() const { return m_cacheNodes; }
358 inline bool CacheNodesHasBeenSet() const { return m_cacheNodesHasBeenSet; }
359 template<typename CacheNodesT = Aws::Vector<CacheNode>>
360 void SetCacheNodes(CacheNodesT&& value) { m_cacheNodesHasBeenSet = true; m_cacheNodes = std::forward<CacheNodesT>(value); }
361 template<typename CacheNodesT = Aws::Vector<CacheNode>>
362 CacheCluster& WithCacheNodes(CacheNodesT&& value) { SetCacheNodes(std::forward<CacheNodesT>(value)); return *this;}
363 template<typename CacheNodesT = CacheNode>
364 CacheCluster& AddCacheNodes(CacheNodesT&& value) { m_cacheNodesHasBeenSet = true; m_cacheNodes.emplace_back(std::forward<CacheNodesT>(value)); return *this; }
366
368
373 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
374 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
375 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
376 inline CacheCluster& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;}
378
380
383 inline const Aws::Vector<SecurityGroupMembership>& GetSecurityGroups() const { return m_securityGroups; }
384 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
385 template<typename SecurityGroupsT = Aws::Vector<SecurityGroupMembership>>
386 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
387 template<typename SecurityGroupsT = Aws::Vector<SecurityGroupMembership>>
388 CacheCluster& WithSecurityGroups(SecurityGroupsT&& value) { SetSecurityGroups(std::forward<SecurityGroupsT>(value)); return *this;}
389 template<typename SecurityGroupsT = SecurityGroupMembership>
390 CacheCluster& AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value)); return *this; }
392
394
398 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
399 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
400 template<typename ReplicationGroupIdT = Aws::String>
401 void SetReplicationGroupId(ReplicationGroupIdT&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::forward<ReplicationGroupIdT>(value); }
402 template<typename ReplicationGroupIdT = Aws::String>
403 CacheCluster& WithReplicationGroupId(ReplicationGroupIdT&& value) { SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value)); return *this;}
405
407
415 inline int GetSnapshotRetentionLimit() const { return m_snapshotRetentionLimit; }
416 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
417 inline void SetSnapshotRetentionLimit(int value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
418 inline CacheCluster& WithSnapshotRetentionLimit(int value) { SetSnapshotRetentionLimit(value); return *this;}
420
422
426 inline const Aws::String& GetSnapshotWindow() const { return m_snapshotWindow; }
427 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
428 template<typename SnapshotWindowT = Aws::String>
429 void SetSnapshotWindow(SnapshotWindowT&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = std::forward<SnapshotWindowT>(value); }
430 template<typename SnapshotWindowT = Aws::String>
431 CacheCluster& WithSnapshotWindow(SnapshotWindowT&& value) { SetSnapshotWindow(std::forward<SnapshotWindowT>(value)); return *this;}
433
435
439 inline bool GetAuthTokenEnabled() const { return m_authTokenEnabled; }
440 inline bool AuthTokenEnabledHasBeenSet() const { return m_authTokenEnabledHasBeenSet; }
441 inline void SetAuthTokenEnabled(bool value) { m_authTokenEnabledHasBeenSet = true; m_authTokenEnabled = value; }
442 inline CacheCluster& WithAuthTokenEnabled(bool value) { SetAuthTokenEnabled(value); return *this;}
444
446
449 inline const Aws::Utils::DateTime& GetAuthTokenLastModifiedDate() const { return m_authTokenLastModifiedDate; }
450 inline bool AuthTokenLastModifiedDateHasBeenSet() const { return m_authTokenLastModifiedDateHasBeenSet; }
451 template<typename AuthTokenLastModifiedDateT = Aws::Utils::DateTime>
452 void SetAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT&& value) { m_authTokenLastModifiedDateHasBeenSet = true; m_authTokenLastModifiedDate = std::forward<AuthTokenLastModifiedDateT>(value); }
453 template<typename AuthTokenLastModifiedDateT = Aws::Utils::DateTime>
454 CacheCluster& WithAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT&& value) { SetAuthTokenLastModifiedDate(std::forward<AuthTokenLastModifiedDateT>(value)); return *this;}
456
458
464 inline bool GetTransitEncryptionEnabled() const { return m_transitEncryptionEnabled; }
465 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
466 inline void SetTransitEncryptionEnabled(bool value) { m_transitEncryptionEnabledHasBeenSet = true; m_transitEncryptionEnabled = value; }
467 inline CacheCluster& WithTransitEncryptionEnabled(bool value) { SetTransitEncryptionEnabled(value); return *this;}
469
471
480 inline bool GetAtRestEncryptionEnabled() const { return m_atRestEncryptionEnabled; }
481 inline bool AtRestEncryptionEnabledHasBeenSet() const { return m_atRestEncryptionEnabledHasBeenSet; }
482 inline void SetAtRestEncryptionEnabled(bool value) { m_atRestEncryptionEnabledHasBeenSet = true; m_atRestEncryptionEnabled = value; }
483 inline CacheCluster& WithAtRestEncryptionEnabled(bool value) { SetAtRestEncryptionEnabled(value); return *this;}
485
487
490 inline const Aws::String& GetARN() const { return m_aRN; }
491 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
492 template<typename ARNT = Aws::String>
493 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
494 template<typename ARNT = Aws::String>
495 CacheCluster& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
497
499
503 inline bool GetReplicationGroupLogDeliveryEnabled() const { return m_replicationGroupLogDeliveryEnabled; }
504 inline bool ReplicationGroupLogDeliveryEnabledHasBeenSet() const { return m_replicationGroupLogDeliveryEnabledHasBeenSet; }
505 inline void SetReplicationGroupLogDeliveryEnabled(bool value) { m_replicationGroupLogDeliveryEnabledHasBeenSet = true; m_replicationGroupLogDeliveryEnabled = value; }
508
510
513 inline const Aws::Vector<LogDeliveryConfiguration>& GetLogDeliveryConfigurations() const { return m_logDeliveryConfigurations; }
514 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
515 template<typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfiguration>>
516 void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value); }
517 template<typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfiguration>>
518 CacheCluster& WithLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { SetLogDeliveryConfigurations(std::forward<LogDeliveryConfigurationsT>(value)); return *this;}
519 template<typename LogDeliveryConfigurationsT = LogDeliveryConfiguration>
520 CacheCluster& AddLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value)); return *this; }
522
524
531 inline NetworkType GetNetworkType() const { return m_networkType; }
532 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
533 inline void SetNetworkType(NetworkType value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
534 inline CacheCluster& WithNetworkType(NetworkType value) { SetNetworkType(value); return *this;}
536
538
545 inline IpDiscovery GetIpDiscovery() const { return m_ipDiscovery; }
546 inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
547 inline void SetIpDiscovery(IpDiscovery value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = value; }
548 inline CacheCluster& WithIpDiscovery(IpDiscovery value) { SetIpDiscovery(value); return *this;}
550
552
556 inline TransitEncryptionMode GetTransitEncryptionMode() const { return m_transitEncryptionMode; }
557 inline bool TransitEncryptionModeHasBeenSet() const { return m_transitEncryptionModeHasBeenSet; }
558 inline void SetTransitEncryptionMode(TransitEncryptionMode value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = value; }
561 private:
562
563 Aws::String m_cacheClusterId;
564 bool m_cacheClusterIdHasBeenSet = false;
565
566 Endpoint m_configurationEndpoint;
567 bool m_configurationEndpointHasBeenSet = false;
568
569 Aws::String m_clientDownloadLandingPage;
570 bool m_clientDownloadLandingPageHasBeenSet = false;
571
572 Aws::String m_cacheNodeType;
573 bool m_cacheNodeTypeHasBeenSet = false;
574
575 Aws::String m_engine;
576 bool m_engineHasBeenSet = false;
577
578 Aws::String m_engineVersion;
579 bool m_engineVersionHasBeenSet = false;
580
581 Aws::String m_cacheClusterStatus;
582 bool m_cacheClusterStatusHasBeenSet = false;
583
584 int m_numCacheNodes{0};
585 bool m_numCacheNodesHasBeenSet = false;
586
587 Aws::String m_preferredAvailabilityZone;
588 bool m_preferredAvailabilityZoneHasBeenSet = false;
589
590 Aws::String m_preferredOutpostArn;
591 bool m_preferredOutpostArnHasBeenSet = false;
592
593 Aws::Utils::DateTime m_cacheClusterCreateTime{};
594 bool m_cacheClusterCreateTimeHasBeenSet = false;
595
596 Aws::String m_preferredMaintenanceWindow;
597 bool m_preferredMaintenanceWindowHasBeenSet = false;
598
599 PendingModifiedValues m_pendingModifiedValues;
600 bool m_pendingModifiedValuesHasBeenSet = false;
601
602 NotificationConfiguration m_notificationConfiguration;
603 bool m_notificationConfigurationHasBeenSet = false;
604
605 Aws::Vector<CacheSecurityGroupMembership> m_cacheSecurityGroups;
606 bool m_cacheSecurityGroupsHasBeenSet = false;
607
608 CacheParameterGroupStatus m_cacheParameterGroup;
609 bool m_cacheParameterGroupHasBeenSet = false;
610
611 Aws::String m_cacheSubnetGroupName;
612 bool m_cacheSubnetGroupNameHasBeenSet = false;
613
614 Aws::Vector<CacheNode> m_cacheNodes;
615 bool m_cacheNodesHasBeenSet = false;
616
617 bool m_autoMinorVersionUpgrade{false};
618 bool m_autoMinorVersionUpgradeHasBeenSet = false;
619
621 bool m_securityGroupsHasBeenSet = false;
622
623 Aws::String m_replicationGroupId;
624 bool m_replicationGroupIdHasBeenSet = false;
625
626 int m_snapshotRetentionLimit{0};
627 bool m_snapshotRetentionLimitHasBeenSet = false;
628
629 Aws::String m_snapshotWindow;
630 bool m_snapshotWindowHasBeenSet = false;
631
632 bool m_authTokenEnabled{false};
633 bool m_authTokenEnabledHasBeenSet = false;
634
635 Aws::Utils::DateTime m_authTokenLastModifiedDate{};
636 bool m_authTokenLastModifiedDateHasBeenSet = false;
637
638 bool m_transitEncryptionEnabled{false};
639 bool m_transitEncryptionEnabledHasBeenSet = false;
640
641 bool m_atRestEncryptionEnabled{false};
642 bool m_atRestEncryptionEnabledHasBeenSet = false;
643
644 Aws::String m_aRN;
645 bool m_aRNHasBeenSet = false;
646
647 bool m_replicationGroupLogDeliveryEnabled{false};
648 bool m_replicationGroupLogDeliveryEnabledHasBeenSet = false;
649
650 Aws::Vector<LogDeliveryConfiguration> m_logDeliveryConfigurations;
651 bool m_logDeliveryConfigurationsHasBeenSet = false;
652
653 NetworkType m_networkType{NetworkType::NOT_SET};
654 bool m_networkTypeHasBeenSet = false;
655
656 IpDiscovery m_ipDiscovery{IpDiscovery::NOT_SET};
657 bool m_ipDiscoveryHasBeenSet = false;
658
660 bool m_transitEncryptionModeHasBeenSet = false;
661 };
662
663} // namespace Model
664} // namespace ElastiCache
665} // namespace Aws
const Aws::String & GetCacheNodeType() const
CacheCluster & WithAutoMinorVersionUpgrade(bool value)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
CacheCluster & WithCacheSecurityGroups(CacheSecurityGroupsT &&value)
void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
CacheCluster & WithSnapshotRetentionLimit(int value)
void SetCacheParameterGroup(CacheParameterGroupT &&value)
void SetCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
CacheCluster & WithPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
const Aws::String & GetCacheSubnetGroupName() const
const Aws::String & GetClientDownloadLandingPage() const
CacheCluster & WithIpDiscovery(IpDiscovery value)
void SetReplicationGroupLogDeliveryEnabled(bool value)
const Aws::String & GetCacheClusterId() const
const Aws::String & GetSnapshotWindow() const
const Aws::String & GetPreferredOutpostArn() const
const CacheParameterGroupStatus & GetCacheParameterGroup() const
TransitEncryptionMode GetTransitEncryptionMode() const
CacheCluster & WithCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
const Aws::Vector< CacheSecurityGroupMembership > & GetCacheSecurityGroups() const
void SetPendingModifiedValues(PendingModifiedValuesT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CacheCluster & WithARN(ARNT &&value)
const Endpoint & GetConfigurationEndpoint() const
const Aws::String & GetCacheClusterStatus() const
const Aws::String & GetPreferredMaintenanceWindow() const
CacheCluster & WithPendingModifiedValues(PendingModifiedValuesT &&value)
void SetCacheSecurityGroups(CacheSecurityGroupsT &&value)
CacheCluster & WithSecurityGroups(SecurityGroupsT &&value)
CacheCluster & WithConfigurationEndpoint(ConfigurationEndpointT &&value)
CacheCluster & WithLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
CacheCluster & WithNetworkType(NetworkType value)
CacheCluster & WithCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
CacheCluster & WithCacheNodeType(CacheNodeTypeT &&value)
void SetCacheNodeType(CacheNodeTypeT &&value)
CacheCluster & WithTransitEncryptionMode(TransitEncryptionMode value)
void SetClientDownloadLandingPage(ClientDownloadLandingPageT &&value)
CacheCluster & WithCacheClusterId(CacheClusterIdT &&value)
void SetTransitEncryptionMode(TransitEncryptionMode value)
CacheCluster & WithCacheParameterGroup(CacheParameterGroupT &&value)
void SetSnapshotWindow(SnapshotWindowT &&value)
CacheCluster & WithTransitEncryptionEnabled(bool value)
const Aws::String & GetEngineVersion() const
AWS_ELASTICACHE_API CacheCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEngine() const
void SetEngineVersion(EngineVersionT &&value)
CacheCluster & WithNumCacheNodes(int value)
CacheCluster & WithEngineVersion(EngineVersionT &&value)
const Aws::String & GetReplicationGroupId() const
void SetPreferredOutpostArn(PreferredOutpostArnT &&value)
const Aws::Vector< CacheNode > & GetCacheNodes() const
CacheCluster & WithReplicationGroupLogDeliveryEnabled(bool value)
CacheCluster & WithNotificationConfiguration(NotificationConfigurationT &&value)
CacheCluster & AddCacheSecurityGroups(CacheSecurityGroupsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
void SetNotificationConfiguration(NotificationConfigurationT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetAuthTokenLastModifiedDate() const
void SetNetworkType(NetworkType value)
const Aws::Vector< LogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
CacheCluster & WithAuthTokenEnabled(bool value)
CacheCluster & AddSecurityGroups(SecurityGroupsT &&value)
void SetCacheClusterId(CacheClusterIdT &&value)
const NotificationConfiguration & GetNotificationConfiguration() const
AWS_ELASTICACHE_API CacheCluster()=default
CacheCluster & WithCacheClusterStatus(CacheClusterStatusT &&value)
AWS_ELASTICACHE_API CacheCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const PendingModifiedValues & GetPendingModifiedValues() const
CacheCluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CacheCluster & WithClientDownloadLandingPage(ClientDownloadLandingPageT &&value)
const Aws::String & GetARN() const
void SetConfigurationEndpoint(ConfigurationEndpointT &&value)
CacheCluster & WithReplicationGroupId(ReplicationGroupIdT &&value)
void SetCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
CacheCluster & WithAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT &&value)
CacheCluster & AddLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
const Aws::Vector< SecurityGroupMembership > & GetSecurityGroups() const
CacheCluster & WithPreferredOutpostArn(PreferredOutpostArnT &&value)
CacheCluster & AddCacheNodes(CacheNodesT &&value)
void SetAuthTokenLastModifiedDate(AuthTokenLastModifiedDateT &&value)
void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
void SetCacheClusterStatus(CacheClusterStatusT &&value)
CacheCluster & WithSnapshotWindow(SnapshotWindowT &&value)
CacheCluster & WithEngine(EngineT &&value)
CacheCluster & WithAtRestEncryptionEnabled(bool value)
CacheCluster & WithCacheNodes(CacheNodesT &&value)
bool ReplicationGroupLogDeliveryEnabledHasBeenSet() const
const Aws::String & GetPreferredAvailabilityZone() const
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetCacheNodes(CacheNodesT &&value)
void SetIpDiscovery(IpDiscovery 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