AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/NodeSnapshot.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Xml {
21class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache {
25namespace Model {
26
33class Snapshot {
34 public:
35 AWS_ELASTICACHE_API Snapshot() = default;
36 AWS_ELASTICACHE_API Snapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API Snapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
43
47 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
48 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
49 template <typename SnapshotNameT = Aws::String>
50 void SetSnapshotName(SnapshotNameT&& value) {
51 m_snapshotNameHasBeenSet = true;
52 m_snapshotName = std::forward<SnapshotNameT>(value);
53 }
54 template <typename SnapshotNameT = Aws::String>
55 Snapshot& WithSnapshotName(SnapshotNameT&& value) {
56 SetSnapshotName(std::forward<SnapshotNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
66 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
67 template <typename ReplicationGroupIdT = Aws::String>
68 void SetReplicationGroupId(ReplicationGroupIdT&& value) {
69 m_replicationGroupIdHasBeenSet = true;
70 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
71 }
72 template <typename ReplicationGroupIdT = Aws::String>
73 Snapshot& WithReplicationGroupId(ReplicationGroupIdT&& value) {
74 SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetReplicationGroupDescription() const { return m_replicationGroupDescription; }
84 inline bool ReplicationGroupDescriptionHasBeenSet() const { return m_replicationGroupDescriptionHasBeenSet; }
85 template <typename ReplicationGroupDescriptionT = Aws::String>
86 void SetReplicationGroupDescription(ReplicationGroupDescriptionT&& value) {
87 m_replicationGroupDescriptionHasBeenSet = true;
88 m_replicationGroupDescription = std::forward<ReplicationGroupDescriptionT>(value);
89 }
90 template <typename ReplicationGroupDescriptionT = Aws::String>
91 Snapshot& WithReplicationGroupDescription(ReplicationGroupDescriptionT&& value) {
92 SetReplicationGroupDescription(std::forward<ReplicationGroupDescriptionT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
102 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
103 template <typename CacheClusterIdT = Aws::String>
104 void SetCacheClusterId(CacheClusterIdT&& value) {
105 m_cacheClusterIdHasBeenSet = true;
106 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
107 }
108 template <typename CacheClusterIdT = Aws::String>
109 Snapshot& WithCacheClusterId(CacheClusterIdT&& value) {
110 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
111 return *this;
112 }
114
116
121 inline const Aws::String& GetSnapshotStatus() const { return m_snapshotStatus; }
122 inline bool SnapshotStatusHasBeenSet() const { return m_snapshotStatusHasBeenSet; }
123 template <typename SnapshotStatusT = Aws::String>
124 void SetSnapshotStatus(SnapshotStatusT&& value) {
125 m_snapshotStatusHasBeenSet = true;
126 m_snapshotStatus = std::forward<SnapshotStatusT>(value);
127 }
128 template <typename SnapshotStatusT = Aws::String>
129 Snapshot& WithSnapshotStatus(SnapshotStatusT&& value) {
130 SetSnapshotStatus(std::forward<SnapshotStatusT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetSnapshotSource() const { return m_snapshotSource; }
141 inline bool SnapshotSourceHasBeenSet() const { return m_snapshotSourceHasBeenSet; }
142 template <typename SnapshotSourceT = Aws::String>
143 void SetSnapshotSource(SnapshotSourceT&& value) {
144 m_snapshotSourceHasBeenSet = true;
145 m_snapshotSource = std::forward<SnapshotSourceT>(value);
146 }
147 template <typename SnapshotSourceT = Aws::String>
148 Snapshot& WithSnapshotSource(SnapshotSourceT&& value) {
149 SetSnapshotSource(std::forward<SnapshotSourceT>(value));
150 return *this;
151 }
153
155
230 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
231 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
232 template <typename CacheNodeTypeT = Aws::String>
233 void SetCacheNodeType(CacheNodeTypeT&& value) {
234 m_cacheNodeTypeHasBeenSet = true;
235 m_cacheNodeType = std::forward<CacheNodeTypeT>(value);
236 }
237 template <typename CacheNodeTypeT = Aws::String>
238 Snapshot& WithCacheNodeType(CacheNodeTypeT&& value) {
239 SetCacheNodeType(std::forward<CacheNodeTypeT>(value));
240 return *this;
241 }
243
245
249 inline const Aws::String& GetEngine() const { return m_engine; }
250 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
251 template <typename EngineT = Aws::String>
252 void SetEngine(EngineT&& value) {
253 m_engineHasBeenSet = true;
254 m_engine = std::forward<EngineT>(value);
255 }
256 template <typename EngineT = Aws::String>
257 Snapshot& WithEngine(EngineT&& value) {
258 SetEngine(std::forward<EngineT>(value));
259 return *this;
260 }
262
264
268 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
269 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
270 template <typename EngineVersionT = Aws::String>
271 void SetEngineVersion(EngineVersionT&& value) {
272 m_engineVersionHasBeenSet = true;
273 m_engineVersion = std::forward<EngineVersionT>(value);
274 }
275 template <typename EngineVersionT = Aws::String>
276 Snapshot& WithEngineVersion(EngineVersionT&& value) {
277 SetEngineVersion(std::forward<EngineVersionT>(value));
278 return *this;
279 }
281
283
288 inline int GetNumCacheNodes() const { return m_numCacheNodes; }
289 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
290 inline void SetNumCacheNodes(int value) {
291 m_numCacheNodesHasBeenSet = true;
292 m_numCacheNodes = value;
293 }
294 inline Snapshot& WithNumCacheNodes(int value) {
295 SetNumCacheNodes(value);
296 return *this;
297 }
299
301
304 inline const Aws::String& GetPreferredAvailabilityZone() const { return m_preferredAvailabilityZone; }
305 inline bool PreferredAvailabilityZoneHasBeenSet() const { return m_preferredAvailabilityZoneHasBeenSet; }
306 template <typename PreferredAvailabilityZoneT = Aws::String>
307 void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) {
308 m_preferredAvailabilityZoneHasBeenSet = true;
309 m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value);
310 }
311 template <typename PreferredAvailabilityZoneT = Aws::String>
312 Snapshot& WithPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) {
313 SetPreferredAvailabilityZone(std::forward<PreferredAvailabilityZoneT>(value));
314 return *this;
315 }
317
319
322 inline const Aws::String& GetPreferredOutpostArn() const { return m_preferredOutpostArn; }
323 inline bool PreferredOutpostArnHasBeenSet() const { return m_preferredOutpostArnHasBeenSet; }
324 template <typename PreferredOutpostArnT = Aws::String>
325 void SetPreferredOutpostArn(PreferredOutpostArnT&& value) {
326 m_preferredOutpostArnHasBeenSet = true;
327 m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value);
328 }
329 template <typename PreferredOutpostArnT = Aws::String>
330 Snapshot& WithPreferredOutpostArn(PreferredOutpostArnT&& value) {
331 SetPreferredOutpostArn(std::forward<PreferredOutpostArnT>(value));
332 return *this;
333 }
335
337
340 inline const Aws::Utils::DateTime& GetCacheClusterCreateTime() const { return m_cacheClusterCreateTime; }
341 inline bool CacheClusterCreateTimeHasBeenSet() const { return m_cacheClusterCreateTimeHasBeenSet; }
342 template <typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
343 void SetCacheClusterCreateTime(CacheClusterCreateTimeT&& value) {
344 m_cacheClusterCreateTimeHasBeenSet = true;
345 m_cacheClusterCreateTime = std::forward<CacheClusterCreateTimeT>(value);
346 }
347 template <typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
348 Snapshot& WithCacheClusterCreateTime(CacheClusterCreateTimeT&& value) {
349 SetCacheClusterCreateTime(std::forward<CacheClusterCreateTimeT>(value));
350 return *this;
351 }
353
355
365 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
366 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
367 template <typename PreferredMaintenanceWindowT = Aws::String>
368 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
369 m_preferredMaintenanceWindowHasBeenSet = true;
370 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
371 }
372 template <typename PreferredMaintenanceWindowT = Aws::String>
373 Snapshot& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
374 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
375 return *this;
376 }
378
380
384 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
385 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
386 template <typename TopicArnT = Aws::String>
387 void SetTopicArn(TopicArnT&& value) {
388 m_topicArnHasBeenSet = true;
389 m_topicArn = std::forward<TopicArnT>(value);
390 }
391 template <typename TopicArnT = Aws::String>
392 Snapshot& WithTopicArn(TopicArnT&& value) {
393 SetTopicArn(std::forward<TopicArnT>(value));
394 return *this;
395 }
397
399
402 inline int GetPort() const { return m_port; }
403 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
404 inline void SetPort(int value) {
405 m_portHasBeenSet = true;
406 m_port = value;
407 }
408 inline Snapshot& WithPort(int value) {
409 SetPort(value);
410 return *this;
411 }
413
415
418 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
419 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
420 template <typename CacheParameterGroupNameT = Aws::String>
421 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) {
422 m_cacheParameterGroupNameHasBeenSet = true;
423 m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value);
424 }
425 template <typename CacheParameterGroupNameT = Aws::String>
426 Snapshot& WithCacheParameterGroupName(CacheParameterGroupNameT&& value) {
427 SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value));
428 return *this;
429 }
431
433
436 inline const Aws::String& GetCacheSubnetGroupName() const { return m_cacheSubnetGroupName; }
437 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
438 template <typename CacheSubnetGroupNameT = Aws::String>
439 void SetCacheSubnetGroupName(CacheSubnetGroupNameT&& value) {
440 m_cacheSubnetGroupNameHasBeenSet = true;
441 m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value);
442 }
443 template <typename CacheSubnetGroupNameT = Aws::String>
444 Snapshot& WithCacheSubnetGroupName(CacheSubnetGroupNameT&& value) {
445 SetCacheSubnetGroupName(std::forward<CacheSubnetGroupNameT>(value));
446 return *this;
447 }
449
451
455 inline const Aws::String& GetVpcId() const { return m_vpcId; }
456 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
457 template <typename VpcIdT = Aws::String>
458 void SetVpcId(VpcIdT&& value) {
459 m_vpcIdHasBeenSet = true;
460 m_vpcId = std::forward<VpcIdT>(value);
461 }
462 template <typename VpcIdT = Aws::String>
463 Snapshot& WithVpcId(VpcIdT&& value) {
464 SetVpcId(std::forward<VpcIdT>(value));
465 return *this;
466 }
468
470
476 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
477 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
478 inline void SetAutoMinorVersionUpgrade(bool value) {
479 m_autoMinorVersionUpgradeHasBeenSet = true;
480 m_autoMinorVersionUpgrade = value;
481 }
484 return *this;
485 }
487
489
498 inline int GetSnapshotRetentionLimit() const { return m_snapshotRetentionLimit; }
499 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
500 inline void SetSnapshotRetentionLimit(int value) {
501 m_snapshotRetentionLimitHasBeenSet = true;
502 m_snapshotRetentionLimit = value;
503 }
506 return *this;
507 }
509
511
515 inline const Aws::String& GetSnapshotWindow() const { return m_snapshotWindow; }
516 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
517 template <typename SnapshotWindowT = Aws::String>
518 void SetSnapshotWindow(SnapshotWindowT&& value) {
519 m_snapshotWindowHasBeenSet = true;
520 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
521 }
522 template <typename SnapshotWindowT = Aws::String>
523 Snapshot& WithSnapshotWindow(SnapshotWindowT&& value) {
524 SetSnapshotWindow(std::forward<SnapshotWindowT>(value));
525 return *this;
526 }
528
530
535 inline int GetNumNodeGroups() const { return m_numNodeGroups; }
536 inline bool NumNodeGroupsHasBeenSet() const { return m_numNodeGroupsHasBeenSet; }
537 inline void SetNumNodeGroups(int value) {
538 m_numNodeGroupsHasBeenSet = true;
539 m_numNodeGroups = value;
540 }
541 inline Snapshot& WithNumNodeGroups(int value) {
542 SetNumNodeGroups(value);
543 return *this;
544 }
546
548
552 inline AutomaticFailoverStatus GetAutomaticFailover() const { return m_automaticFailover; }
553 inline bool AutomaticFailoverHasBeenSet() const { return m_automaticFailoverHasBeenSet; }
555 m_automaticFailoverHasBeenSet = true;
556 m_automaticFailover = value;
557 }
560 return *this;
561 }
563
565
568 inline const Aws::Vector<NodeSnapshot>& GetNodeSnapshots() const { return m_nodeSnapshots; }
569 inline bool NodeSnapshotsHasBeenSet() const { return m_nodeSnapshotsHasBeenSet; }
570 template <typename NodeSnapshotsT = Aws::Vector<NodeSnapshot>>
571 void SetNodeSnapshots(NodeSnapshotsT&& value) {
572 m_nodeSnapshotsHasBeenSet = true;
573 m_nodeSnapshots = std::forward<NodeSnapshotsT>(value);
574 }
575 template <typename NodeSnapshotsT = Aws::Vector<NodeSnapshot>>
576 Snapshot& WithNodeSnapshots(NodeSnapshotsT&& value) {
577 SetNodeSnapshots(std::forward<NodeSnapshotsT>(value));
578 return *this;
579 }
580 template <typename NodeSnapshotsT = NodeSnapshot>
581 Snapshot& AddNodeSnapshots(NodeSnapshotsT&& value) {
582 m_nodeSnapshotsHasBeenSet = true;
583 m_nodeSnapshots.emplace_back(std::forward<NodeSnapshotsT>(value));
584 return *this;
585 }
587
589
592 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
593 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
594 template <typename KmsKeyIdT = Aws::String>
595 void SetKmsKeyId(KmsKeyIdT&& value) {
596 m_kmsKeyIdHasBeenSet = true;
597 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
598 }
599 template <typename KmsKeyIdT = Aws::String>
600 Snapshot& WithKmsKeyId(KmsKeyIdT&& value) {
601 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
602 return *this;
603 }
605
607
610 inline const Aws::String& GetARN() const { return m_aRN; }
611 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
612 template <typename ARNT = Aws::String>
613 void SetARN(ARNT&& value) {
614 m_aRNHasBeenSet = true;
615 m_aRN = std::forward<ARNT>(value);
616 }
617 template <typename ARNT = Aws::String>
618 Snapshot& WithARN(ARNT&& value) {
619 SetARN(std::forward<ARNT>(value));
620 return *this;
621 }
623
625
632 inline DataTieringStatus GetDataTiering() const { return m_dataTiering; }
633 inline bool DataTieringHasBeenSet() const { return m_dataTieringHasBeenSet; }
635 m_dataTieringHasBeenSet = true;
636 m_dataTiering = value;
637 }
639 SetDataTiering(value);
640 return *this;
641 }
643 private:
644 Aws::String m_snapshotName;
645
646 Aws::String m_replicationGroupId;
647
648 Aws::String m_replicationGroupDescription;
649
650 Aws::String m_cacheClusterId;
651
652 Aws::String m_snapshotStatus;
653
654 Aws::String m_snapshotSource;
655
656 Aws::String m_cacheNodeType;
657
658 Aws::String m_engine;
659
660 Aws::String m_engineVersion;
661
662 int m_numCacheNodes{0};
663
664 Aws::String m_preferredAvailabilityZone;
665
666 Aws::String m_preferredOutpostArn;
667
668 Aws::Utils::DateTime m_cacheClusterCreateTime{};
669
670 Aws::String m_preferredMaintenanceWindow;
671
672 Aws::String m_topicArn;
673
674 int m_port{0};
675
676 Aws::String m_cacheParameterGroupName;
677
678 Aws::String m_cacheSubnetGroupName;
679
680 Aws::String m_vpcId;
681
682 bool m_autoMinorVersionUpgrade{false};
683
684 int m_snapshotRetentionLimit{0};
685
686 Aws::String m_snapshotWindow;
687
688 int m_numNodeGroups{0};
689
691
692 Aws::Vector<NodeSnapshot> m_nodeSnapshots;
693
694 Aws::String m_kmsKeyId;
695
696 Aws::String m_aRN;
697
699 bool m_snapshotNameHasBeenSet = false;
700 bool m_replicationGroupIdHasBeenSet = false;
701 bool m_replicationGroupDescriptionHasBeenSet = false;
702 bool m_cacheClusterIdHasBeenSet = false;
703 bool m_snapshotStatusHasBeenSet = false;
704 bool m_snapshotSourceHasBeenSet = false;
705 bool m_cacheNodeTypeHasBeenSet = false;
706 bool m_engineHasBeenSet = false;
707 bool m_engineVersionHasBeenSet = false;
708 bool m_numCacheNodesHasBeenSet = false;
709 bool m_preferredAvailabilityZoneHasBeenSet = false;
710 bool m_preferredOutpostArnHasBeenSet = false;
711 bool m_cacheClusterCreateTimeHasBeenSet = false;
712 bool m_preferredMaintenanceWindowHasBeenSet = false;
713 bool m_topicArnHasBeenSet = false;
714 bool m_portHasBeenSet = false;
715 bool m_cacheParameterGroupNameHasBeenSet = false;
716 bool m_cacheSubnetGroupNameHasBeenSet = false;
717 bool m_vpcIdHasBeenSet = false;
718 bool m_autoMinorVersionUpgradeHasBeenSet = false;
719 bool m_snapshotRetentionLimitHasBeenSet = false;
720 bool m_snapshotWindowHasBeenSet = false;
721 bool m_numNodeGroupsHasBeenSet = false;
722 bool m_automaticFailoverHasBeenSet = false;
723 bool m_nodeSnapshotsHasBeenSet = false;
724 bool m_kmsKeyIdHasBeenSet = false;
725 bool m_aRNHasBeenSet = false;
726 bool m_dataTieringHasBeenSet = false;
727};
728
729} // namespace Model
730} // namespace ElastiCache
731} // namespace Aws
Snapshot & WithCacheNodeType(CacheNodeTypeT &&value)
Definition Snapshot.h:238
const Aws::String & GetReplicationGroupId() const
Definition Snapshot.h:65
const Aws::String & GetSnapshotSource() const
Definition Snapshot.h:140
Snapshot & WithAutomaticFailover(AutomaticFailoverStatus value)
Definition Snapshot.h:558
const Aws::String & GetCacheParameterGroupName() const
Definition Snapshot.h:418
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:600
Snapshot & WithPort(int value)
Definition Snapshot.h:408
Snapshot & WithCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
Definition Snapshot.h:444
Snapshot & AddNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:581
const Aws::String & GetVpcId() const
Definition Snapshot.h:455
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetReplicationGroupId(ReplicationGroupIdT &&value)
Definition Snapshot.h:68
const Aws::String & GetCacheSubnetGroupName() const
Definition Snapshot.h:436
AWS_ELASTICACHE_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AutoMinorVersionUpgradeHasBeenSet() const
Definition Snapshot.h:477
void SetEngineVersion(EngineVersionT &&value)
Definition Snapshot.h:271
Snapshot & WithSnapshotStatus(SnapshotStatusT &&value)
Definition Snapshot.h:129
bool CacheParameterGroupNameHasBeenSet() const
Definition Snapshot.h:419
const Aws::String & GetReplicationGroupDescription() const
Definition Snapshot.h:83
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:571
Snapshot & WithVpcId(VpcIdT &&value)
Definition Snapshot.h:463
Snapshot & WithNumCacheNodes(int value)
Definition Snapshot.h:294
const Aws::String & GetEngine() const
Definition Snapshot.h:249
Snapshot & WithCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
Definition Snapshot.h:348
bool GetAutoMinorVersionUpgrade() const
Definition Snapshot.h:476
const Aws::String & GetSnapshotWindow() const
Definition Snapshot.h:515
const Aws::String & GetTopicArn() const
Definition Snapshot.h:384
void SetCacheParameterGroupName(CacheParameterGroupNameT &&value)
Definition Snapshot.h:421
const Aws::String & GetCacheClusterId() const
Definition Snapshot.h:101
void SetCacheClusterId(CacheClusterIdT &&value)
Definition Snapshot.h:104
Snapshot & WithPreferredOutpostArn(PreferredOutpostArnT &&value)
Definition Snapshot.h:330
const Aws::String & GetSnapshotStatus() const
Definition Snapshot.h:121
const Aws::String & GetPreferredOutpostArn() const
Definition Snapshot.h:322
void SetDataTiering(DataTieringStatus value)
Definition Snapshot.h:634
void SetReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
Definition Snapshot.h:86
const Aws::String & GetPreferredAvailabilityZone() const
Definition Snapshot.h:304
Snapshot & WithNumNodeGroups(int value)
Definition Snapshot.h:541
AutomaticFailoverStatus GetAutomaticFailover() const
Definition Snapshot.h:552
Snapshot & WithNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:576
Snapshot & WithEngine(EngineT &&value)
Definition Snapshot.h:257
void SetSnapshotWindow(SnapshotWindowT &&value)
Definition Snapshot.h:518
void SetPreferredOutpostArn(PreferredOutpostArnT &&value)
Definition Snapshot.h:325
const Aws::String & GetCacheNodeType() const
Definition Snapshot.h:230
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:595
Snapshot & WithTopicArn(TopicArnT &&value)
Definition Snapshot.h:392
void SetSnapshotRetentionLimit(int value)
Definition Snapshot.h:500
bool PreferredAvailabilityZoneHasBeenSet() const
Definition Snapshot.h:305
bool AutomaticFailoverHasBeenSet() const
Definition Snapshot.h:553
void SetVpcId(VpcIdT &&value)
Definition Snapshot.h:458
bool SnapshotRetentionLimitHasBeenSet() const
Definition Snapshot.h:499
Snapshot & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
Definition Snapshot.h:426
Snapshot & WithSnapshotSource(SnapshotSourceT &&value)
Definition Snapshot.h:148
void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
Definition Snapshot.h:307
void SetCacheNodeType(CacheNodeTypeT &&value)
Definition Snapshot.h:233
bool PreferredOutpostArnHasBeenSet() const
Definition Snapshot.h:323
const Aws::String & GetARN() const
Definition Snapshot.h:610
void SetEngine(EngineT &&value)
Definition Snapshot.h:252
void SetCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
Definition Snapshot.h:343
Snapshot & WithEngineVersion(EngineVersionT &&value)
Definition Snapshot.h:276
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Snapshot.h:368
Snapshot & WithPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
Definition Snapshot.h:312
Snapshot & WithReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
Definition Snapshot.h:91
Snapshot & WithReplicationGroupId(ReplicationGroupIdT &&value)
Definition Snapshot.h:73
Snapshot & WithSnapshotWindow(SnapshotWindowT &&value)
Definition Snapshot.h:523
void SetAutomaticFailover(AutomaticFailoverStatus value)
Definition Snapshot.h:554
AWS_ELASTICACHE_API Snapshot()=default
const Aws::Vector< NodeSnapshot > & GetNodeSnapshots() const
Definition Snapshot.h:568
bool CacheClusterCreateTimeHasBeenSet() const
Definition Snapshot.h:341
bool ReplicationGroupIdHasBeenSet() const
Definition Snapshot.h:66
void SetSnapshotSource(SnapshotSourceT &&value)
Definition Snapshot.h:143
DataTieringStatus GetDataTiering() const
Definition Snapshot.h:632
const Aws::String & GetPreferredMaintenanceWindow() const
Definition Snapshot.h:365
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:592
void SetSnapshotStatus(SnapshotStatusT &&value)
Definition Snapshot.h:124
bool CacheSubnetGroupNameHasBeenSet() const
Definition Snapshot.h:437
Snapshot & WithARN(ARNT &&value)
Definition Snapshot.h:618
Snapshot & WithDataTiering(DataTieringStatus value)
Definition Snapshot.h:638
Snapshot & WithSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:55
bool ReplicationGroupDescriptionHasBeenSet() const
Definition Snapshot.h:84
AWS_ELASTICACHE_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Snapshot & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Snapshot.h:373
Snapshot & WithSnapshotRetentionLimit(int value)
Definition Snapshot.h:504
Snapshot & WithAutoMinorVersionUpgrade(bool value)
Definition Snapshot.h:482
void SetAutoMinorVersionUpgrade(bool value)
Definition Snapshot.h:478
void SetCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
Definition Snapshot.h:439
void SetTopicArn(TopicArnT &&value)
Definition Snapshot.h:387
const Aws::String & GetEngineVersion() const
Definition Snapshot.h:268
Snapshot & WithCacheClusterId(CacheClusterIdT &&value)
Definition Snapshot.h:109
void SetSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:50
const Aws::String & GetSnapshotName() const
Definition Snapshot.h:47
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
Definition Snapshot.h:340
bool PreferredMaintenanceWindowHasBeenSet() const
Definition Snapshot.h:366
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