AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
Snapshot.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/ElastiCache_EXPORTS.h>
12#include <aws/elasticache/model/AutomaticFailoverStatus.h>
13#include <aws/elasticache/model/DataTieringStatus.h>
14#include <aws/elasticache/model/Durability.h>
15#include <aws/elasticache/model/NodeSnapshot.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Xml {
22class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace ElastiCache {
26namespace Model {
27
34class Snapshot {
35 public:
36 AWS_ELASTICACHE_API Snapshot() = default;
37 AWS_ELASTICACHE_API Snapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICACHE_API Snapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
44
48 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
49 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
50 template <typename SnapshotNameT = Aws::String>
51 void SetSnapshotName(SnapshotNameT&& value) {
52 m_snapshotNameHasBeenSet = true;
53 m_snapshotName = std::forward<SnapshotNameT>(value);
54 }
55 template <typename SnapshotNameT = Aws::String>
56 Snapshot& WithSnapshotName(SnapshotNameT&& value) {
57 SetSnapshotName(std::forward<SnapshotNameT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
67 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
68 template <typename ReplicationGroupIdT = Aws::String>
69 void SetReplicationGroupId(ReplicationGroupIdT&& value) {
70 m_replicationGroupIdHasBeenSet = true;
71 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
72 }
73 template <typename ReplicationGroupIdT = Aws::String>
74 Snapshot& WithReplicationGroupId(ReplicationGroupIdT&& value) {
75 SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetReplicationGroupDescription() const { return m_replicationGroupDescription; }
85 inline bool ReplicationGroupDescriptionHasBeenSet() const { return m_replicationGroupDescriptionHasBeenSet; }
86 template <typename ReplicationGroupDescriptionT = Aws::String>
87 void SetReplicationGroupDescription(ReplicationGroupDescriptionT&& value) {
88 m_replicationGroupDescriptionHasBeenSet = true;
89 m_replicationGroupDescription = std::forward<ReplicationGroupDescriptionT>(value);
90 }
91 template <typename ReplicationGroupDescriptionT = Aws::String>
92 Snapshot& WithReplicationGroupDescription(ReplicationGroupDescriptionT&& value) {
93 SetReplicationGroupDescription(std::forward<ReplicationGroupDescriptionT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
103 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
104 template <typename CacheClusterIdT = Aws::String>
105 void SetCacheClusterId(CacheClusterIdT&& value) {
106 m_cacheClusterIdHasBeenSet = true;
107 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
108 }
109 template <typename CacheClusterIdT = Aws::String>
110 Snapshot& WithCacheClusterId(CacheClusterIdT&& value) {
111 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
112 return *this;
113 }
115
117
122 inline const Aws::String& GetSnapshotStatus() const { return m_snapshotStatus; }
123 inline bool SnapshotStatusHasBeenSet() const { return m_snapshotStatusHasBeenSet; }
124 template <typename SnapshotStatusT = Aws::String>
125 void SetSnapshotStatus(SnapshotStatusT&& value) {
126 m_snapshotStatusHasBeenSet = true;
127 m_snapshotStatus = std::forward<SnapshotStatusT>(value);
128 }
129 template <typename SnapshotStatusT = Aws::String>
130 Snapshot& WithSnapshotStatus(SnapshotStatusT&& value) {
131 SetSnapshotStatus(std::forward<SnapshotStatusT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetSnapshotSource() const { return m_snapshotSource; }
142 inline bool SnapshotSourceHasBeenSet() const { return m_snapshotSourceHasBeenSet; }
143 template <typename SnapshotSourceT = Aws::String>
144 void SetSnapshotSource(SnapshotSourceT&& value) {
145 m_snapshotSourceHasBeenSet = true;
146 m_snapshotSource = std::forward<SnapshotSourceT>(value);
147 }
148 template <typename SnapshotSourceT = Aws::String>
149 Snapshot& WithSnapshotSource(SnapshotSourceT&& value) {
150 SetSnapshotSource(std::forward<SnapshotSourceT>(value));
151 return *this;
152 }
154
156
231 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
232 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
233 template <typename CacheNodeTypeT = Aws::String>
234 void SetCacheNodeType(CacheNodeTypeT&& value) {
235 m_cacheNodeTypeHasBeenSet = true;
236 m_cacheNodeType = std::forward<CacheNodeTypeT>(value);
237 }
238 template <typename CacheNodeTypeT = Aws::String>
239 Snapshot& WithCacheNodeType(CacheNodeTypeT&& value) {
240 SetCacheNodeType(std::forward<CacheNodeTypeT>(value));
241 return *this;
242 }
244
246
250 inline const Aws::String& GetEngine() const { return m_engine; }
251 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
252 template <typename EngineT = Aws::String>
253 void SetEngine(EngineT&& value) {
254 m_engineHasBeenSet = true;
255 m_engine = std::forward<EngineT>(value);
256 }
257 template <typename EngineT = Aws::String>
258 Snapshot& WithEngine(EngineT&& value) {
259 SetEngine(std::forward<EngineT>(value));
260 return *this;
261 }
263
265
269 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
270 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
271 template <typename EngineVersionT = Aws::String>
272 void SetEngineVersion(EngineVersionT&& value) {
273 m_engineVersionHasBeenSet = true;
274 m_engineVersion = std::forward<EngineVersionT>(value);
275 }
276 template <typename EngineVersionT = Aws::String>
277 Snapshot& WithEngineVersion(EngineVersionT&& value) {
278 SetEngineVersion(std::forward<EngineVersionT>(value));
279 return *this;
280 }
282
284
289 inline int GetNumCacheNodes() const { return m_numCacheNodes; }
290 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
291 inline void SetNumCacheNodes(int value) {
292 m_numCacheNodesHasBeenSet = true;
293 m_numCacheNodes = value;
294 }
295 inline Snapshot& WithNumCacheNodes(int value) {
296 SetNumCacheNodes(value);
297 return *this;
298 }
300
302
305 inline const Aws::String& GetPreferredAvailabilityZone() const { return m_preferredAvailabilityZone; }
306 inline bool PreferredAvailabilityZoneHasBeenSet() const { return m_preferredAvailabilityZoneHasBeenSet; }
307 template <typename PreferredAvailabilityZoneT = Aws::String>
308 void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) {
309 m_preferredAvailabilityZoneHasBeenSet = true;
310 m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value);
311 }
312 template <typename PreferredAvailabilityZoneT = Aws::String>
313 Snapshot& WithPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) {
314 SetPreferredAvailabilityZone(std::forward<PreferredAvailabilityZoneT>(value));
315 return *this;
316 }
318
320
323 inline const Aws::String& GetPreferredOutpostArn() const { return m_preferredOutpostArn; }
324 inline bool PreferredOutpostArnHasBeenSet() const { return m_preferredOutpostArnHasBeenSet; }
325 template <typename PreferredOutpostArnT = Aws::String>
326 void SetPreferredOutpostArn(PreferredOutpostArnT&& value) {
327 m_preferredOutpostArnHasBeenSet = true;
328 m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value);
329 }
330 template <typename PreferredOutpostArnT = Aws::String>
331 Snapshot& WithPreferredOutpostArn(PreferredOutpostArnT&& value) {
332 SetPreferredOutpostArn(std::forward<PreferredOutpostArnT>(value));
333 return *this;
334 }
336
338
341 inline const Aws::Utils::DateTime& GetCacheClusterCreateTime() const { return m_cacheClusterCreateTime; }
342 inline bool CacheClusterCreateTimeHasBeenSet() const { return m_cacheClusterCreateTimeHasBeenSet; }
343 template <typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
344 void SetCacheClusterCreateTime(CacheClusterCreateTimeT&& value) {
345 m_cacheClusterCreateTimeHasBeenSet = true;
346 m_cacheClusterCreateTime = std::forward<CacheClusterCreateTimeT>(value);
347 }
348 template <typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
349 Snapshot& WithCacheClusterCreateTime(CacheClusterCreateTimeT&& value) {
350 SetCacheClusterCreateTime(std::forward<CacheClusterCreateTimeT>(value));
351 return *this;
352 }
354
356
366 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
367 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
368 template <typename PreferredMaintenanceWindowT = Aws::String>
369 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
370 m_preferredMaintenanceWindowHasBeenSet = true;
371 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
372 }
373 template <typename PreferredMaintenanceWindowT = Aws::String>
374 Snapshot& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
375 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
376 return *this;
377 }
379
381
385 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
386 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
387 template <typename TopicArnT = Aws::String>
388 void SetTopicArn(TopicArnT&& value) {
389 m_topicArnHasBeenSet = true;
390 m_topicArn = std::forward<TopicArnT>(value);
391 }
392 template <typename TopicArnT = Aws::String>
393 Snapshot& WithTopicArn(TopicArnT&& value) {
394 SetTopicArn(std::forward<TopicArnT>(value));
395 return *this;
396 }
398
400
403 inline int GetPort() const { return m_port; }
404 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
405 inline void SetPort(int value) {
406 m_portHasBeenSet = true;
407 m_port = value;
408 }
409 inline Snapshot& WithPort(int value) {
410 SetPort(value);
411 return *this;
412 }
414
416
419 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
420 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
421 template <typename CacheParameterGroupNameT = Aws::String>
422 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) {
423 m_cacheParameterGroupNameHasBeenSet = true;
424 m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value);
425 }
426 template <typename CacheParameterGroupNameT = Aws::String>
427 Snapshot& WithCacheParameterGroupName(CacheParameterGroupNameT&& value) {
428 SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value));
429 return *this;
430 }
432
434
437 inline const Aws::String& GetCacheSubnetGroupName() const { return m_cacheSubnetGroupName; }
438 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
439 template <typename CacheSubnetGroupNameT = Aws::String>
440 void SetCacheSubnetGroupName(CacheSubnetGroupNameT&& value) {
441 m_cacheSubnetGroupNameHasBeenSet = true;
442 m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value);
443 }
444 template <typename CacheSubnetGroupNameT = Aws::String>
445 Snapshot& WithCacheSubnetGroupName(CacheSubnetGroupNameT&& value) {
446 SetCacheSubnetGroupName(std::forward<CacheSubnetGroupNameT>(value));
447 return *this;
448 }
450
452
456 inline const Aws::String& GetVpcId() const { return m_vpcId; }
457 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
458 template <typename VpcIdT = Aws::String>
459 void SetVpcId(VpcIdT&& value) {
460 m_vpcIdHasBeenSet = true;
461 m_vpcId = std::forward<VpcIdT>(value);
462 }
463 template <typename VpcIdT = Aws::String>
464 Snapshot& WithVpcId(VpcIdT&& value) {
465 SetVpcId(std::forward<VpcIdT>(value));
466 return *this;
467 }
469
471
477 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
478 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
479 inline void SetAutoMinorVersionUpgrade(bool value) {
480 m_autoMinorVersionUpgradeHasBeenSet = true;
481 m_autoMinorVersionUpgrade = value;
482 }
485 return *this;
486 }
488
490
499 inline int GetSnapshotRetentionLimit() const { return m_snapshotRetentionLimit; }
500 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
501 inline void SetSnapshotRetentionLimit(int value) {
502 m_snapshotRetentionLimitHasBeenSet = true;
503 m_snapshotRetentionLimit = value;
504 }
507 return *this;
508 }
510
512
516 inline const Aws::String& GetSnapshotWindow() const { return m_snapshotWindow; }
517 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
518 template <typename SnapshotWindowT = Aws::String>
519 void SetSnapshotWindow(SnapshotWindowT&& value) {
520 m_snapshotWindowHasBeenSet = true;
521 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
522 }
523 template <typename SnapshotWindowT = Aws::String>
524 Snapshot& WithSnapshotWindow(SnapshotWindowT&& value) {
525 SetSnapshotWindow(std::forward<SnapshotWindowT>(value));
526 return *this;
527 }
529
531
536 inline int GetNumNodeGroups() const { return m_numNodeGroups; }
537 inline bool NumNodeGroupsHasBeenSet() const { return m_numNodeGroupsHasBeenSet; }
538 inline void SetNumNodeGroups(int value) {
539 m_numNodeGroupsHasBeenSet = true;
540 m_numNodeGroups = value;
541 }
542 inline Snapshot& WithNumNodeGroups(int value) {
543 SetNumNodeGroups(value);
544 return *this;
545 }
547
549
553 inline AutomaticFailoverStatus GetAutomaticFailover() const { return m_automaticFailover; }
554 inline bool AutomaticFailoverHasBeenSet() const { return m_automaticFailoverHasBeenSet; }
556 m_automaticFailoverHasBeenSet = true;
557 m_automaticFailover = value;
558 }
561 return *this;
562 }
564
566
569 inline const Aws::Vector<NodeSnapshot>& GetNodeSnapshots() const { return m_nodeSnapshots; }
570 inline bool NodeSnapshotsHasBeenSet() const { return m_nodeSnapshotsHasBeenSet; }
571 template <typename NodeSnapshotsT = Aws::Vector<NodeSnapshot>>
572 void SetNodeSnapshots(NodeSnapshotsT&& value) {
573 m_nodeSnapshotsHasBeenSet = true;
574 m_nodeSnapshots = std::forward<NodeSnapshotsT>(value);
575 }
576 template <typename NodeSnapshotsT = Aws::Vector<NodeSnapshot>>
577 Snapshot& WithNodeSnapshots(NodeSnapshotsT&& value) {
578 SetNodeSnapshots(std::forward<NodeSnapshotsT>(value));
579 return *this;
580 }
581 template <typename NodeSnapshotsT = NodeSnapshot>
582 Snapshot& AddNodeSnapshots(NodeSnapshotsT&& value) {
583 m_nodeSnapshotsHasBeenSet = true;
584 m_nodeSnapshots.emplace_back(std::forward<NodeSnapshotsT>(value));
585 return *this;
586 }
588
590
593 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
594 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
595 template <typename KmsKeyIdT = Aws::String>
596 void SetKmsKeyId(KmsKeyIdT&& value) {
597 m_kmsKeyIdHasBeenSet = true;
598 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
599 }
600 template <typename KmsKeyIdT = Aws::String>
601 Snapshot& WithKmsKeyId(KmsKeyIdT&& value) {
602 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
603 return *this;
604 }
606
608
611 inline const Aws::String& GetARN() const { return m_aRN; }
612 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
613 template <typename ARNT = Aws::String>
614 void SetARN(ARNT&& value) {
615 m_aRNHasBeenSet = true;
616 m_aRN = std::forward<ARNT>(value);
617 }
618 template <typename ARNT = Aws::String>
619 Snapshot& WithARN(ARNT&& value) {
620 SetARN(std::forward<ARNT>(value));
621 return *this;
622 }
624
626
633 inline DataTieringStatus GetDataTiering() const { return m_dataTiering; }
634 inline bool DataTieringHasBeenSet() const { return m_dataTieringHasBeenSet; }
636 m_dataTieringHasBeenSet = true;
637 m_dataTiering = value;
638 }
640 SetDataTiering(value);
641 return *this;
642 }
644
646
652 inline Durability GetDurability() const { return m_durability; }
653 inline bool DurabilityHasBeenSet() const { return m_durabilityHasBeenSet; }
654 inline void SetDurability(Durability value) {
655 m_durabilityHasBeenSet = true;
656 m_durability = value;
657 }
659 SetDurability(value);
660 return *this;
661 }
663 private:
664 Aws::String m_snapshotName;
665
666 Aws::String m_replicationGroupId;
667
668 Aws::String m_replicationGroupDescription;
669
670 Aws::String m_cacheClusterId;
671
672 Aws::String m_snapshotStatus;
673
674 Aws::String m_snapshotSource;
675
676 Aws::String m_cacheNodeType;
677
678 Aws::String m_engine;
679
680 Aws::String m_engineVersion;
681
682 int m_numCacheNodes{0};
683
684 Aws::String m_preferredAvailabilityZone;
685
686 Aws::String m_preferredOutpostArn;
687
688 Aws::Utils::DateTime m_cacheClusterCreateTime{};
689
690 Aws::String m_preferredMaintenanceWindow;
691
692 Aws::String m_topicArn;
693
694 int m_port{0};
695
696 Aws::String m_cacheParameterGroupName;
697
698 Aws::String m_cacheSubnetGroupName;
699
700 Aws::String m_vpcId;
701
702 bool m_autoMinorVersionUpgrade{false};
703
704 int m_snapshotRetentionLimit{0};
705
706 Aws::String m_snapshotWindow;
707
708 int m_numNodeGroups{0};
709
711
712 Aws::Vector<NodeSnapshot> m_nodeSnapshots;
713
714 Aws::String m_kmsKeyId;
715
716 Aws::String m_aRN;
717
719
720 Durability m_durability{Durability::NOT_SET};
721 bool m_snapshotNameHasBeenSet = false;
722 bool m_replicationGroupIdHasBeenSet = false;
723 bool m_replicationGroupDescriptionHasBeenSet = false;
724 bool m_cacheClusterIdHasBeenSet = false;
725 bool m_snapshotStatusHasBeenSet = false;
726 bool m_snapshotSourceHasBeenSet = false;
727 bool m_cacheNodeTypeHasBeenSet = false;
728 bool m_engineHasBeenSet = false;
729 bool m_engineVersionHasBeenSet = false;
730 bool m_numCacheNodesHasBeenSet = false;
731 bool m_preferredAvailabilityZoneHasBeenSet = false;
732 bool m_preferredOutpostArnHasBeenSet = false;
733 bool m_cacheClusterCreateTimeHasBeenSet = false;
734 bool m_preferredMaintenanceWindowHasBeenSet = false;
735 bool m_topicArnHasBeenSet = false;
736 bool m_portHasBeenSet = false;
737 bool m_cacheParameterGroupNameHasBeenSet = false;
738 bool m_cacheSubnetGroupNameHasBeenSet = false;
739 bool m_vpcIdHasBeenSet = false;
740 bool m_autoMinorVersionUpgradeHasBeenSet = false;
741 bool m_snapshotRetentionLimitHasBeenSet = false;
742 bool m_snapshotWindowHasBeenSet = false;
743 bool m_numNodeGroupsHasBeenSet = false;
744 bool m_automaticFailoverHasBeenSet = false;
745 bool m_nodeSnapshotsHasBeenSet = false;
746 bool m_kmsKeyIdHasBeenSet = false;
747 bool m_aRNHasBeenSet = false;
748 bool m_dataTieringHasBeenSet = false;
749 bool m_durabilityHasBeenSet = false;
750};
751
752} // namespace Model
753} // namespace ElastiCache
754} // namespace Aws
Snapshot & WithCacheNodeType(CacheNodeTypeT &&value)
Definition Snapshot.h:239
const Aws::String & GetReplicationGroupId() const
Definition Snapshot.h:66
const Aws::String & GetSnapshotSource() const
Definition Snapshot.h:141
Snapshot & WithAutomaticFailover(AutomaticFailoverStatus value)
Definition Snapshot.h:559
const Aws::String & GetCacheParameterGroupName() const
Definition Snapshot.h:419
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:601
Snapshot & WithPort(int value)
Definition Snapshot.h:409
Snapshot & WithCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
Definition Snapshot.h:445
Snapshot & AddNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:582
const Aws::String & GetVpcId() const
Definition Snapshot.h:456
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetReplicationGroupId(ReplicationGroupIdT &&value)
Definition Snapshot.h:69
const Aws::String & GetCacheSubnetGroupName() const
Definition Snapshot.h:437
AWS_ELASTICACHE_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AutoMinorVersionUpgradeHasBeenSet() const
Definition Snapshot.h:478
void SetEngineVersion(EngineVersionT &&value)
Definition Snapshot.h:272
Snapshot & WithSnapshotStatus(SnapshotStatusT &&value)
Definition Snapshot.h:130
bool CacheParameterGroupNameHasBeenSet() const
Definition Snapshot.h:420
const Aws::String & GetReplicationGroupDescription() const
Definition Snapshot.h:84
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:572
Snapshot & WithVpcId(VpcIdT &&value)
Definition Snapshot.h:464
Snapshot & WithNumCacheNodes(int value)
Definition Snapshot.h:295
const Aws::String & GetEngine() const
Definition Snapshot.h:250
Snapshot & WithCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
Definition Snapshot.h:349
bool GetAutoMinorVersionUpgrade() const
Definition Snapshot.h:477
const Aws::String & GetSnapshotWindow() const
Definition Snapshot.h:516
const Aws::String & GetTopicArn() const
Definition Snapshot.h:385
void SetCacheParameterGroupName(CacheParameterGroupNameT &&value)
Definition Snapshot.h:422
const Aws::String & GetCacheClusterId() const
Definition Snapshot.h:102
Snapshot & WithDurability(Durability value)
Definition Snapshot.h:658
void SetCacheClusterId(CacheClusterIdT &&value)
Definition Snapshot.h:105
Snapshot & WithPreferredOutpostArn(PreferredOutpostArnT &&value)
Definition Snapshot.h:331
const Aws::String & GetSnapshotStatus() const
Definition Snapshot.h:122
const Aws::String & GetPreferredOutpostArn() const
Definition Snapshot.h:323
void SetDataTiering(DataTieringStatus value)
Definition Snapshot.h:635
void SetReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
Definition Snapshot.h:87
const Aws::String & GetPreferredAvailabilityZone() const
Definition Snapshot.h:305
Snapshot & WithNumNodeGroups(int value)
Definition Snapshot.h:542
AutomaticFailoverStatus GetAutomaticFailover() const
Definition Snapshot.h:553
Snapshot & WithNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:577
Snapshot & WithEngine(EngineT &&value)
Definition Snapshot.h:258
void SetSnapshotWindow(SnapshotWindowT &&value)
Definition Snapshot.h:519
void SetPreferredOutpostArn(PreferredOutpostArnT &&value)
Definition Snapshot.h:326
const Aws::String & GetCacheNodeType() const
Definition Snapshot.h:231
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:596
Snapshot & WithTopicArn(TopicArnT &&value)
Definition Snapshot.h:393
void SetSnapshotRetentionLimit(int value)
Definition Snapshot.h:501
bool PreferredAvailabilityZoneHasBeenSet() const
Definition Snapshot.h:306
bool AutomaticFailoverHasBeenSet() const
Definition Snapshot.h:554
void SetVpcId(VpcIdT &&value)
Definition Snapshot.h:459
bool SnapshotRetentionLimitHasBeenSet() const
Definition Snapshot.h:500
Snapshot & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
Definition Snapshot.h:427
Snapshot & WithSnapshotSource(SnapshotSourceT &&value)
Definition Snapshot.h:149
void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
Definition Snapshot.h:308
void SetCacheNodeType(CacheNodeTypeT &&value)
Definition Snapshot.h:234
bool PreferredOutpostArnHasBeenSet() const
Definition Snapshot.h:324
const Aws::String & GetARN() const
Definition Snapshot.h:611
void SetEngine(EngineT &&value)
Definition Snapshot.h:253
void SetCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
Definition Snapshot.h:344
Snapshot & WithEngineVersion(EngineVersionT &&value)
Definition Snapshot.h:277
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Snapshot.h:369
Snapshot & WithPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
Definition Snapshot.h:313
Snapshot & WithReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
Definition Snapshot.h:92
Snapshot & WithReplicationGroupId(ReplicationGroupIdT &&value)
Definition Snapshot.h:74
Snapshot & WithSnapshotWindow(SnapshotWindowT &&value)
Definition Snapshot.h:524
void SetAutomaticFailover(AutomaticFailoverStatus value)
Definition Snapshot.h:555
AWS_ELASTICACHE_API Snapshot()=default
const Aws::Vector< NodeSnapshot > & GetNodeSnapshots() const
Definition Snapshot.h:569
Durability GetDurability() const
Definition Snapshot.h:652
bool CacheClusterCreateTimeHasBeenSet() const
Definition Snapshot.h:342
bool ReplicationGroupIdHasBeenSet() const
Definition Snapshot.h:67
void SetSnapshotSource(SnapshotSourceT &&value)
Definition Snapshot.h:144
DataTieringStatus GetDataTiering() const
Definition Snapshot.h:633
const Aws::String & GetPreferredMaintenanceWindow() const
Definition Snapshot.h:366
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:593
void SetDurability(Durability value)
Definition Snapshot.h:654
void SetSnapshotStatus(SnapshotStatusT &&value)
Definition Snapshot.h:125
bool CacheSubnetGroupNameHasBeenSet() const
Definition Snapshot.h:438
Snapshot & WithARN(ARNT &&value)
Definition Snapshot.h:619
Snapshot & WithDataTiering(DataTieringStatus value)
Definition Snapshot.h:639
Snapshot & WithSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:56
bool ReplicationGroupDescriptionHasBeenSet() const
Definition Snapshot.h:85
AWS_ELASTICACHE_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Snapshot & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Snapshot.h:374
Snapshot & WithSnapshotRetentionLimit(int value)
Definition Snapshot.h:505
Snapshot & WithAutoMinorVersionUpgrade(bool value)
Definition Snapshot.h:483
void SetAutoMinorVersionUpgrade(bool value)
Definition Snapshot.h:479
void SetCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
Definition Snapshot.h:440
void SetTopicArn(TopicArnT &&value)
Definition Snapshot.h:388
const Aws::String & GetEngineVersion() const
Definition Snapshot.h:269
Snapshot & WithCacheClusterId(CacheClusterIdT &&value)
Definition Snapshot.h:110
void SetSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:51
const Aws::String & GetSnapshotName() const
Definition Snapshot.h:48
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
Definition Snapshot.h:341
bool PreferredMaintenanceWindowHasBeenSet() const
Definition Snapshot.h:367
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