AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateCacheClusterRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/AZMode.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticache/model/OutpostMode.h>
13#include <aws/elasticache/model/NetworkType.h>
14#include <aws/elasticache/model/IpDiscovery.h>
15#include <aws/elasticache/model/Tag.h>
16#include <aws/elasticache/model/LogDeliveryConfigurationRequest.h>
17#include <utility>
18
19namespace Aws
20{
21namespace ElastiCache
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICACHE_API CreateCacheClusterRequest() = default;
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "CreateCacheCluster"; }
42
43 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
44
45 protected:
46 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
47
48 public:
49
51
58 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
59 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
60 template<typename CacheClusterIdT = Aws::String>
61 void SetCacheClusterId(CacheClusterIdT&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
62 template<typename CacheClusterIdT = Aws::String>
63 CreateCacheClusterRequest& WithCacheClusterId(CacheClusterIdT&& value) { SetCacheClusterId(std::forward<CacheClusterIdT>(value)); return *this;}
65
67
77 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
78 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
79 template<typename ReplicationGroupIdT = Aws::String>
80 void SetReplicationGroupId(ReplicationGroupIdT&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::forward<ReplicationGroupIdT>(value); }
81 template<typename ReplicationGroupIdT = Aws::String>
82 CreateCacheClusterRequest& WithReplicationGroupId(ReplicationGroupIdT&& value) { SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value)); return *this;}
84
86
93 inline AZMode GetAZMode() const { return m_aZMode; }
94 inline bool AZModeHasBeenSet() const { return m_aZModeHasBeenSet; }
95 inline void SetAZMode(AZMode value) { m_aZModeHasBeenSet = true; m_aZMode = value; }
96 inline CreateCacheClusterRequest& WithAZMode(AZMode value) { SetAZMode(value); return *this;}
98
100
107 inline const Aws::String& GetPreferredAvailabilityZone() const { return m_preferredAvailabilityZone; }
108 inline bool PreferredAvailabilityZoneHasBeenSet() const { return m_preferredAvailabilityZoneHasBeenSet; }
109 template<typename PreferredAvailabilityZoneT = Aws::String>
110 void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value); }
111 template<typename PreferredAvailabilityZoneT = Aws::String>
112 CreateCacheClusterRequest& WithPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) { SetPreferredAvailabilityZone(std::forward<PreferredAvailabilityZoneT>(value)); return *this;}
114
116
128 inline const Aws::Vector<Aws::String>& GetPreferredAvailabilityZones() const { return m_preferredAvailabilityZones; }
129 inline bool PreferredAvailabilityZonesHasBeenSet() const { return m_preferredAvailabilityZonesHasBeenSet; }
130 template<typename PreferredAvailabilityZonesT = Aws::Vector<Aws::String>>
131 void SetPreferredAvailabilityZones(PreferredAvailabilityZonesT&& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones = std::forward<PreferredAvailabilityZonesT>(value); }
132 template<typename PreferredAvailabilityZonesT = Aws::Vector<Aws::String>>
133 CreateCacheClusterRequest& WithPreferredAvailabilityZones(PreferredAvailabilityZonesT&& value) { SetPreferredAvailabilityZones(std::forward<PreferredAvailabilityZonesT>(value)); return *this;}
134 template<typename PreferredAvailabilityZonesT = Aws::String>
135 CreateCacheClusterRequest& AddPreferredAvailabilityZones(PreferredAvailabilityZonesT&& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones.emplace_back(std::forward<PreferredAvailabilityZonesT>(value)); return *this; }
137
139
147 inline int GetNumCacheNodes() const { return m_numCacheNodes; }
148 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
149 inline void SetNumCacheNodes(int value) { m_numCacheNodesHasBeenSet = true; m_numCacheNodes = value; }
150 inline CreateCacheClusterRequest& WithNumCacheNodes(int value) { SetNumCacheNodes(value); return *this;}
152
154
229 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
230 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
231 template<typename CacheNodeTypeT = Aws::String>
232 void SetCacheNodeType(CacheNodeTypeT&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::forward<CacheNodeTypeT>(value); }
233 template<typename CacheNodeTypeT = Aws::String>
234 CreateCacheClusterRequest& WithCacheNodeType(CacheNodeTypeT&& value) { SetCacheNodeType(std::forward<CacheNodeTypeT>(value)); return *this;}
236
238
242 inline const Aws::String& GetEngine() const { return m_engine; }
243 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
244 template<typename EngineT = Aws::String>
245 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
246 template<typename EngineT = Aws::String>
247 CreateCacheClusterRequest& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
249
251
262 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
263 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
264 template<typename EngineVersionT = Aws::String>
265 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
266 template<typename EngineVersionT = Aws::String>
267 CreateCacheClusterRequest& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
269
271
277 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
278 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
279 template<typename CacheParameterGroupNameT = Aws::String>
280 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value); }
281 template<typename CacheParameterGroupNameT = Aws::String>
282 CreateCacheClusterRequest& WithCacheParameterGroupName(CacheParameterGroupNameT&& value) { SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value)); return *this;}
284
286
295 inline const Aws::String& GetCacheSubnetGroupName() const { return m_cacheSubnetGroupName; }
296 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
297 template<typename CacheSubnetGroupNameT = Aws::String>
298 void SetCacheSubnetGroupName(CacheSubnetGroupNameT&& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value); }
299 template<typename CacheSubnetGroupNameT = Aws::String>
300 CreateCacheClusterRequest& WithCacheSubnetGroupName(CacheSubnetGroupNameT&& value) { SetCacheSubnetGroupName(std::forward<CacheSubnetGroupNameT>(value)); return *this;}
302
304
309 inline const Aws::Vector<Aws::String>& GetCacheSecurityGroupNames() const { return m_cacheSecurityGroupNames; }
310 inline bool CacheSecurityGroupNamesHasBeenSet() const { return m_cacheSecurityGroupNamesHasBeenSet; }
311 template<typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
312 void SetCacheSecurityGroupNames(CacheSecurityGroupNamesT&& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames = std::forward<CacheSecurityGroupNamesT>(value); }
313 template<typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
314 CreateCacheClusterRequest& WithCacheSecurityGroupNames(CacheSecurityGroupNamesT&& value) { SetCacheSecurityGroupNames(std::forward<CacheSecurityGroupNamesT>(value)); return *this;}
315 template<typename CacheSecurityGroupNamesT = Aws::String>
316 CreateCacheClusterRequest& AddCacheSecurityGroupNames(CacheSecurityGroupNamesT&& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames.emplace_back(std::forward<CacheSecurityGroupNamesT>(value)); return *this; }
318
320
325 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
326 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
327 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
328 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
329 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
330 CreateCacheClusterRequest& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
331 template<typename SecurityGroupIdsT = Aws::String>
332 CreateCacheClusterRequest& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
334
336
339 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
340 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
341 template<typename TagsT = Aws::Vector<Tag>>
342 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
343 template<typename TagsT = Aws::Vector<Tag>>
344 CreateCacheClusterRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
345 template<typename TagsT = Tag>
346 CreateCacheClusterRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
348
350
359 inline const Aws::Vector<Aws::String>& GetSnapshotArns() const { return m_snapshotArns; }
360 inline bool SnapshotArnsHasBeenSet() const { return m_snapshotArnsHasBeenSet; }
361 template<typename SnapshotArnsT = Aws::Vector<Aws::String>>
362 void SetSnapshotArns(SnapshotArnsT&& value) { m_snapshotArnsHasBeenSet = true; m_snapshotArns = std::forward<SnapshotArnsT>(value); }
363 template<typename SnapshotArnsT = Aws::Vector<Aws::String>>
364 CreateCacheClusterRequest& WithSnapshotArns(SnapshotArnsT&& value) { SetSnapshotArns(std::forward<SnapshotArnsT>(value)); return *this;}
365 template<typename SnapshotArnsT = Aws::String>
366 CreateCacheClusterRequest& AddSnapshotArns(SnapshotArnsT&& value) { m_snapshotArnsHasBeenSet = true; m_snapshotArns.emplace_back(std::forward<SnapshotArnsT>(value)); return *this; }
368
370
377 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
378 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
379 template<typename SnapshotNameT = Aws::String>
380 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::forward<SnapshotNameT>(value); }
381 template<typename SnapshotNameT = Aws::String>
382 CreateCacheClusterRequest& WithSnapshotName(SnapshotNameT&& value) { SetSnapshotName(std::forward<SnapshotNameT>(value)); return *this;}
384
386
391 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
392 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
393 template<typename PreferredMaintenanceWindowT = Aws::String>
394 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
395 template<typename PreferredMaintenanceWindowT = Aws::String>
396 CreateCacheClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
398
400
403 inline int GetPort() const { return m_port; }
404 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
405 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
406 inline CreateCacheClusterRequest& WithPort(int value) { SetPort(value); return *this;}
408
410
415 inline const Aws::String& GetNotificationTopicArn() const { return m_notificationTopicArn; }
416 inline bool NotificationTopicArnHasBeenSet() const { return m_notificationTopicArnHasBeenSet; }
417 template<typename NotificationTopicArnT = Aws::String>
418 void SetNotificationTopicArn(NotificationTopicArnT&& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = std::forward<NotificationTopicArnT>(value); }
419 template<typename NotificationTopicArnT = Aws::String>
420 CreateCacheClusterRequest& WithNotificationTopicArn(NotificationTopicArnT&& value) { SetNotificationTopicArn(std::forward<NotificationTopicArnT>(value)); return *this;}
422
424
429 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
430 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
431 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
434
436
444 inline int GetSnapshotRetentionLimit() const { return m_snapshotRetentionLimit; }
445 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
446 inline void SetSnapshotRetentionLimit(int value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
449
451
458 inline const Aws::String& GetSnapshotWindow() const { return m_snapshotWindow; }
459 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
460 template<typename SnapshotWindowT = Aws::String>
461 void SetSnapshotWindow(SnapshotWindowT&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = std::forward<SnapshotWindowT>(value); }
462 template<typename SnapshotWindowT = Aws::String>
463 CreateCacheClusterRequest& WithSnapshotWindow(SnapshotWindowT&& value) { SetSnapshotWindow(std::forward<SnapshotWindowT>(value)); return *this;}
465
467
477 inline const Aws::String& GetAuthToken() const { return m_authToken; }
478 inline bool AuthTokenHasBeenSet() const { return m_authTokenHasBeenSet; }
479 template<typename AuthTokenT = Aws::String>
480 void SetAuthToken(AuthTokenT&& value) { m_authTokenHasBeenSet = true; m_authToken = std::forward<AuthTokenT>(value); }
481 template<typename AuthTokenT = Aws::String>
482 CreateCacheClusterRequest& WithAuthToken(AuthTokenT&& value) { SetAuthToken(std::forward<AuthTokenT>(value)); return *this;}
484
486
490 inline OutpostMode GetOutpostMode() const { return m_outpostMode; }
491 inline bool OutpostModeHasBeenSet() const { return m_outpostModeHasBeenSet; }
492 inline void SetOutpostMode(OutpostMode value) { m_outpostModeHasBeenSet = true; m_outpostMode = value; }
495
497
500 inline const Aws::String& GetPreferredOutpostArn() const { return m_preferredOutpostArn; }
501 inline bool PreferredOutpostArnHasBeenSet() const { return m_preferredOutpostArnHasBeenSet; }
502 template<typename PreferredOutpostArnT = Aws::String>
503 void SetPreferredOutpostArn(PreferredOutpostArnT&& value) { m_preferredOutpostArnHasBeenSet = true; m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value); }
504 template<typename PreferredOutpostArnT = Aws::String>
505 CreateCacheClusterRequest& WithPreferredOutpostArn(PreferredOutpostArnT&& value) { SetPreferredOutpostArn(std::forward<PreferredOutpostArnT>(value)); return *this;}
507
509
512 inline const Aws::Vector<Aws::String>& GetPreferredOutpostArns() const { return m_preferredOutpostArns; }
513 inline bool PreferredOutpostArnsHasBeenSet() const { return m_preferredOutpostArnsHasBeenSet; }
514 template<typename PreferredOutpostArnsT = Aws::Vector<Aws::String>>
515 void SetPreferredOutpostArns(PreferredOutpostArnsT&& value) { m_preferredOutpostArnsHasBeenSet = true; m_preferredOutpostArns = std::forward<PreferredOutpostArnsT>(value); }
516 template<typename PreferredOutpostArnsT = Aws::Vector<Aws::String>>
517 CreateCacheClusterRequest& WithPreferredOutpostArns(PreferredOutpostArnsT&& value) { SetPreferredOutpostArns(std::forward<PreferredOutpostArnsT>(value)); return *this;}
518 template<typename PreferredOutpostArnsT = Aws::String>
519 CreateCacheClusterRequest& AddPreferredOutpostArns(PreferredOutpostArnsT&& value) { m_preferredOutpostArnsHasBeenSet = true; m_preferredOutpostArns.emplace_back(std::forward<PreferredOutpostArnsT>(value)); return *this; }
521
523
526 inline const Aws::Vector<LogDeliveryConfigurationRequest>& GetLogDeliveryConfigurations() const { return m_logDeliveryConfigurations; }
527 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
528 template<typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
529 void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value); }
530 template<typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
531 CreateCacheClusterRequest& WithLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { SetLogDeliveryConfigurations(std::forward<LogDeliveryConfigurationsT>(value)); return *this;}
532 template<typename LogDeliveryConfigurationsT = LogDeliveryConfigurationRequest>
533 CreateCacheClusterRequest& AddLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value)); return *this; }
535
537
540 inline bool GetTransitEncryptionEnabled() const { return m_transitEncryptionEnabled; }
541 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
542 inline void SetTransitEncryptionEnabled(bool value) { m_transitEncryptionEnabledHasBeenSet = true; m_transitEncryptionEnabled = value; }
545
547
554 inline NetworkType GetNetworkType() const { return m_networkType; }
555 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
556 inline void SetNetworkType(NetworkType value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
559
561
568 inline IpDiscovery GetIpDiscovery() const { return m_ipDiscovery; }
569 inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
570 inline void SetIpDiscovery(IpDiscovery value) { m_ipDiscoveryHasBeenSet = true; m_ipDiscovery = value; }
573 private:
574
575 Aws::String m_cacheClusterId;
576 bool m_cacheClusterIdHasBeenSet = false;
577
578 Aws::String m_replicationGroupId;
579 bool m_replicationGroupIdHasBeenSet = false;
580
581 AZMode m_aZMode{AZMode::NOT_SET};
582 bool m_aZModeHasBeenSet = false;
583
584 Aws::String m_preferredAvailabilityZone;
585 bool m_preferredAvailabilityZoneHasBeenSet = false;
586
587 Aws::Vector<Aws::String> m_preferredAvailabilityZones;
588 bool m_preferredAvailabilityZonesHasBeenSet = false;
589
590 int m_numCacheNodes{0};
591 bool m_numCacheNodesHasBeenSet = false;
592
593 Aws::String m_cacheNodeType;
594 bool m_cacheNodeTypeHasBeenSet = false;
595
596 Aws::String m_engine;
597 bool m_engineHasBeenSet = false;
598
599 Aws::String m_engineVersion;
600 bool m_engineVersionHasBeenSet = false;
601
602 Aws::String m_cacheParameterGroupName;
603 bool m_cacheParameterGroupNameHasBeenSet = false;
604
605 Aws::String m_cacheSubnetGroupName;
606 bool m_cacheSubnetGroupNameHasBeenSet = false;
607
608 Aws::Vector<Aws::String> m_cacheSecurityGroupNames;
609 bool m_cacheSecurityGroupNamesHasBeenSet = false;
610
611 Aws::Vector<Aws::String> m_securityGroupIds;
612 bool m_securityGroupIdsHasBeenSet = false;
613
614 Aws::Vector<Tag> m_tags;
615 bool m_tagsHasBeenSet = false;
616
617 Aws::Vector<Aws::String> m_snapshotArns;
618 bool m_snapshotArnsHasBeenSet = false;
619
620 Aws::String m_snapshotName;
621 bool m_snapshotNameHasBeenSet = false;
622
623 Aws::String m_preferredMaintenanceWindow;
624 bool m_preferredMaintenanceWindowHasBeenSet = false;
625
626 int m_port{0};
627 bool m_portHasBeenSet = false;
628
629 Aws::String m_notificationTopicArn;
630 bool m_notificationTopicArnHasBeenSet = false;
631
632 bool m_autoMinorVersionUpgrade{false};
633 bool m_autoMinorVersionUpgradeHasBeenSet = false;
634
635 int m_snapshotRetentionLimit{0};
636 bool m_snapshotRetentionLimitHasBeenSet = false;
637
638 Aws::String m_snapshotWindow;
639 bool m_snapshotWindowHasBeenSet = false;
640
641 Aws::String m_authToken;
642 bool m_authTokenHasBeenSet = false;
643
644 OutpostMode m_outpostMode{OutpostMode::NOT_SET};
645 bool m_outpostModeHasBeenSet = false;
646
647 Aws::String m_preferredOutpostArn;
648 bool m_preferredOutpostArnHasBeenSet = false;
649
650 Aws::Vector<Aws::String> m_preferredOutpostArns;
651 bool m_preferredOutpostArnsHasBeenSet = false;
652
653 Aws::Vector<LogDeliveryConfigurationRequest> m_logDeliveryConfigurations;
654 bool m_logDeliveryConfigurationsHasBeenSet = false;
655
656 bool m_transitEncryptionEnabled{false};
657 bool m_transitEncryptionEnabledHasBeenSet = false;
658
659 NetworkType m_networkType{NetworkType::NOT_SET};
660 bool m_networkTypeHasBeenSet = false;
661
662 IpDiscovery m_ipDiscovery{IpDiscovery::NOT_SET};
663 bool m_ipDiscoveryHasBeenSet = false;
664 };
665
666} // namespace Model
667} // namespace ElastiCache
668} // namespace Aws
CreateCacheClusterRequest & WithPreferredOutpostArns(PreferredOutpostArnsT &&value)
const Aws::Vector< Aws::String > & GetSnapshotArns() const
virtual const char * GetServiceRequestName() const override
CreateCacheClusterRequest & WithPreferredOutpostArn(PreferredOutpostArnT &&value)
CreateCacheClusterRequest & WithNotificationTopicArn(NotificationTopicArnT &&value)
CreateCacheClusterRequest & WithNumCacheNodes(int value)
CreateCacheClusterRequest & AddTags(TagsT &&value)
CreateCacheClusterRequest & AddSnapshotArns(SnapshotArnsT &&value)
void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
CreateCacheClusterRequest & WithOutpostMode(OutpostMode value)
CreateCacheClusterRequest & AddPreferredOutpostArns(PreferredOutpostArnsT &&value)
CreateCacheClusterRequest & WithTransitEncryptionEnabled(bool value)
AWS_ELASTICACHE_API CreateCacheClusterRequest()=default
CreateCacheClusterRequest & WithSnapshotWindow(SnapshotWindowT &&value)
CreateCacheClusterRequest & WithPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
const Aws::Vector< Aws::String > & GetPreferredAvailabilityZones() const
CreateCacheClusterRequest & WithReplicationGroupId(ReplicationGroupIdT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateCacheClusterRequest & WithCacheNodeType(CacheNodeTypeT &&value)
CreateCacheClusterRequest & WithCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
CreateCacheClusterRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
CreateCacheClusterRequest & WithCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
CreateCacheClusterRequest & AddCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
CreateCacheClusterRequest & WithAuthToken(AuthTokenT &&value)
CreateCacheClusterRequest & WithEngineVersion(EngineVersionT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const Aws::Vector< LogDeliveryConfigurationRequest > & GetLogDeliveryConfigurations() const
const Aws::Vector< Aws::String > & GetPreferredOutpostArns() const
CreateCacheClusterRequest & WithSnapshotName(SnapshotNameT &&value)
CreateCacheClusterRequest & WithNetworkType(NetworkType value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateCacheClusterRequest & AddLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
CreateCacheClusterRequest & WithTags(TagsT &&value)
CreateCacheClusterRequest & WithSnapshotArns(SnapshotArnsT &&value)
CreateCacheClusterRequest & WithCacheClusterId(CacheClusterIdT &&value)
CreateCacheClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateCacheClusterRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetPreferredAvailabilityZones(PreferredAvailabilityZonesT &&value)
CreateCacheClusterRequest & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
CreateCacheClusterRequest & AddPreferredAvailabilityZones(PreferredAvailabilityZonesT &&value)
CreateCacheClusterRequest & WithSnapshotRetentionLimit(int value)
CreateCacheClusterRequest & WithLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
CreateCacheClusterRequest & WithPreferredAvailabilityZones(PreferredAvailabilityZonesT &&value)
CreateCacheClusterRequest & WithIpDiscovery(IpDiscovery value)
CreateCacheClusterRequest & WithEngine(EngineT &&value)
CreateCacheClusterRequest & WithAutoMinorVersionUpgrade(bool value)
CreateCacheClusterRequest & WithAZMode(AZMode value)
void SetCacheParameterGroupName(CacheParameterGroupNameT &&value)
void SetCacheSecurityGroupNames(CacheSecurityGroupNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector