AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateCacheClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/AZMode.h>
12#include <aws/elasticache/model/IpDiscovery.h>
13#include <aws/elasticache/model/LogDeliveryConfigurationRequest.h>
14#include <aws/elasticache/model/NetworkType.h>
15#include <aws/elasticache/model/OutpostMode.h>
16#include <aws/elasticache/model/Tag.h>
17
18#include <utility>
19
20namespace Aws {
21namespace ElastiCache {
22namespace Model {
23
31 public:
32 AWS_ELASTICACHE_API CreateCacheClusterRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateCacheCluster"; }
39
40 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
41
42 protected:
43 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
44
45 public:
47
54 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
55 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
56 template <typename CacheClusterIdT = Aws::String>
57 void SetCacheClusterId(CacheClusterIdT&& value) {
58 m_cacheClusterIdHasBeenSet = true;
59 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
60 }
61 template <typename CacheClusterIdT = Aws::String>
63 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
64 return *this;
65 }
67
69
79 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
80 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
81 template <typename ReplicationGroupIdT = Aws::String>
82 void SetReplicationGroupId(ReplicationGroupIdT&& value) {
83 m_replicationGroupIdHasBeenSet = true;
84 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
85 }
86 template <typename ReplicationGroupIdT = Aws::String>
87 CreateCacheClusterRequest& WithReplicationGroupId(ReplicationGroupIdT&& value) {
88 SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value));
89 return *this;
90 }
92
94
101 inline AZMode GetAZMode() const { return m_aZMode; }
102 inline bool AZModeHasBeenSet() const { return m_aZModeHasBeenSet; }
103 inline void SetAZMode(AZMode value) {
104 m_aZModeHasBeenSet = true;
105 m_aZMode = value;
106 }
108 SetAZMode(value);
109 return *this;
110 }
112
114
121 inline const Aws::String& GetPreferredAvailabilityZone() const { return m_preferredAvailabilityZone; }
122 inline bool PreferredAvailabilityZoneHasBeenSet() const { return m_preferredAvailabilityZoneHasBeenSet; }
123 template <typename PreferredAvailabilityZoneT = Aws::String>
124 void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) {
125 m_preferredAvailabilityZoneHasBeenSet = true;
126 m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value);
127 }
128 template <typename PreferredAvailabilityZoneT = Aws::String>
129 CreateCacheClusterRequest& WithPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) {
130 SetPreferredAvailabilityZone(std::forward<PreferredAvailabilityZoneT>(value));
131 return *this;
132 }
134
136
148 inline const Aws::Vector<Aws::String>& GetPreferredAvailabilityZones() const { return m_preferredAvailabilityZones; }
149 inline bool PreferredAvailabilityZonesHasBeenSet() const { return m_preferredAvailabilityZonesHasBeenSet; }
150 template <typename PreferredAvailabilityZonesT = Aws::Vector<Aws::String>>
151 void SetPreferredAvailabilityZones(PreferredAvailabilityZonesT&& value) {
152 m_preferredAvailabilityZonesHasBeenSet = true;
153 m_preferredAvailabilityZones = std::forward<PreferredAvailabilityZonesT>(value);
154 }
155 template <typename PreferredAvailabilityZonesT = Aws::Vector<Aws::String>>
156 CreateCacheClusterRequest& WithPreferredAvailabilityZones(PreferredAvailabilityZonesT&& value) {
157 SetPreferredAvailabilityZones(std::forward<PreferredAvailabilityZonesT>(value));
158 return *this;
159 }
160 template <typename PreferredAvailabilityZonesT = Aws::String>
161 CreateCacheClusterRequest& AddPreferredAvailabilityZones(PreferredAvailabilityZonesT&& value) {
162 m_preferredAvailabilityZonesHasBeenSet = true;
163 m_preferredAvailabilityZones.emplace_back(std::forward<PreferredAvailabilityZonesT>(value));
164 return *this;
165 }
167
169
177 inline int GetNumCacheNodes() const { return m_numCacheNodes; }
178 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
179 inline void SetNumCacheNodes(int value) {
180 m_numCacheNodesHasBeenSet = true;
181 m_numCacheNodes = value;
182 }
184 SetNumCacheNodes(value);
185 return *this;
186 }
188
190
265 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
266 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
267 template <typename CacheNodeTypeT = Aws::String>
268 void SetCacheNodeType(CacheNodeTypeT&& value) {
269 m_cacheNodeTypeHasBeenSet = true;
270 m_cacheNodeType = std::forward<CacheNodeTypeT>(value);
271 }
272 template <typename CacheNodeTypeT = Aws::String>
274 SetCacheNodeType(std::forward<CacheNodeTypeT>(value));
275 return *this;
276 }
278
280
284 inline const Aws::String& GetEngine() const { return m_engine; }
285 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
286 template <typename EngineT = Aws::String>
287 void SetEngine(EngineT&& value) {
288 m_engineHasBeenSet = true;
289 m_engine = std::forward<EngineT>(value);
290 }
291 template <typename EngineT = Aws::String>
293 SetEngine(std::forward<EngineT>(value));
294 return *this;
295 }
297
299
310 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
311 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
312 template <typename EngineVersionT = Aws::String>
313 void SetEngineVersion(EngineVersionT&& value) {
314 m_engineVersionHasBeenSet = true;
315 m_engineVersion = std::forward<EngineVersionT>(value);
316 }
317 template <typename EngineVersionT = Aws::String>
319 SetEngineVersion(std::forward<EngineVersionT>(value));
320 return *this;
321 }
323
325
331 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
332 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
333 template <typename CacheParameterGroupNameT = Aws::String>
334 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) {
335 m_cacheParameterGroupNameHasBeenSet = true;
336 m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value);
337 }
338 template <typename CacheParameterGroupNameT = Aws::String>
339 CreateCacheClusterRequest& WithCacheParameterGroupName(CacheParameterGroupNameT&& value) {
340 SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value));
341 return *this;
342 }
344
346
355 inline const Aws::String& GetCacheSubnetGroupName() const { return m_cacheSubnetGroupName; }
356 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
357 template <typename CacheSubnetGroupNameT = Aws::String>
358 void SetCacheSubnetGroupName(CacheSubnetGroupNameT&& value) {
359 m_cacheSubnetGroupNameHasBeenSet = true;
360 m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value);
361 }
362 template <typename CacheSubnetGroupNameT = Aws::String>
363 CreateCacheClusterRequest& WithCacheSubnetGroupName(CacheSubnetGroupNameT&& value) {
364 SetCacheSubnetGroupName(std::forward<CacheSubnetGroupNameT>(value));
365 return *this;
366 }
368
370
375 inline const Aws::Vector<Aws::String>& GetCacheSecurityGroupNames() const { return m_cacheSecurityGroupNames; }
376 inline bool CacheSecurityGroupNamesHasBeenSet() const { return m_cacheSecurityGroupNamesHasBeenSet; }
377 template <typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
378 void SetCacheSecurityGroupNames(CacheSecurityGroupNamesT&& value) {
379 m_cacheSecurityGroupNamesHasBeenSet = true;
380 m_cacheSecurityGroupNames = std::forward<CacheSecurityGroupNamesT>(value);
381 }
382 template <typename CacheSecurityGroupNamesT = Aws::Vector<Aws::String>>
383 CreateCacheClusterRequest& WithCacheSecurityGroupNames(CacheSecurityGroupNamesT&& value) {
384 SetCacheSecurityGroupNames(std::forward<CacheSecurityGroupNamesT>(value));
385 return *this;
386 }
387 template <typename CacheSecurityGroupNamesT = Aws::String>
388 CreateCacheClusterRequest& AddCacheSecurityGroupNames(CacheSecurityGroupNamesT&& value) {
389 m_cacheSecurityGroupNamesHasBeenSet = true;
390 m_cacheSecurityGroupNames.emplace_back(std::forward<CacheSecurityGroupNamesT>(value));
391 return *this;
392 }
394
396
401 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
402 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
403 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
404 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
405 m_securityGroupIdsHasBeenSet = true;
406 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
407 }
408 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
410 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
411 return *this;
412 }
413 template <typename SecurityGroupIdsT = Aws::String>
414 CreateCacheClusterRequest& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
415 m_securityGroupIdsHasBeenSet = true;
416 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
417 return *this;
418 }
420
422
425 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
426 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
427 template <typename TagsT = Aws::Vector<Tag>>
428 void SetTags(TagsT&& value) {
429 m_tagsHasBeenSet = true;
430 m_tags = std::forward<TagsT>(value);
431 }
432 template <typename TagsT = Aws::Vector<Tag>>
434 SetTags(std::forward<TagsT>(value));
435 return *this;
436 }
437 template <typename TagsT = Tag>
439 m_tagsHasBeenSet = true;
440 m_tags.emplace_back(std::forward<TagsT>(value));
441 return *this;
442 }
444
446
455 inline const Aws::Vector<Aws::String>& GetSnapshotArns() const { return m_snapshotArns; }
456 inline bool SnapshotArnsHasBeenSet() const { return m_snapshotArnsHasBeenSet; }
457 template <typename SnapshotArnsT = Aws::Vector<Aws::String>>
458 void SetSnapshotArns(SnapshotArnsT&& value) {
459 m_snapshotArnsHasBeenSet = true;
460 m_snapshotArns = std::forward<SnapshotArnsT>(value);
461 }
462 template <typename SnapshotArnsT = Aws::Vector<Aws::String>>
464 SetSnapshotArns(std::forward<SnapshotArnsT>(value));
465 return *this;
466 }
467 template <typename SnapshotArnsT = Aws::String>
469 m_snapshotArnsHasBeenSet = true;
470 m_snapshotArns.emplace_back(std::forward<SnapshotArnsT>(value));
471 return *this;
472 }
474
476
483 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
484 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
485 template <typename SnapshotNameT = Aws::String>
486 void SetSnapshotName(SnapshotNameT&& value) {
487 m_snapshotNameHasBeenSet = true;
488 m_snapshotName = std::forward<SnapshotNameT>(value);
489 }
490 template <typename SnapshotNameT = Aws::String>
492 SetSnapshotName(std::forward<SnapshotNameT>(value));
493 return *this;
494 }
496
498
503 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
504 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
505 template <typename PreferredMaintenanceWindowT = Aws::String>
506 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
507 m_preferredMaintenanceWindowHasBeenSet = true;
508 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
509 }
510 template <typename PreferredMaintenanceWindowT = Aws::String>
511 CreateCacheClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
512 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
513 return *this;
514 }
516
518
521 inline int GetPort() const { return m_port; }
522 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
523 inline void SetPort(int value) {
524 m_portHasBeenSet = true;
525 m_port = value;
526 }
528 SetPort(value);
529 return *this;
530 }
532
534
539 inline const Aws::String& GetNotificationTopicArn() const { return m_notificationTopicArn; }
540 inline bool NotificationTopicArnHasBeenSet() const { return m_notificationTopicArnHasBeenSet; }
541 template <typename NotificationTopicArnT = Aws::String>
542 void SetNotificationTopicArn(NotificationTopicArnT&& value) {
543 m_notificationTopicArnHasBeenSet = true;
544 m_notificationTopicArn = std::forward<NotificationTopicArnT>(value);
545 }
546 template <typename NotificationTopicArnT = Aws::String>
547 CreateCacheClusterRequest& WithNotificationTopicArn(NotificationTopicArnT&& value) {
548 SetNotificationTopicArn(std::forward<NotificationTopicArnT>(value));
549 return *this;
550 }
552
554
559 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
560 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
561 inline void SetAutoMinorVersionUpgrade(bool value) {
562 m_autoMinorVersionUpgradeHasBeenSet = true;
563 m_autoMinorVersionUpgrade = value;
564 }
567 return *this;
568 }
570
572
580 inline int GetSnapshotRetentionLimit() const { return m_snapshotRetentionLimit; }
581 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
582 inline void SetSnapshotRetentionLimit(int value) {
583 m_snapshotRetentionLimitHasBeenSet = true;
584 m_snapshotRetentionLimit = value;
585 }
588 return *this;
589 }
591
593
600 inline const Aws::String& GetSnapshotWindow() const { return m_snapshotWindow; }
601 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
602 template <typename SnapshotWindowT = Aws::String>
603 void SetSnapshotWindow(SnapshotWindowT&& value) {
604 m_snapshotWindowHasBeenSet = true;
605 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
606 }
607 template <typename SnapshotWindowT = Aws::String>
609 SetSnapshotWindow(std::forward<SnapshotWindowT>(value));
610 return *this;
611 }
613
615
625 inline const Aws::String& GetAuthToken() const { return m_authToken; }
626 inline bool AuthTokenHasBeenSet() const { return m_authTokenHasBeenSet; }
627 template <typename AuthTokenT = Aws::String>
628 void SetAuthToken(AuthTokenT&& value) {
629 m_authTokenHasBeenSet = true;
630 m_authToken = std::forward<AuthTokenT>(value);
631 }
632 template <typename AuthTokenT = Aws::String>
634 SetAuthToken(std::forward<AuthTokenT>(value));
635 return *this;
636 }
638
640
644 inline OutpostMode GetOutpostMode() const { return m_outpostMode; }
645 inline bool OutpostModeHasBeenSet() const { return m_outpostModeHasBeenSet; }
646 inline void SetOutpostMode(OutpostMode value) {
647 m_outpostModeHasBeenSet = true;
648 m_outpostMode = value;
649 }
651 SetOutpostMode(value);
652 return *this;
653 }
655
657
660 inline const Aws::String& GetPreferredOutpostArn() const { return m_preferredOutpostArn; }
661 inline bool PreferredOutpostArnHasBeenSet() const { return m_preferredOutpostArnHasBeenSet; }
662 template <typename PreferredOutpostArnT = Aws::String>
663 void SetPreferredOutpostArn(PreferredOutpostArnT&& value) {
664 m_preferredOutpostArnHasBeenSet = true;
665 m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value);
666 }
667 template <typename PreferredOutpostArnT = Aws::String>
668 CreateCacheClusterRequest& WithPreferredOutpostArn(PreferredOutpostArnT&& value) {
669 SetPreferredOutpostArn(std::forward<PreferredOutpostArnT>(value));
670 return *this;
671 }
673
675
678 inline const Aws::Vector<Aws::String>& GetPreferredOutpostArns() const { return m_preferredOutpostArns; }
679 inline bool PreferredOutpostArnsHasBeenSet() const { return m_preferredOutpostArnsHasBeenSet; }
680 template <typename PreferredOutpostArnsT = Aws::Vector<Aws::String>>
681 void SetPreferredOutpostArns(PreferredOutpostArnsT&& value) {
682 m_preferredOutpostArnsHasBeenSet = true;
683 m_preferredOutpostArns = std::forward<PreferredOutpostArnsT>(value);
684 }
685 template <typename PreferredOutpostArnsT = Aws::Vector<Aws::String>>
686 CreateCacheClusterRequest& WithPreferredOutpostArns(PreferredOutpostArnsT&& value) {
687 SetPreferredOutpostArns(std::forward<PreferredOutpostArnsT>(value));
688 return *this;
689 }
690 template <typename PreferredOutpostArnsT = Aws::String>
691 CreateCacheClusterRequest& AddPreferredOutpostArns(PreferredOutpostArnsT&& value) {
692 m_preferredOutpostArnsHasBeenSet = true;
693 m_preferredOutpostArns.emplace_back(std::forward<PreferredOutpostArnsT>(value));
694 return *this;
695 }
697
699
702 inline const Aws::Vector<LogDeliveryConfigurationRequest>& GetLogDeliveryConfigurations() const { return m_logDeliveryConfigurations; }
703 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
704 template <typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
705 void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) {
706 m_logDeliveryConfigurationsHasBeenSet = true;
707 m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value);
708 }
709 template <typename LogDeliveryConfigurationsT = Aws::Vector<LogDeliveryConfigurationRequest>>
710 CreateCacheClusterRequest& WithLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) {
711 SetLogDeliveryConfigurations(std::forward<LogDeliveryConfigurationsT>(value));
712 return *this;
713 }
714 template <typename LogDeliveryConfigurationsT = LogDeliveryConfigurationRequest>
715 CreateCacheClusterRequest& AddLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) {
716 m_logDeliveryConfigurationsHasBeenSet = true;
717 m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value));
718 return *this;
719 }
721
723
726 inline bool GetTransitEncryptionEnabled() const { return m_transitEncryptionEnabled; }
727 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
728 inline void SetTransitEncryptionEnabled(bool value) {
729 m_transitEncryptionEnabledHasBeenSet = true;
730 m_transitEncryptionEnabled = value;
731 }
734 return *this;
735 }
737
739
746 inline NetworkType GetNetworkType() const { return m_networkType; }
747 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
748 inline void SetNetworkType(NetworkType value) {
749 m_networkTypeHasBeenSet = true;
750 m_networkType = value;
751 }
753 SetNetworkType(value);
754 return *this;
755 }
757
759
766 inline IpDiscovery GetIpDiscovery() const { return m_ipDiscovery; }
767 inline bool IpDiscoveryHasBeenSet() const { return m_ipDiscoveryHasBeenSet; }
768 inline void SetIpDiscovery(IpDiscovery value) {
769 m_ipDiscoveryHasBeenSet = true;
770 m_ipDiscovery = value;
771 }
773 SetIpDiscovery(value);
774 return *this;
775 }
777 private:
778 Aws::String m_cacheClusterId;
779
780 Aws::String m_replicationGroupId;
781
782 AZMode m_aZMode{AZMode::NOT_SET};
783
784 Aws::String m_preferredAvailabilityZone;
785
786 Aws::Vector<Aws::String> m_preferredAvailabilityZones;
787
788 int m_numCacheNodes{0};
789
790 Aws::String m_cacheNodeType;
791
792 Aws::String m_engine;
793
794 Aws::String m_engineVersion;
795
796 Aws::String m_cacheParameterGroupName;
797
798 Aws::String m_cacheSubnetGroupName;
799
800 Aws::Vector<Aws::String> m_cacheSecurityGroupNames;
801
802 Aws::Vector<Aws::String> m_securityGroupIds;
803
804 Aws::Vector<Tag> m_tags;
805
806 Aws::Vector<Aws::String> m_snapshotArns;
807
808 Aws::String m_snapshotName;
809
810 Aws::String m_preferredMaintenanceWindow;
811
812 int m_port{0};
813
814 Aws::String m_notificationTopicArn;
815
816 bool m_autoMinorVersionUpgrade{false};
817
818 int m_snapshotRetentionLimit{0};
819
820 Aws::String m_snapshotWindow;
821
822 Aws::String m_authToken;
823
824 OutpostMode m_outpostMode{OutpostMode::NOT_SET};
825
826 Aws::String m_preferredOutpostArn;
827
828 Aws::Vector<Aws::String> m_preferredOutpostArns;
829
830 Aws::Vector<LogDeliveryConfigurationRequest> m_logDeliveryConfigurations;
831
832 bool m_transitEncryptionEnabled{false};
833
834 NetworkType m_networkType{NetworkType::NOT_SET};
835
836 IpDiscovery m_ipDiscovery{IpDiscovery::NOT_SET};
837 bool m_cacheClusterIdHasBeenSet = false;
838 bool m_replicationGroupIdHasBeenSet = false;
839 bool m_aZModeHasBeenSet = false;
840 bool m_preferredAvailabilityZoneHasBeenSet = false;
841 bool m_preferredAvailabilityZonesHasBeenSet = false;
842 bool m_numCacheNodesHasBeenSet = false;
843 bool m_cacheNodeTypeHasBeenSet = false;
844 bool m_engineHasBeenSet = false;
845 bool m_engineVersionHasBeenSet = false;
846 bool m_cacheParameterGroupNameHasBeenSet = false;
847 bool m_cacheSubnetGroupNameHasBeenSet = false;
848 bool m_cacheSecurityGroupNamesHasBeenSet = false;
849 bool m_securityGroupIdsHasBeenSet = false;
850 bool m_tagsHasBeenSet = false;
851 bool m_snapshotArnsHasBeenSet = false;
852 bool m_snapshotNameHasBeenSet = false;
853 bool m_preferredMaintenanceWindowHasBeenSet = false;
854 bool m_portHasBeenSet = false;
855 bool m_notificationTopicArnHasBeenSet = false;
856 bool m_autoMinorVersionUpgradeHasBeenSet = false;
857 bool m_snapshotRetentionLimitHasBeenSet = false;
858 bool m_snapshotWindowHasBeenSet = false;
859 bool m_authTokenHasBeenSet = false;
860 bool m_outpostModeHasBeenSet = false;
861 bool m_preferredOutpostArnHasBeenSet = false;
862 bool m_preferredOutpostArnsHasBeenSet = false;
863 bool m_logDeliveryConfigurationsHasBeenSet = false;
864 bool m_transitEncryptionEnabledHasBeenSet = false;
865 bool m_networkTypeHasBeenSet = false;
866 bool m_ipDiscoveryHasBeenSet = false;
867};
868
869} // namespace Model
870} // namespace ElastiCache
871} // 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