AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Snapshot.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticache/model/AutomaticFailoverStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticache/model/DataTieringStatus.h>
14#include <aws/elasticache/model/NodeSnapshot.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace ElastiCache
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_ELASTICACHE_API Snapshot() = default;
41 AWS_ELASTICACHE_API Snapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_ELASTICACHE_API Snapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
53 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
54 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
55 template<typename SnapshotNameT = Aws::String>
56 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::forward<SnapshotNameT>(value); }
57 template<typename SnapshotNameT = Aws::String>
58 Snapshot& WithSnapshotName(SnapshotNameT&& value) { SetSnapshotName(std::forward<SnapshotNameT>(value)); return *this;}
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) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::forward<ReplicationGroupIdT>(value); }
69 template<typename ReplicationGroupIdT = Aws::String>
70 Snapshot& WithReplicationGroupId(ReplicationGroupIdT&& value) { SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetReplicationGroupDescription() const { return m_replicationGroupDescription; }
78 inline bool ReplicationGroupDescriptionHasBeenSet() const { return m_replicationGroupDescriptionHasBeenSet; }
79 template<typename ReplicationGroupDescriptionT = Aws::String>
80 void SetReplicationGroupDescription(ReplicationGroupDescriptionT&& value) { m_replicationGroupDescriptionHasBeenSet = true; m_replicationGroupDescription = std::forward<ReplicationGroupDescriptionT>(value); }
81 template<typename ReplicationGroupDescriptionT = Aws::String>
82 Snapshot& WithReplicationGroupDescription(ReplicationGroupDescriptionT&& value) { SetReplicationGroupDescription(std::forward<ReplicationGroupDescriptionT>(value)); return *this;}
84
86
89 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
90 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
91 template<typename CacheClusterIdT = Aws::String>
92 void SetCacheClusterId(CacheClusterIdT&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
93 template<typename CacheClusterIdT = Aws::String>
94 Snapshot& WithCacheClusterId(CacheClusterIdT&& value) { SetCacheClusterId(std::forward<CacheClusterIdT>(value)); return *this;}
96
98
103 inline const Aws::String& GetSnapshotStatus() const { return m_snapshotStatus; }
104 inline bool SnapshotStatusHasBeenSet() const { return m_snapshotStatusHasBeenSet; }
105 template<typename SnapshotStatusT = Aws::String>
106 void SetSnapshotStatus(SnapshotStatusT&& value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus = std::forward<SnapshotStatusT>(value); }
107 template<typename SnapshotStatusT = Aws::String>
108 Snapshot& WithSnapshotStatus(SnapshotStatusT&& value) { SetSnapshotStatus(std::forward<SnapshotStatusT>(value)); return *this;}
110
112
116 inline const Aws::String& GetSnapshotSource() const { return m_snapshotSource; }
117 inline bool SnapshotSourceHasBeenSet() const { return m_snapshotSourceHasBeenSet; }
118 template<typename SnapshotSourceT = Aws::String>
119 void SetSnapshotSource(SnapshotSourceT&& value) { m_snapshotSourceHasBeenSet = true; m_snapshotSource = std::forward<SnapshotSourceT>(value); }
120 template<typename SnapshotSourceT = Aws::String>
121 Snapshot& WithSnapshotSource(SnapshotSourceT&& value) { SetSnapshotSource(std::forward<SnapshotSourceT>(value)); return *this;}
123
125
200 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
201 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
202 template<typename CacheNodeTypeT = Aws::String>
203 void SetCacheNodeType(CacheNodeTypeT&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::forward<CacheNodeTypeT>(value); }
204 template<typename CacheNodeTypeT = Aws::String>
205 Snapshot& WithCacheNodeType(CacheNodeTypeT&& value) { SetCacheNodeType(std::forward<CacheNodeTypeT>(value)); return *this;}
207
209
213 inline const Aws::String& GetEngine() const { return m_engine; }
214 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
215 template<typename EngineT = Aws::String>
216 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
217 template<typename EngineT = Aws::String>
218 Snapshot& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
220
222
226 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
227 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
228 template<typename EngineVersionT = Aws::String>
229 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
230 template<typename EngineVersionT = Aws::String>
231 Snapshot& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
233
235
240 inline int GetNumCacheNodes() const { return m_numCacheNodes; }
241 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
242 inline void SetNumCacheNodes(int value) { m_numCacheNodesHasBeenSet = true; m_numCacheNodes = value; }
243 inline Snapshot& WithNumCacheNodes(int value) { SetNumCacheNodes(value); return *this;}
245
247
250 inline const Aws::String& GetPreferredAvailabilityZone() const { return m_preferredAvailabilityZone; }
251 inline bool PreferredAvailabilityZoneHasBeenSet() const { return m_preferredAvailabilityZoneHasBeenSet; }
252 template<typename PreferredAvailabilityZoneT = Aws::String>
253 void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = std::forward<PreferredAvailabilityZoneT>(value); }
254 template<typename PreferredAvailabilityZoneT = Aws::String>
255 Snapshot& WithPreferredAvailabilityZone(PreferredAvailabilityZoneT&& value) { SetPreferredAvailabilityZone(std::forward<PreferredAvailabilityZoneT>(value)); return *this;}
257
259
262 inline const Aws::String& GetPreferredOutpostArn() const { return m_preferredOutpostArn; }
263 inline bool PreferredOutpostArnHasBeenSet() const { return m_preferredOutpostArnHasBeenSet; }
264 template<typename PreferredOutpostArnT = Aws::String>
265 void SetPreferredOutpostArn(PreferredOutpostArnT&& value) { m_preferredOutpostArnHasBeenSet = true; m_preferredOutpostArn = std::forward<PreferredOutpostArnT>(value); }
266 template<typename PreferredOutpostArnT = Aws::String>
267 Snapshot& WithPreferredOutpostArn(PreferredOutpostArnT&& value) { SetPreferredOutpostArn(std::forward<PreferredOutpostArnT>(value)); return *this;}
269
271
274 inline const Aws::Utils::DateTime& GetCacheClusterCreateTime() const { return m_cacheClusterCreateTime; }
275 inline bool CacheClusterCreateTimeHasBeenSet() const { return m_cacheClusterCreateTimeHasBeenSet; }
276 template<typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
277 void SetCacheClusterCreateTime(CacheClusterCreateTimeT&& value) { m_cacheClusterCreateTimeHasBeenSet = true; m_cacheClusterCreateTime = std::forward<CacheClusterCreateTimeT>(value); }
278 template<typename CacheClusterCreateTimeT = Aws::Utils::DateTime>
279 Snapshot& WithCacheClusterCreateTime(CacheClusterCreateTimeT&& value) { SetCacheClusterCreateTime(std::forward<CacheClusterCreateTimeT>(value)); return *this;}
281
283
293 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
294 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
295 template<typename PreferredMaintenanceWindowT = Aws::String>
296 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
297 template<typename PreferredMaintenanceWindowT = Aws::String>
298 Snapshot& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
300
302
306 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
307 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
308 template<typename TopicArnT = Aws::String>
309 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::forward<TopicArnT>(value); }
310 template<typename TopicArnT = Aws::String>
311 Snapshot& WithTopicArn(TopicArnT&& value) { SetTopicArn(std::forward<TopicArnT>(value)); return *this;}
313
315
318 inline int GetPort() const { return m_port; }
319 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
320 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
321 inline Snapshot& WithPort(int value) { SetPort(value); return *this;}
323
325
328 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
329 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
330 template<typename CacheParameterGroupNameT = Aws::String>
331 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value); }
332 template<typename CacheParameterGroupNameT = Aws::String>
333 Snapshot& WithCacheParameterGroupName(CacheParameterGroupNameT&& value) { SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value)); return *this;}
335
337
340 inline const Aws::String& GetCacheSubnetGroupName() const { return m_cacheSubnetGroupName; }
341 inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; }
342 template<typename CacheSubnetGroupNameT = Aws::String>
343 void SetCacheSubnetGroupName(CacheSubnetGroupNameT&& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value); }
344 template<typename CacheSubnetGroupNameT = Aws::String>
345 Snapshot& WithCacheSubnetGroupName(CacheSubnetGroupNameT&& value) { SetCacheSubnetGroupName(std::forward<CacheSubnetGroupNameT>(value)); return *this;}
347
349
353 inline const Aws::String& GetVpcId() const { return m_vpcId; }
354 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
355 template<typename VpcIdT = Aws::String>
356 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
357 template<typename VpcIdT = Aws::String>
358 Snapshot& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
360
362
368 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
369 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
370 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
371 inline Snapshot& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;}
373
375
384 inline int GetSnapshotRetentionLimit() const { return m_snapshotRetentionLimit; }
385 inline bool SnapshotRetentionLimitHasBeenSet() const { return m_snapshotRetentionLimitHasBeenSet; }
386 inline void SetSnapshotRetentionLimit(int value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
387 inline Snapshot& WithSnapshotRetentionLimit(int value) { SetSnapshotRetentionLimit(value); return *this;}
389
391
395 inline const Aws::String& GetSnapshotWindow() const { return m_snapshotWindow; }
396 inline bool SnapshotWindowHasBeenSet() const { return m_snapshotWindowHasBeenSet; }
397 template<typename SnapshotWindowT = Aws::String>
398 void SetSnapshotWindow(SnapshotWindowT&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = std::forward<SnapshotWindowT>(value); }
399 template<typename SnapshotWindowT = Aws::String>
400 Snapshot& WithSnapshotWindow(SnapshotWindowT&& value) { SetSnapshotWindow(std::forward<SnapshotWindowT>(value)); return *this;}
402
404
409 inline int GetNumNodeGroups() const { return m_numNodeGroups; }
410 inline bool NumNodeGroupsHasBeenSet() const { return m_numNodeGroupsHasBeenSet; }
411 inline void SetNumNodeGroups(int value) { m_numNodeGroupsHasBeenSet = true; m_numNodeGroups = value; }
412 inline Snapshot& WithNumNodeGroups(int value) { SetNumNodeGroups(value); return *this;}
414
416
420 inline AutomaticFailoverStatus GetAutomaticFailover() const { return m_automaticFailover; }
421 inline bool AutomaticFailoverHasBeenSet() const { return m_automaticFailoverHasBeenSet; }
422 inline void SetAutomaticFailover(AutomaticFailoverStatus value) { m_automaticFailoverHasBeenSet = true; m_automaticFailover = value; }
425
427
430 inline const Aws::Vector<NodeSnapshot>& GetNodeSnapshots() const { return m_nodeSnapshots; }
431 inline bool NodeSnapshotsHasBeenSet() const { return m_nodeSnapshotsHasBeenSet; }
432 template<typename NodeSnapshotsT = Aws::Vector<NodeSnapshot>>
433 void SetNodeSnapshots(NodeSnapshotsT&& value) { m_nodeSnapshotsHasBeenSet = true; m_nodeSnapshots = std::forward<NodeSnapshotsT>(value); }
434 template<typename NodeSnapshotsT = Aws::Vector<NodeSnapshot>>
435 Snapshot& WithNodeSnapshots(NodeSnapshotsT&& value) { SetNodeSnapshots(std::forward<NodeSnapshotsT>(value)); return *this;}
436 template<typename NodeSnapshotsT = NodeSnapshot>
437 Snapshot& AddNodeSnapshots(NodeSnapshotsT&& value) { m_nodeSnapshotsHasBeenSet = true; m_nodeSnapshots.emplace_back(std::forward<NodeSnapshotsT>(value)); return *this; }
439
441
444 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
445 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
446 template<typename KmsKeyIdT = Aws::String>
447 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
448 template<typename KmsKeyIdT = Aws::String>
449 Snapshot& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
451
453
456 inline const Aws::String& GetARN() const { return m_aRN; }
457 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
458 template<typename ARNT = Aws::String>
459 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
460 template<typename ARNT = Aws::String>
461 Snapshot& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
463
465
472 inline DataTieringStatus GetDataTiering() const { return m_dataTiering; }
473 inline bool DataTieringHasBeenSet() const { return m_dataTieringHasBeenSet; }
474 inline void SetDataTiering(DataTieringStatus value) { m_dataTieringHasBeenSet = true; m_dataTiering = value; }
475 inline Snapshot& WithDataTiering(DataTieringStatus value) { SetDataTiering(value); return *this;}
477 private:
478
479 Aws::String m_snapshotName;
480 bool m_snapshotNameHasBeenSet = false;
481
482 Aws::String m_replicationGroupId;
483 bool m_replicationGroupIdHasBeenSet = false;
484
485 Aws::String m_replicationGroupDescription;
486 bool m_replicationGroupDescriptionHasBeenSet = false;
487
488 Aws::String m_cacheClusterId;
489 bool m_cacheClusterIdHasBeenSet = false;
490
491 Aws::String m_snapshotStatus;
492 bool m_snapshotStatusHasBeenSet = false;
493
494 Aws::String m_snapshotSource;
495 bool m_snapshotSourceHasBeenSet = false;
496
497 Aws::String m_cacheNodeType;
498 bool m_cacheNodeTypeHasBeenSet = false;
499
500 Aws::String m_engine;
501 bool m_engineHasBeenSet = false;
502
503 Aws::String m_engineVersion;
504 bool m_engineVersionHasBeenSet = false;
505
506 int m_numCacheNodes{0};
507 bool m_numCacheNodesHasBeenSet = false;
508
509 Aws::String m_preferredAvailabilityZone;
510 bool m_preferredAvailabilityZoneHasBeenSet = false;
511
512 Aws::String m_preferredOutpostArn;
513 bool m_preferredOutpostArnHasBeenSet = false;
514
515 Aws::Utils::DateTime m_cacheClusterCreateTime{};
516 bool m_cacheClusterCreateTimeHasBeenSet = false;
517
518 Aws::String m_preferredMaintenanceWindow;
519 bool m_preferredMaintenanceWindowHasBeenSet = false;
520
521 Aws::String m_topicArn;
522 bool m_topicArnHasBeenSet = false;
523
524 int m_port{0};
525 bool m_portHasBeenSet = false;
526
527 Aws::String m_cacheParameterGroupName;
528 bool m_cacheParameterGroupNameHasBeenSet = false;
529
530 Aws::String m_cacheSubnetGroupName;
531 bool m_cacheSubnetGroupNameHasBeenSet = false;
532
533 Aws::String m_vpcId;
534 bool m_vpcIdHasBeenSet = false;
535
536 bool m_autoMinorVersionUpgrade{false};
537 bool m_autoMinorVersionUpgradeHasBeenSet = false;
538
539 int m_snapshotRetentionLimit{0};
540 bool m_snapshotRetentionLimitHasBeenSet = false;
541
542 Aws::String m_snapshotWindow;
543 bool m_snapshotWindowHasBeenSet = false;
544
545 int m_numNodeGroups{0};
546 bool m_numNodeGroupsHasBeenSet = false;
547
549 bool m_automaticFailoverHasBeenSet = false;
550
551 Aws::Vector<NodeSnapshot> m_nodeSnapshots;
552 bool m_nodeSnapshotsHasBeenSet = false;
553
554 Aws::String m_kmsKeyId;
555 bool m_kmsKeyIdHasBeenSet = false;
556
557 Aws::String m_aRN;
558 bool m_aRNHasBeenSet = false;
559
561 bool m_dataTieringHasBeenSet = false;
562 };
563
564} // namespace Model
565} // namespace ElastiCache
566} // namespace Aws
Snapshot & WithCacheNodeType(CacheNodeTypeT &&value)
Definition Snapshot.h:205
const Aws::String & GetReplicationGroupId() const
Definition Snapshot.h:65
const Aws::String & GetSnapshotSource() const
Definition Snapshot.h:116
Snapshot & WithAutomaticFailover(AutomaticFailoverStatus value)
Definition Snapshot.h:423
const Aws::String & GetCacheParameterGroupName() const
Definition Snapshot.h:328
Snapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:449
Snapshot & WithPort(int value)
Definition Snapshot.h:321
Snapshot & WithCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
Definition Snapshot.h:345
Snapshot & AddNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:437
const Aws::String & GetVpcId() const
Definition Snapshot.h:353
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:340
AWS_ELASTICACHE_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AutoMinorVersionUpgradeHasBeenSet() const
Definition Snapshot.h:369
void SetEngineVersion(EngineVersionT &&value)
Definition Snapshot.h:229
Snapshot & WithSnapshotStatus(SnapshotStatusT &&value)
Definition Snapshot.h:108
bool CacheClusterIdHasBeenSet() const
Definition Snapshot.h:90
bool CacheParameterGroupNameHasBeenSet() const
Definition Snapshot.h:329
const Aws::String & GetReplicationGroupDescription() const
Definition Snapshot.h:77
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:433
Snapshot & WithVpcId(VpcIdT &&value)
Definition Snapshot.h:358
Snapshot & WithNumCacheNodes(int value)
Definition Snapshot.h:243
const Aws::String & GetEngine() const
Definition Snapshot.h:213
Snapshot & WithCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
Definition Snapshot.h:279
bool GetAutoMinorVersionUpgrade() const
Definition Snapshot.h:368
const Aws::String & GetSnapshotWindow() const
Definition Snapshot.h:395
const Aws::String & GetTopicArn() const
Definition Snapshot.h:306
void SetCacheParameterGroupName(CacheParameterGroupNameT &&value)
Definition Snapshot.h:331
const Aws::String & GetCacheClusterId() const
Definition Snapshot.h:89
void SetCacheClusterId(CacheClusterIdT &&value)
Definition Snapshot.h:92
Snapshot & WithPreferredOutpostArn(PreferredOutpostArnT &&value)
Definition Snapshot.h:267
const Aws::String & GetSnapshotStatus() const
Definition Snapshot.h:103
const Aws::String & GetPreferredOutpostArn() const
Definition Snapshot.h:262
void SetDataTiering(DataTieringStatus value)
Definition Snapshot.h:474
void SetReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
Definition Snapshot.h:80
const Aws::String & GetPreferredAvailabilityZone() const
Definition Snapshot.h:250
Snapshot & WithNumNodeGroups(int value)
Definition Snapshot.h:412
AutomaticFailoverStatus GetAutomaticFailover() const
Definition Snapshot.h:420
Snapshot & WithNodeSnapshots(NodeSnapshotsT &&value)
Definition Snapshot.h:435
Snapshot & WithEngine(EngineT &&value)
Definition Snapshot.h:218
void SetSnapshotWindow(SnapshotWindowT &&value)
Definition Snapshot.h:398
void SetPreferredOutpostArn(PreferredOutpostArnT &&value)
Definition Snapshot.h:265
const Aws::String & GetCacheNodeType() const
Definition Snapshot.h:200
void SetKmsKeyId(KmsKeyIdT &&value)
Definition Snapshot.h:447
Snapshot & WithTopicArn(TopicArnT &&value)
Definition Snapshot.h:311
void SetSnapshotRetentionLimit(int value)
Definition Snapshot.h:386
bool PreferredAvailabilityZoneHasBeenSet() const
Definition Snapshot.h:251
bool AutomaticFailoverHasBeenSet() const
Definition Snapshot.h:421
void SetVpcId(VpcIdT &&value)
Definition Snapshot.h:356
bool SnapshotRetentionLimitHasBeenSet() const
Definition Snapshot.h:385
Snapshot & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
Definition Snapshot.h:333
Snapshot & WithSnapshotSource(SnapshotSourceT &&value)
Definition Snapshot.h:121
void SetPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
Definition Snapshot.h:253
void SetCacheNodeType(CacheNodeTypeT &&value)
Definition Snapshot.h:203
bool PreferredOutpostArnHasBeenSet() const
Definition Snapshot.h:263
const Aws::String & GetARN() const
Definition Snapshot.h:456
void SetEngine(EngineT &&value)
Definition Snapshot.h:216
void SetCacheClusterCreateTime(CacheClusterCreateTimeT &&value)
Definition Snapshot.h:277
Snapshot & WithEngineVersion(EngineVersionT &&value)
Definition Snapshot.h:231
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Snapshot.h:296
Snapshot & WithPreferredAvailabilityZone(PreferredAvailabilityZoneT &&value)
Definition Snapshot.h:255
Snapshot & WithReplicationGroupDescription(ReplicationGroupDescriptionT &&value)
Definition Snapshot.h:82
Snapshot & WithReplicationGroupId(ReplicationGroupIdT &&value)
Definition Snapshot.h:70
Snapshot & WithSnapshotWindow(SnapshotWindowT &&value)
Definition Snapshot.h:400
void SetAutomaticFailover(AutomaticFailoverStatus value)
Definition Snapshot.h:422
AWS_ELASTICACHE_API Snapshot()=default
const Aws::Vector< NodeSnapshot > & GetNodeSnapshots() const
Definition Snapshot.h:430
bool CacheClusterCreateTimeHasBeenSet() const
Definition Snapshot.h:275
bool ReplicationGroupIdHasBeenSet() const
Definition Snapshot.h:66
void SetSnapshotSource(SnapshotSourceT &&value)
Definition Snapshot.h:119
DataTieringStatus GetDataTiering() const
Definition Snapshot.h:472
const Aws::String & GetPreferredMaintenanceWindow() const
Definition Snapshot.h:293
const Aws::String & GetKmsKeyId() const
Definition Snapshot.h:444
void SetSnapshotStatus(SnapshotStatusT &&value)
Definition Snapshot.h:106
bool CacheSubnetGroupNameHasBeenSet() const
Definition Snapshot.h:341
Snapshot & WithARN(ARNT &&value)
Definition Snapshot.h:461
Snapshot & WithDataTiering(DataTieringStatus value)
Definition Snapshot.h:475
Snapshot & WithSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:58
bool ReplicationGroupDescriptionHasBeenSet() const
Definition Snapshot.h:78
AWS_ELASTICACHE_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Snapshot & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Definition Snapshot.h:298
Snapshot & WithSnapshotRetentionLimit(int value)
Definition Snapshot.h:387
Snapshot & WithAutoMinorVersionUpgrade(bool value)
Definition Snapshot.h:371
void SetAutoMinorVersionUpgrade(bool value)
Definition Snapshot.h:370
void SetCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
Definition Snapshot.h:343
void SetTopicArn(TopicArnT &&value)
Definition Snapshot.h:309
const Aws::String & GetEngineVersion() const
Definition Snapshot.h:226
Snapshot & WithCacheClusterId(CacheClusterIdT &&value)
Definition Snapshot.h:94
void SetSnapshotName(SnapshotNameT &&value)
Definition Snapshot.h:56
const Aws::String & GetSnapshotName() const
Definition Snapshot.h:53
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
Definition Snapshot.h:274
bool PreferredMaintenanceWindowHasBeenSet() const
Definition Snapshot.h:294
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