AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
64 inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); }
65 inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); }
66 inline CacheCluster& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;}
67 inline CacheCluster& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;}
68 inline CacheCluster& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;}
70
72
78 inline const Endpoint& GetConfigurationEndpoint() const{ return m_configurationEndpoint; }
79 inline bool ConfigurationEndpointHasBeenSet() const { return m_configurationEndpointHasBeenSet; }
80 inline void SetConfigurationEndpoint(const Endpoint& value) { m_configurationEndpointHasBeenSet = true; m_configurationEndpoint = value; }
81 inline void SetConfigurationEndpoint(Endpoint&& value) { m_configurationEndpointHasBeenSet = true; m_configurationEndpoint = std::move(value); }
82 inline CacheCluster& WithConfigurationEndpoint(const Endpoint& value) { SetConfigurationEndpoint(value); return *this;}
83 inline CacheCluster& WithConfigurationEndpoint(Endpoint&& value) { SetConfigurationEndpoint(std::move(value)); return *this;}
85
87
91 inline const Aws::String& GetClientDownloadLandingPage() const{ return m_clientDownloadLandingPage; }
92 inline bool ClientDownloadLandingPageHasBeenSet() const { return m_clientDownloadLandingPageHasBeenSet; }
93 inline void SetClientDownloadLandingPage(const Aws::String& value) { m_clientDownloadLandingPageHasBeenSet = true; m_clientDownloadLandingPage = value; }
94 inline void SetClientDownloadLandingPage(Aws::String&& value) { m_clientDownloadLandingPageHasBeenSet = true; m_clientDownloadLandingPage = std::move(value); }
95 inline void SetClientDownloadLandingPage(const char* value) { m_clientDownloadLandingPageHasBeenSet = true; m_clientDownloadLandingPage.assign(value); }
97 inline CacheCluster& WithClientDownloadLandingPage(Aws::String&& value) { SetClientDownloadLandingPage(std::move(value)); return *this;}
98 inline CacheCluster& WithClientDownloadLandingPage(const char* value) { SetClientDownloadLandingPage(value); return *this;}
100
102
177 inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
178 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
179 inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
180 inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
181 inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
182 inline CacheCluster& WithCacheNodeType(const Aws::String& value) { SetCacheNodeType(value); return *this;}
183 inline CacheCluster& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(std::move(value)); return *this;}
184 inline CacheCluster& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
186
188
192 inline const Aws::String& GetEngine() const{ return m_engine; }
193 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
194 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
195 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
196 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
197 inline CacheCluster& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
198 inline CacheCluster& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
199 inline CacheCluster& WithEngine(const char* value) { SetEngine(value); return *this;}
201
203
206 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
207 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
208 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
209 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
210 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
211 inline CacheCluster& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
212 inline CacheCluster& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
213 inline CacheCluster& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
215
217
224 inline const Aws::String& GetCacheClusterStatus() const{ return m_cacheClusterStatus; }
225 inline bool CacheClusterStatusHasBeenSet() const { return m_cacheClusterStatusHasBeenSet; }
226 inline void SetCacheClusterStatus(const Aws::String& value) { m_cacheClusterStatusHasBeenSet = true; m_cacheClusterStatus = value; }
227 inline void SetCacheClusterStatus(Aws::String&& value) { m_cacheClusterStatusHasBeenSet = true; m_cacheClusterStatus = std::move(value); }
228 inline void SetCacheClusterStatus(const char* value) { m_cacheClusterStatusHasBeenSet = true; m_cacheClusterStatus.assign(value); }
229 inline CacheCluster& WithCacheClusterStatus(const Aws::String& value) { SetCacheClusterStatus(value); return *this;}
230 inline CacheCluster& WithCacheClusterStatus(Aws::String&& value) { SetCacheClusterStatus(std::move(value)); return *this;}
231 inline CacheCluster& WithCacheClusterStatus(const char* value) { SetCacheClusterStatus(value); return *this;}
233
235
240 inline int GetNumCacheNodes() const{ return m_numCacheNodes; }
241 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
242 inline void SetNumCacheNodes(int value) { m_numCacheNodesHasBeenSet = true; m_numCacheNodes = value; }
243 inline CacheCluster& WithNumCacheNodes(int value) { SetNumCacheNodes(value); return *this;}
245
247
251 inline const Aws::String& GetPreferredAvailabilityZone() const{ return m_preferredAvailabilityZone; }
252 inline bool PreferredAvailabilityZoneHasBeenSet() const { return m_preferredAvailabilityZoneHasBeenSet; }
253 inline void SetPreferredAvailabilityZone(const Aws::String& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = value; }
254 inline void SetPreferredAvailabilityZone(Aws::String&& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = std::move(value); }
255 inline void SetPreferredAvailabilityZone(const char* value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone.assign(value); }
257 inline CacheCluster& WithPreferredAvailabilityZone(Aws::String&& value) { SetPreferredAvailabilityZone(std::move(value)); return *this;}
258 inline CacheCluster& WithPreferredAvailabilityZone(const char* value) { SetPreferredAvailabilityZone(value); return *this;}
260
262
265 inline const Aws::String& GetPreferredOutpostArn() const{ return m_preferredOutpostArn; }
266 inline bool PreferredOutpostArnHasBeenSet() const { return m_preferredOutpostArnHasBeenSet; }
267 inline void SetPreferredOutpostArn(const Aws::String& value) { m_preferredOutpostArnHasBeenSet = true; m_preferredOutpostArn = value; }
268 inline void SetPreferredOutpostArn(Aws::String&& value) { m_preferredOutpostArnHasBeenSet = true; m_preferredOutpostArn = std::move(value); }
269 inline void SetPreferredOutpostArn(const char* value) { m_preferredOutpostArnHasBeenSet = true; m_preferredOutpostArn.assign(value); }
270 inline CacheCluster& WithPreferredOutpostArn(const Aws::String& value) { SetPreferredOutpostArn(value); return *this;}
271 inline CacheCluster& WithPreferredOutpostArn(Aws::String&& value) { SetPreferredOutpostArn(std::move(value)); return *this;}
272 inline CacheCluster& WithPreferredOutpostArn(const char* value) { SetPreferredOutpostArn(value); return *this;}
274
276
279 inline const Aws::Utils::DateTime& GetCacheClusterCreateTime() const{ return m_cacheClusterCreateTime; }
280 inline bool CacheClusterCreateTimeHasBeenSet() const { return m_cacheClusterCreateTimeHasBeenSet; }
281 inline void SetCacheClusterCreateTime(const Aws::Utils::DateTime& value) { m_cacheClusterCreateTimeHasBeenSet = true; m_cacheClusterCreateTime = value; }
282 inline void SetCacheClusterCreateTime(Aws::Utils::DateTime&& value) { m_cacheClusterCreateTimeHasBeenSet = true; m_cacheClusterCreateTime = std::move(value); }
286
288
298 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
299 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
300 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
301 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
302 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
305 inline CacheCluster& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
307
309
310 inline const PendingModifiedValues& GetPendingModifiedValues() const{ return m_pendingModifiedValues; }
311 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
312 inline void SetPendingModifiedValues(const PendingModifiedValues& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = value; }
313 inline void SetPendingModifiedValues(PendingModifiedValues&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::move(value); }
317
319
324 inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; }
325 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
326 inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; }
327 inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::move(value); }
331
333
337 inline const Aws::Vector<CacheSecurityGroupMembership>& GetCacheSecurityGroups() const{ return m_cacheSecurityGroups; }
338 inline bool CacheSecurityGroupsHasBeenSet() const { return m_cacheSecurityGroupsHasBeenSet; }
339 inline void SetCacheSecurityGroups(const Aws::Vector<CacheSecurityGroupMembership>& value) { m_cacheSecurityGroupsHasBeenSet = true; m_cacheSecurityGroups = value; }
340 inline void SetCacheSecurityGroups(Aws::Vector<CacheSecurityGroupMembership>&& value) { m_cacheSecurityGroupsHasBeenSet = true; m_cacheSecurityGroups = std::move(value); }
343 inline CacheCluster& AddCacheSecurityGroups(const CacheSecurityGroupMembership& value) { m_cacheSecurityGroupsHasBeenSet = true; m_cacheSecurityGroups.push_back(value); return *this; }
344 inline CacheCluster& AddCacheSecurityGroups(CacheSecurityGroupMembership&& value) { m_cacheSecurityGroupsHasBeenSet = true; m_cacheSecurityGroups.push_back(std::move(value)); return *this; }
346
348
351 inline const CacheParameterGroupStatus& GetCacheParameterGroup() const{ return m_cacheParameterGroup; }
352 inline bool CacheParameterGroupHasBeenSet() const { return m_cacheParameterGroupHasBeenSet; }
353 inline void SetCacheParameterGroup(const CacheParameterGroupStatus& value) { m_cacheParameterGroupHasBeenSet = true; m_cacheParameterGroup = value; }
354 inline void SetCacheParameterGroup(CacheParameterGroupStatus&& value) { m_cacheParameterGroupHasBeenSet = true; m_cacheParameterGroup = std::move(value); }
358
360
363 inline const Aws::String& GetCacheSubnetGroupName() const{ return m_cacheSubnetGroupName; }
364 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
365 inline void SetCacheSubnetGroupName(const Aws::String& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = value; }
366 inline void SetCacheSubnetGroupName(Aws::String&& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = std::move(value); }
367 inline void SetCacheSubnetGroupName(const char* value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName.assign(value); }
368 inline CacheCluster& WithCacheSubnetGroupName(const Aws::String& value) { SetCacheSubnetGroupName(value); return *this;}
369 inline CacheCluster& WithCacheSubnetGroupName(Aws::String&& value) { SetCacheSubnetGroupName(std::move(value)); return *this;}
370 inline CacheCluster& WithCacheSubnetGroupName(const char* value) { SetCacheSubnetGroupName(value); return *this;}
372
374
377 inline const Aws::Vector<CacheNode>& GetCacheNodes() const{ return m_cacheNodes; }
378 inline bool CacheNodesHasBeenSet() const { return m_cacheNodesHasBeenSet; }
379 inline void SetCacheNodes(const Aws::Vector<CacheNode>& value) { m_cacheNodesHasBeenSet = true; m_cacheNodes = value; }
380 inline void SetCacheNodes(Aws::Vector<CacheNode>&& value) { m_cacheNodesHasBeenSet = true; m_cacheNodes = std::move(value); }
381 inline CacheCluster& WithCacheNodes(const Aws::Vector<CacheNode>& value) { SetCacheNodes(value); return *this;}
382 inline CacheCluster& WithCacheNodes(Aws::Vector<CacheNode>&& value) { SetCacheNodes(std::move(value)); return *this;}
383 inline CacheCluster& AddCacheNodes(const CacheNode& value) { m_cacheNodesHasBeenSet = true; m_cacheNodes.push_back(value); return *this; }
384 inline CacheCluster& AddCacheNodes(CacheNode&& value) { m_cacheNodesHasBeenSet = true; m_cacheNodes.push_back(std::move(value)); return *this; }
386
388
393 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
394 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
395 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
396 inline CacheCluster& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;}
398
400
403 inline const Aws::Vector<SecurityGroupMembership>& GetSecurityGroups() const{ return m_securityGroups; }
404 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
405 inline void SetSecurityGroups(const Aws::Vector<SecurityGroupMembership>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
406 inline void SetSecurityGroups(Aws::Vector<SecurityGroupMembership>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
409 inline CacheCluster& AddSecurityGroups(const SecurityGroupMembership& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
410 inline CacheCluster& AddSecurityGroups(SecurityGroupMembership&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
412
414
418 inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; }
419 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
420 inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
421 inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
422 inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
423 inline CacheCluster& WithReplicationGroupId(const Aws::String& value) { SetReplicationGroupId(value); return *this;}
424 inline CacheCluster& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
425 inline CacheCluster& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
427
429
437 inline int GetSnapshotRetentionLimit() const{ return m_snapshotRetentionLimit; }
438 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
439 inline void SetSnapshotRetentionLimit(int value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
440 inline CacheCluster& WithSnapshotRetentionLimit(int value) { SetSnapshotRetentionLimit(value); return *this;}
442
444
448 inline const Aws::String& GetSnapshotWindow() const{ return m_snapshotWindow; }
449 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
450 inline void SetSnapshotWindow(const Aws::String& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = value; }
451 inline void SetSnapshotWindow(Aws::String&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = std::move(value); }
452 inline void SetSnapshotWindow(const char* value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow.assign(value); }
453 inline CacheCluster& WithSnapshotWindow(const Aws::String& value) { SetSnapshotWindow(value); return *this;}
454 inline CacheCluster& WithSnapshotWindow(Aws::String&& value) { SetSnapshotWindow(std::move(value)); return *this;}
455 inline CacheCluster& WithSnapshotWindow(const char* value) { SetSnapshotWindow(value); return *this;}
457
459
463 inline bool GetAuthTokenEnabled() const{ return m_authTokenEnabled; }
464 inline bool AuthTokenEnabledHasBeenSet() const { return m_authTokenEnabledHasBeenSet; }
465 inline void SetAuthTokenEnabled(bool value) { m_authTokenEnabledHasBeenSet = true; m_authTokenEnabled = value; }
466 inline CacheCluster& WithAuthTokenEnabled(bool value) { SetAuthTokenEnabled(value); return *this;}
468
470
473 inline const Aws::Utils::DateTime& GetAuthTokenLastModifiedDate() const{ return m_authTokenLastModifiedDate; }
474 inline bool AuthTokenLastModifiedDateHasBeenSet() const { return m_authTokenLastModifiedDateHasBeenSet; }
475 inline void SetAuthTokenLastModifiedDate(const Aws::Utils::DateTime& value) { m_authTokenLastModifiedDateHasBeenSet = true; m_authTokenLastModifiedDate = value; }
476 inline void SetAuthTokenLastModifiedDate(Aws::Utils::DateTime&& value) { m_authTokenLastModifiedDateHasBeenSet = true; m_authTokenLastModifiedDate = std::move(value); }
480
482
488 inline bool GetTransitEncryptionEnabled() const{ return m_transitEncryptionEnabled; }
489 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
490 inline void SetTransitEncryptionEnabled(bool value) { m_transitEncryptionEnabledHasBeenSet = true; m_transitEncryptionEnabled = value; }
491 inline CacheCluster& WithTransitEncryptionEnabled(bool value) { SetTransitEncryptionEnabled(value); return *this;}
493
495
504 inline bool GetAtRestEncryptionEnabled() const{ return m_atRestEncryptionEnabled; }
505 inline bool AtRestEncryptionEnabledHasBeenSet() const { return m_atRestEncryptionEnabledHasBeenSet; }
506 inline void SetAtRestEncryptionEnabled(bool value) { m_atRestEncryptionEnabledHasBeenSet = true; m_atRestEncryptionEnabled = value; }
507 inline CacheCluster& WithAtRestEncryptionEnabled(bool value) { SetAtRestEncryptionEnabled(value); return *this;}
509
511
514 inline const Aws::String& GetARN() const{ return m_aRN; }
515 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
516 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
517 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
518 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
519 inline CacheCluster& WithARN(const Aws::String& value) { SetARN(value); return *this;}
520 inline CacheCluster& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
521 inline CacheCluster& WithARN(const char* value) { SetARN(value); return *this;}
523
525
529 inline bool GetReplicationGroupLogDeliveryEnabled() const{ return m_replicationGroupLogDeliveryEnabled; }
530 inline bool ReplicationGroupLogDeliveryEnabledHasBeenSet() const { return m_replicationGroupLogDeliveryEnabledHasBeenSet; }
531 inline void SetReplicationGroupLogDeliveryEnabled(bool value) { m_replicationGroupLogDeliveryEnabledHasBeenSet = true; m_replicationGroupLogDeliveryEnabled = value; }
534
536
539 inline const Aws::Vector<LogDeliveryConfiguration>& GetLogDeliveryConfigurations() const{ return m_logDeliveryConfigurations; }
540 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
541 inline void SetLogDeliveryConfigurations(const Aws::Vector<LogDeliveryConfiguration>& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = value; }
542 inline void SetLogDeliveryConfigurations(Aws::Vector<LogDeliveryConfiguration>&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = std::move(value); }
545 inline CacheCluster& AddLogDeliveryConfigurations(const LogDeliveryConfiguration& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(value); return *this; }
546 inline CacheCluster& AddLogDeliveryConfigurations(LogDeliveryConfiguration&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(std::move(value)); return *this; }
548
550
557 inline const NetworkType& GetNetworkType() const{ return m_networkType; }
558 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
559 inline void SetNetworkType(const NetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
560 inline void SetNetworkType(NetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); }
561 inline CacheCluster& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;}
562 inline CacheCluster& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;}
564
566
573 inline const IpDiscovery& GetIpDiscovery() const{ return m_ipDiscovery; }
574 inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
575 inline void SetIpDiscovery(const IpDiscovery& value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = value; }
576 inline void SetIpDiscovery(IpDiscovery&& value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = std::move(value); }
577 inline CacheCluster& WithIpDiscovery(const IpDiscovery& value) { SetIpDiscovery(value); return *this;}
578 inline CacheCluster& WithIpDiscovery(IpDiscovery&& value) { SetIpDiscovery(std::move(value)); return *this;}
580
582
586 inline const TransitEncryptionMode& GetTransitEncryptionMode() const{ return m_transitEncryptionMode; }
587 inline bool TransitEncryptionModeHasBeenSet() const { return m_transitEncryptionModeHasBeenSet; }
588 inline void SetTransitEncryptionMode(const TransitEncryptionMode& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = value; }
589 inline void SetTransitEncryptionMode(TransitEncryptionMode&& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = std::move(value); }
593 private:
594
595 Aws::String m_cacheClusterId;
596 bool m_cacheClusterIdHasBeenSet = false;
597
598 Endpoint m_configurationEndpoint;
599 bool m_configurationEndpointHasBeenSet = false;
600
601 Aws::String m_clientDownloadLandingPage;
602 bool m_clientDownloadLandingPageHasBeenSet = false;
603
604 Aws::String m_cacheNodeType;
605 bool m_cacheNodeTypeHasBeenSet = false;
606
607 Aws::String m_engine;
608 bool m_engineHasBeenSet = false;
609
610 Aws::String m_engineVersion;
611 bool m_engineVersionHasBeenSet = false;
612
613 Aws::String m_cacheClusterStatus;
614 bool m_cacheClusterStatusHasBeenSet = false;
615
616 int m_numCacheNodes;
617 bool m_numCacheNodesHasBeenSet = false;
618
619 Aws::String m_preferredAvailabilityZone;
620 bool m_preferredAvailabilityZoneHasBeenSet = false;
621
622 Aws::String m_preferredOutpostArn;
623 bool m_preferredOutpostArnHasBeenSet = false;
624
625 Aws::Utils::DateTime m_cacheClusterCreateTime;
626 bool m_cacheClusterCreateTimeHasBeenSet = false;
627
628 Aws::String m_preferredMaintenanceWindow;
629 bool m_preferredMaintenanceWindowHasBeenSet = false;
630
631 PendingModifiedValues m_pendingModifiedValues;
632 bool m_pendingModifiedValuesHasBeenSet = false;
633
634 NotificationConfiguration m_notificationConfiguration;
635 bool m_notificationConfigurationHasBeenSet = false;
636
637 Aws::Vector<CacheSecurityGroupMembership> m_cacheSecurityGroups;
638 bool m_cacheSecurityGroupsHasBeenSet = false;
639
640 CacheParameterGroupStatus m_cacheParameterGroup;
641 bool m_cacheParameterGroupHasBeenSet = false;
642
643 Aws::String m_cacheSubnetGroupName;
644 bool m_cacheSubnetGroupNameHasBeenSet = false;
645
646 Aws::Vector<CacheNode> m_cacheNodes;
647 bool m_cacheNodesHasBeenSet = false;
648
649 bool m_autoMinorVersionUpgrade;
650 bool m_autoMinorVersionUpgradeHasBeenSet = false;
651
653 bool m_securityGroupsHasBeenSet = false;
654
655 Aws::String m_replicationGroupId;
656 bool m_replicationGroupIdHasBeenSet = false;
657
658 int m_snapshotRetentionLimit;
659 bool m_snapshotRetentionLimitHasBeenSet = false;
660
661 Aws::String m_snapshotWindow;
662 bool m_snapshotWindowHasBeenSet = false;
663
664 bool m_authTokenEnabled;
665 bool m_authTokenEnabledHasBeenSet = false;
666
667 Aws::Utils::DateTime m_authTokenLastModifiedDate;
668 bool m_authTokenLastModifiedDateHasBeenSet = false;
669
670 bool m_transitEncryptionEnabled;
671 bool m_transitEncryptionEnabledHasBeenSet = false;
672
673 bool m_atRestEncryptionEnabled;
674 bool m_atRestEncryptionEnabledHasBeenSet = false;
675
676 Aws::String m_aRN;
677 bool m_aRNHasBeenSet = false;
678
679 bool m_replicationGroupLogDeliveryEnabled;
680 bool m_replicationGroupLogDeliveryEnabledHasBeenSet = false;
681
682 Aws::Vector<LogDeliveryConfiguration> m_logDeliveryConfigurations;
683 bool m_logDeliveryConfigurationsHasBeenSet = false;
684
685 NetworkType m_networkType;
686 bool m_networkTypeHasBeenSet = false;
687
688 IpDiscovery m_ipDiscovery;
689 bool m_ipDiscoveryHasBeenSet = false;
690
691 TransitEncryptionMode m_transitEncryptionMode;
692 bool m_transitEncryptionModeHasBeenSet = false;
693 };
694
695} // namespace Model
696} // namespace ElastiCache
697} // namespace Aws
CacheCluster & WithEngine(Aws::String &&value)
void SetCacheSecurityGroups(const Aws::Vector< CacheSecurityGroupMembership > &value)
const Aws::String & GetCacheNodeType() const
CacheCluster & WithAutoMinorVersionUpgrade(bool value)
CacheCluster & WithCacheClusterCreateTime(Aws::Utils::DateTime &&value)
AWS_ELASTICACHE_API CacheCluster()
void SetLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfiguration > &&value)
void SetLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfiguration > &value)
CacheCluster & WithTransitEncryptionMode(TransitEncryptionMode &&value)
CacheCluster & WithSnapshotRetentionLimit(int value)
CacheCluster & AddLogDeliveryConfigurations(LogDeliveryConfiguration &&value)
void SetSnapshotWindow(const char *value)
void SetCacheClusterId(const char *value)
const Aws::String & GetCacheSubnetGroupName() const
CacheCluster & WithPreferredOutpostArn(const char *value)
CacheCluster & WithSnapshotWindow(const Aws::String &value)
void SetPreferredMaintenanceWindow(const char *value)
CacheCluster & AddCacheNodes(CacheNode &&value)
void SetCacheNodes(const Aws::Vector< CacheNode > &value)
void SetCacheSubnetGroupName(Aws::String &&value)
void SetCacheClusterId(Aws::String &&value)
CacheCluster & WithCacheSubnetGroupName(const char *value)
const Aws::String & GetClientDownloadLandingPage() const
CacheCluster & WithPreferredOutpostArn(const Aws::String &value)
CacheCluster & AddCacheNodes(const CacheNode &value)
CacheCluster & WithPreferredMaintenanceWindow(const char *value)
CacheCluster & WithPreferredAvailabilityZone(const Aws::String &value)
void SetSecurityGroups(const Aws::Vector< SecurityGroupMembership > &value)
const IpDiscovery & GetIpDiscovery() const
void SetCacheClusterStatus(Aws::String &&value)
void SetReplicationGroupLogDeliveryEnabled(bool value)
const Aws::String & GetCacheClusterId() const
const Aws::String & GetSnapshotWindow() const
CacheCluster & AddSecurityGroups(SecurityGroupMembership &&value)
CacheCluster & WithCacheClusterStatus(Aws::String &&value)
const Aws::String & GetPreferredOutpostArn() const
CacheCluster & WithPreferredAvailabilityZone(Aws::String &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
const CacheParameterGroupStatus & GetCacheParameterGroup() const
CacheCluster & WithCacheNodeType(const char *value)
void SetCacheSubnetGroupName(const char *value)
const Aws::Vector< CacheSecurityGroupMembership > & GetCacheSecurityGroups() const
CacheCluster & WithCacheClusterId(Aws::String &&value)
CacheCluster & WithNetworkType(const NetworkType &value)
CacheCluster & WithEngine(const Aws::String &value)
CacheCluster & WithCacheClusterStatus(const Aws::String &value)
void SetPreferredOutpostArn(Aws::String &&value)
void SetNetworkType(NetworkType &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CacheCluster & WithPreferredOutpostArn(Aws::String &&value)
const Endpoint & GetConfigurationEndpoint() const
const Aws::String & GetCacheClusterStatus() const
const Aws::String & GetPreferredMaintenanceWindow() const
void SetCacheNodeType(const Aws::String &value)
CacheCluster & WithCacheClusterStatus(const char *value)
void SetCacheClusterStatus(const Aws::String &value)
void SetCacheParameterGroup(const CacheParameterGroupStatus &value)
CacheCluster & WithSnapshotWindow(const char *value)
CacheCluster & WithEngineVersion(Aws::String &&value)
void SetClientDownloadLandingPage(Aws::String &&value)
void SetAuthTokenLastModifiedDate(Aws::Utils::DateTime &&value)
void SetSecurityGroups(Aws::Vector< SecurityGroupMembership > &&value)
void SetCacheParameterGroup(CacheParameterGroupStatus &&value)
void SetCacheClusterCreateTime(const Aws::Utils::DateTime &value)
void SetARN(Aws::String &&value)
void SetPendingModifiedValues(const PendingModifiedValues &value)
void SetNotificationConfiguration(const NotificationConfiguration &value)
void SetSnapshotWindow(const Aws::String &value)
CacheCluster & WithCacheNodeType(Aws::String &&value)
CacheCluster & WithLogDeliveryConfigurations(Aws::Vector< LogDeliveryConfiguration > &&value)
CacheCluster & WithClientDownloadLandingPage(Aws::String &&value)
CacheCluster & WithIpDiscovery(const IpDiscovery &value)
void SetReplicationGroupId(const Aws::String &value)
void SetConfigurationEndpoint(Endpoint &&value)
void SetCacheSubnetGroupName(const Aws::String &value)
void SetPreferredAvailabilityZone(const Aws::String &value)
CacheCluster & WithEngine(const char *value)
void SetPreferredAvailabilityZone(Aws::String &&value)
void SetCacheNodeType(const char *value)
void SetAuthTokenLastModifiedDate(const Aws::Utils::DateTime &value)
void SetPreferredOutpostArn(const Aws::String &value)
void SetIpDiscovery(IpDiscovery &&value)
CacheCluster & WithTransitEncryptionEnabled(bool value)
void SetClientDownloadLandingPage(const Aws::String &value)
const Aws::String & GetEngineVersion() const
CacheCluster & WithConfigurationEndpoint(Endpoint &&value)
CacheCluster & WithSecurityGroups(const Aws::Vector< SecurityGroupMembership > &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
CacheCluster & WithNotificationConfiguration(const NotificationConfiguration &value)
void SetCacheClusterId(const Aws::String &value)
AWS_ELASTICACHE_API CacheCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEngine() const
void SetNetworkType(const NetworkType &value)
CacheCluster & WithCacheClusterCreateTime(const Aws::Utils::DateTime &value)
CacheCluster & WithCacheNodes(const Aws::Vector< CacheNode > &value)
const TransitEncryptionMode & GetTransitEncryptionMode() const
CacheCluster & WithNumCacheNodes(int value)
CacheCluster & WithConfigurationEndpoint(const Endpoint &value)
void SetIpDiscovery(const IpDiscovery &value)
void SetNotificationConfiguration(NotificationConfiguration &&value)
void SetClientDownloadLandingPage(const char *value)
CacheCluster & WithPreferredAvailabilityZone(const char *value)
const Aws::String & GetReplicationGroupId() const
CacheCluster & WithReplicationGroupId(Aws::String &&value)
CacheCluster & WithARN(const char *value)
void SetEngine(const Aws::String &value)
const Aws::Vector< CacheNode > & GetCacheNodes() const
CacheCluster & WithReplicationGroupLogDeliveryEnabled(bool value)
void SetReplicationGroupId(Aws::String &&value)
const NetworkType & GetNetworkType() const
CacheCluster & WithCacheSubnetGroupName(const Aws::String &value)
CacheCluster & WithARN(const Aws::String &value)
CacheCluster & WithClientDownloadLandingPage(const char *value)
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
CacheCluster & WithLogDeliveryConfigurations(const Aws::Vector< LogDeliveryConfiguration > &value)
CacheCluster & WithReplicationGroupId(const char *value)
CacheCluster & AddLogDeliveryConfigurations(const LogDeliveryConfiguration &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetAuthTokenLastModifiedDate() const
CacheCluster & WithEngineVersion(const char *value)
const Aws::Vector< LogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
CacheCluster & WithAuthTokenEnabled(bool value)
void SetPendingModifiedValues(PendingModifiedValues &&value)
CacheCluster & WithARN(Aws::String &&value)
void SetCacheClusterCreateTime(Aws::Utils::DateTime &&value)
CacheCluster & WithAuthTokenLastModifiedDate(const Aws::Utils::DateTime &value)
void SetPreferredOutpostArn(const char *value)
void SetConfigurationEndpoint(const Endpoint &value)
void SetSnapshotWindow(Aws::String &&value)
CacheCluster & WithPreferredMaintenanceWindow(const Aws::String &value)
void SetTransitEncryptionMode(const TransitEncryptionMode &value)
const NotificationConfiguration & GetNotificationConfiguration() const
void SetEngine(const char *value)
void SetEngineVersion(const Aws::String &value)
CacheCluster & WithSecurityGroups(Aws::Vector< SecurityGroupMembership > &&value)
AWS_ELASTICACHE_API CacheCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheCluster & WithIpDiscovery(IpDiscovery &&value)
const PendingModifiedValues & GetPendingModifiedValues() const
CacheCluster & WithCacheSecurityGroups(const Aws::Vector< CacheSecurityGroupMembership > &value)
CacheCluster & WithReplicationGroupId(const Aws::String &value)
void SetEngineVersion(const char *value)
CacheCluster & WithTransitEncryptionMode(const TransitEncryptionMode &value)
CacheCluster & WithCacheSecurityGroups(Aws::Vector< CacheSecurityGroupMembership > &&value)
const Aws::String & GetARN() const
CacheCluster & WithPendingModifiedValues(PendingModifiedValues &&value)
void SetCacheNodes(Aws::Vector< CacheNode > &&value)
CacheCluster & AddCacheSecurityGroups(CacheSecurityGroupMembership &&value)
CacheCluster & WithCacheParameterGroup(const CacheParameterGroupStatus &value)
void SetTransitEncryptionMode(TransitEncryptionMode &&value)
CacheCluster & WithAuthTokenLastModifiedDate(Aws::Utils::DateTime &&value)
void SetARN(const Aws::String &value)
CacheCluster & WithCacheNodes(Aws::Vector< CacheNode > &&value)
const Aws::Vector< SecurityGroupMembership > & GetSecurityGroups() const
CacheCluster & WithCacheClusterId(const Aws::String &value)
void SetCacheSecurityGroups(Aws::Vector< CacheSecurityGroupMembership > &&value)
CacheCluster & WithNotificationConfiguration(NotificationConfiguration &&value)
CacheCluster & WithCacheClusterId(const char *value)
CacheCluster & WithPendingModifiedValues(const PendingModifiedValues &value)
void SetPreferredAvailabilityZone(const char *value)
void SetReplicationGroupId(const char *value)
CacheCluster & WithCacheNodeType(const Aws::String &value)
CacheCluster & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetEngineVersion(Aws::String &&value)
CacheCluster & WithAtRestEncryptionEnabled(bool value)
CacheCluster & WithCacheParameterGroup(CacheParameterGroupStatus &&value)
CacheCluster & AddCacheSecurityGroups(const CacheSecurityGroupMembership &value)
CacheCluster & WithNetworkType(NetworkType &&value)
bool ReplicationGroupLogDeliveryEnabledHasBeenSet() const
CacheCluster & WithClientDownloadLandingPage(const Aws::String &value)
CacheCluster & WithSnapshotWindow(Aws::String &&value)
const Aws::String & GetPreferredAvailabilityZone() const
void SetCacheNodeType(Aws::String &&value)
void SetCacheClusterStatus(const char *value)
CacheCluster & WithCacheSubnetGroupName(Aws::String &&value)
CacheCluster & WithEngineVersion(const Aws::String &value)
void SetEngine(Aws::String &&value)
CacheCluster & AddSecurityGroups(const SecurityGroupMembership &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