AWS SDK for C++  0.14.3
AWS SDK for C++
Snapshot.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace Utils
26 {
27 namespace Xml
28 {
29  class XmlNode;
30 } // namespace Xml
31 } // namespace Utils
32 namespace ElastiCache
33 {
34 namespace Model
35 {
36 
42  {
43  public:
44  Snapshot();
45  Snapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
46  Snapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47 
48  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49  void OutputToStream(Aws::OStream& oStream, const char* location) const;
50 
55  inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
56 
61  inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
62 
67  inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
68 
73  inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
74 
79  inline Snapshot& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
80 
85  inline Snapshot& WithSnapshotName(Aws::String&& value) { SetSnapshotName(value); return *this;}
86 
91  inline Snapshot& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
92 
96  inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; }
97 
101  inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
102 
106  inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
107 
111  inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); }
112 
116  inline Snapshot& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;}
117 
121  inline Snapshot& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(value); return *this;}
122 
126  inline Snapshot& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;}
127 
133  inline const Aws::String& GetSnapshotStatus() const{ return m_snapshotStatus; }
134 
140  inline void SetSnapshotStatus(const Aws::String& value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus = value; }
141 
147  inline void SetSnapshotStatus(Aws::String&& value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus = value; }
148 
154  inline void SetSnapshotStatus(const char* value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus.assign(value); }
155 
161  inline Snapshot& WithSnapshotStatus(const Aws::String& value) { SetSnapshotStatus(value); return *this;}
162 
168  inline Snapshot& WithSnapshotStatus(Aws::String&& value) { SetSnapshotStatus(value); return *this;}
169 
175  inline Snapshot& WithSnapshotStatus(const char* value) { SetSnapshotStatus(value); return *this;}
176 
181  inline const Aws::String& GetSnapshotSource() const{ return m_snapshotSource; }
182 
187  inline void SetSnapshotSource(const Aws::String& value) { m_snapshotSourceHasBeenSet = true; m_snapshotSource = value; }
188 
193  inline void SetSnapshotSource(Aws::String&& value) { m_snapshotSourceHasBeenSet = true; m_snapshotSource = value; }
194 
199  inline void SetSnapshotSource(const char* value) { m_snapshotSourceHasBeenSet = true; m_snapshotSource.assign(value); }
200 
205  inline Snapshot& WithSnapshotSource(const Aws::String& value) { SetSnapshotSource(value); return *this;}
206 
211  inline Snapshot& WithSnapshotSource(Aws::String&& value) { SetSnapshotSource(value); return *this;}
212 
217  inline Snapshot& WithSnapshotSource(const char* value) { SetSnapshotSource(value); return *this;}
218 
248  inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
249 
279  inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
280 
310  inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
311 
341  inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
342 
372  inline Snapshot& WithCacheNodeType(const Aws::String& value) { SetCacheNodeType(value); return *this;}
373 
403  inline Snapshot& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(value); return *this;}
404 
434  inline Snapshot& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
435 
440  inline const Aws::String& GetEngine() const{ return m_engine; }
441 
446  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
447 
452  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = value; }
453 
458  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
459 
464  inline Snapshot& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
465 
470  inline Snapshot& WithEngine(Aws::String&& value) { SetEngine(value); return *this;}
471 
476  inline Snapshot& WithEngine(const char* value) { SetEngine(value); return *this;}
477 
482  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
483 
488  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
489 
494  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
495 
500  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
501 
506  inline Snapshot& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
507 
512  inline Snapshot& WithEngineVersion(Aws::String&& value) { SetEngineVersion(value); return *this;}
513 
518  inline Snapshot& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
519 
525  inline int GetNumCacheNodes() const{ return m_numCacheNodes; }
526 
532  inline void SetNumCacheNodes(int value) { m_numCacheNodesHasBeenSet = true; m_numCacheNodes = value; }
533 
539  inline Snapshot& WithNumCacheNodes(int value) { SetNumCacheNodes(value); return *this;}
540 
545  inline const Aws::String& GetPreferredAvailabilityZone() const{ return m_preferredAvailabilityZone; }
546 
551  inline void SetPreferredAvailabilityZone(const Aws::String& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = value; }
552 
557  inline void SetPreferredAvailabilityZone(Aws::String&& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = value; }
558 
563  inline void SetPreferredAvailabilityZone(const char* value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone.assign(value); }
564 
569  inline Snapshot& WithPreferredAvailabilityZone(const Aws::String& value) { SetPreferredAvailabilityZone(value); return *this;}
570 
575  inline Snapshot& WithPreferredAvailabilityZone(Aws::String&& value) { SetPreferredAvailabilityZone(value); return *this;}
576 
581  inline Snapshot& WithPreferredAvailabilityZone(const char* value) { SetPreferredAvailabilityZone(value); return *this;}
582 
586  inline const Aws::Utils::DateTime& GetCacheClusterCreateTime() const{ return m_cacheClusterCreateTime; }
587 
591  inline void SetCacheClusterCreateTime(const Aws::Utils::DateTime& value) { m_cacheClusterCreateTimeHasBeenSet = true; m_cacheClusterCreateTime = value; }
592 
596  inline void SetCacheClusterCreateTime(Aws::Utils::DateTime&& value) { m_cacheClusterCreateTimeHasBeenSet = true; m_cacheClusterCreateTime = value; }
597 
601  inline Snapshot& WithCacheClusterCreateTime(const Aws::Utils::DateTime& value) { SetCacheClusterCreateTime(value); return *this;}
602 
606  inline Snapshot& WithCacheClusterCreateTime(Aws::Utils::DateTime&& value) { SetCacheClusterCreateTime(value); return *this;}
607 
618  inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
619 
630  inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
631 
642  inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
643 
654  inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
655 
666  inline Snapshot& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;}
667 
678  inline Snapshot& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(value); return *this;}
679 
690  inline Snapshot& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
691 
696  inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
697 
702  inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
703 
708  inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
709 
714  inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
715 
720  inline Snapshot& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
721 
726  inline Snapshot& WithTopicArn(Aws::String&& value) { SetTopicArn(value); return *this;}
727 
732  inline Snapshot& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
733 
737  inline int GetPort() const{ return m_port; }
738 
742  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
743 
747  inline Snapshot& WithPort(int value) { SetPort(value); return *this;}
748 
753  inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
754 
759  inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
760 
765  inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
766 
771  inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
772 
777  inline Snapshot& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;}
778 
783  inline Snapshot& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(value); return *this;}
784 
789  inline Snapshot& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;}
790 
795  inline const Aws::String& GetCacheSubnetGroupName() const{ return m_cacheSubnetGroupName; }
796 
801  inline void SetCacheSubnetGroupName(const Aws::String& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = value; }
802 
807  inline void SetCacheSubnetGroupName(Aws::String&& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = value; }
808 
813  inline void SetCacheSubnetGroupName(const char* value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName.assign(value); }
814 
819  inline Snapshot& WithCacheSubnetGroupName(const Aws::String& value) { SetCacheSubnetGroupName(value); return *this;}
820 
825  inline Snapshot& WithCacheSubnetGroupName(Aws::String&& value) { SetCacheSubnetGroupName(value); return *this;}
826 
831  inline Snapshot& WithCacheSubnetGroupName(const char* value) { SetCacheSubnetGroupName(value); return *this;}
832 
837  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
838 
843  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
844 
849  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
850 
855  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
856 
861  inline Snapshot& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
862 
867  inline Snapshot& WithVpcId(Aws::String&& value) { SetVpcId(value); return *this;}
868 
873  inline Snapshot& WithVpcId(const char* value) { SetVpcId(value); return *this;}
874 
878  inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
879 
883  inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
884 
888  inline Snapshot& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;}
889 
899  inline int GetSnapshotRetentionLimit() const{ return m_snapshotRetentionLimit; }
900 
910  inline void SetSnapshotRetentionLimit(int value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
911 
921  inline Snapshot& WithSnapshotRetentionLimit(int value) { SetSnapshotRetentionLimit(value); return *this;}
922 
927  inline const Aws::String& GetSnapshotWindow() const{ return m_snapshotWindow; }
928 
933  inline void SetSnapshotWindow(const Aws::String& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = value; }
934 
939  inline void SetSnapshotWindow(Aws::String&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = value; }
940 
945  inline void SetSnapshotWindow(const char* value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow.assign(value); }
946 
951  inline Snapshot& WithSnapshotWindow(const Aws::String& value) { SetSnapshotWindow(value); return *this;}
952 
957  inline Snapshot& WithSnapshotWindow(Aws::String&& value) { SetSnapshotWindow(value); return *this;}
958 
963  inline Snapshot& WithSnapshotWindow(const char* value) { SetSnapshotWindow(value); return *this;}
964 
968  inline const Aws::Vector<NodeSnapshot>& GetNodeSnapshots() const{ return m_nodeSnapshots; }
969 
973  inline void SetNodeSnapshots(const Aws::Vector<NodeSnapshot>& value) { m_nodeSnapshotsHasBeenSet = true; m_nodeSnapshots = value; }
974 
978  inline void SetNodeSnapshots(Aws::Vector<NodeSnapshot>&& value) { m_nodeSnapshotsHasBeenSet = true; m_nodeSnapshots = value; }
979 
983  inline Snapshot& WithNodeSnapshots(const Aws::Vector<NodeSnapshot>& value) { SetNodeSnapshots(value); return *this;}
984 
988  inline Snapshot& WithNodeSnapshots(Aws::Vector<NodeSnapshot>&& value) { SetNodeSnapshots(value); return *this;}
989 
993  inline Snapshot& AddNodeSnapshots(const NodeSnapshot& value) { m_nodeSnapshotsHasBeenSet = true; m_nodeSnapshots.push_back(value); return *this; }
994 
998  inline Snapshot& AddNodeSnapshots(NodeSnapshot&& value) { m_nodeSnapshotsHasBeenSet = true; m_nodeSnapshots.push_back(value); return *this; }
999 
1000  private:
1001  Aws::String m_snapshotName;
1002  bool m_snapshotNameHasBeenSet;
1003  Aws::String m_cacheClusterId;
1004  bool m_cacheClusterIdHasBeenSet;
1005  Aws::String m_snapshotStatus;
1006  bool m_snapshotStatusHasBeenSet;
1007  Aws::String m_snapshotSource;
1008  bool m_snapshotSourceHasBeenSet;
1009  Aws::String m_cacheNodeType;
1010  bool m_cacheNodeTypeHasBeenSet;
1011  Aws::String m_engine;
1012  bool m_engineHasBeenSet;
1013  Aws::String m_engineVersion;
1014  bool m_engineVersionHasBeenSet;
1015  int m_numCacheNodes;
1016  bool m_numCacheNodesHasBeenSet;
1017  Aws::String m_preferredAvailabilityZone;
1018  bool m_preferredAvailabilityZoneHasBeenSet;
1019  Aws::Utils::DateTime m_cacheClusterCreateTime;
1020  bool m_cacheClusterCreateTimeHasBeenSet;
1021  Aws::String m_preferredMaintenanceWindow;
1022  bool m_preferredMaintenanceWindowHasBeenSet;
1023  Aws::String m_topicArn;
1024  bool m_topicArnHasBeenSet;
1025  int m_port;
1026  bool m_portHasBeenSet;
1027  Aws::String m_cacheParameterGroupName;
1028  bool m_cacheParameterGroupNameHasBeenSet;
1029  Aws::String m_cacheSubnetGroupName;
1030  bool m_cacheSubnetGroupNameHasBeenSet;
1031  Aws::String m_vpcId;
1032  bool m_vpcIdHasBeenSet;
1033  bool m_autoMinorVersionUpgrade;
1034  bool m_autoMinorVersionUpgradeHasBeenSet;
1035  int m_snapshotRetentionLimit;
1036  bool m_snapshotRetentionLimitHasBeenSet;
1037  Aws::String m_snapshotWindow;
1038  bool m_snapshotWindowHasBeenSet;
1039  Aws::Vector<NodeSnapshot> m_nodeSnapshots;
1040  bool m_nodeSnapshotsHasBeenSet;
1041  };
1042 
1043 } // namespace Model
1044 } // namespace ElastiCache
1045 } // namespace Aws
const Aws::String & GetCacheNodeType() const
Definition: Snapshot.h:248
Snapshot & WithSnapshotRetentionLimit(int value)
Definition: Snapshot.h:921
Snapshot & WithPreferredAvailabilityZone(Aws::String &&value)
Definition: Snapshot.h:575
void SetCacheNodeType(const char *value)
Definition: Snapshot.h:341
Snapshot & WithCacheParameterGroupName(Aws::String &&value)
Definition: Snapshot.h:783
const Aws::Vector< NodeSnapshot > & GetNodeSnapshots() const
Definition: Snapshot.h:968
Snapshot & WithSnapshotName(Aws::String &&value)
Definition: Snapshot.h:85
Snapshot & WithVpcId(Aws::String &&value)
Definition: Snapshot.h:867
const Aws::String & GetCacheClusterId() const
Definition: Snapshot.h:96
const Aws::String & GetEngineVersion() const
Definition: Snapshot.h:482
Snapshot & WithCacheNodeType(const char *value)
Definition: Snapshot.h:434
void SetEngineVersion(const char *value)
Definition: Snapshot.h:500
void SetTopicArn(Aws::String &&value)
Definition: Snapshot.h:708
void SetSnapshotName(Aws::String &&value)
Definition: Snapshot.h:67
void SetCacheSubnetGroupName(const char *value)
Definition: Snapshot.h:813
Snapshot & WithTopicArn(const Aws::String &value)
Definition: Snapshot.h:720
void SetCacheClusterId(const Aws::String &value)
Definition: Snapshot.h:101
void SetCacheClusterCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:596
Snapshot & WithSnapshotName(const char *value)
Definition: Snapshot.h:91
void SetCacheParameterGroupName(Aws::String &&value)
Definition: Snapshot.h:765
void SetSnapshotWindow(const char *value)
Definition: Snapshot.h:945
Snapshot & WithVpcId(const Aws::String &value)
Definition: Snapshot.h:861
void SetCacheClusterId(Aws::String &&value)
Definition: Snapshot.h:106
Snapshot & WithSnapshotSource(const char *value)
Definition: Snapshot.h:217
Snapshot & WithEngine(Aws::String &&value)
Definition: Snapshot.h:470
void SetNumCacheNodes(int value)
Definition: Snapshot.h:532
Snapshot & WithSnapshotStatus(Aws::String &&value)
Definition: Snapshot.h:168
Snapshot & WithEngineVersion(const Aws::String &value)
Definition: Snapshot.h:506
Snapshot & WithCacheNodeType(const Aws::String &value)
Definition: Snapshot.h:372
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Snapshot & WithPort(int value)
Definition: Snapshot.h:747
Snapshot & WithSnapshotWindow(const Aws::String &value)
Definition: Snapshot.h:951
void SetEngine(Aws::String &&value)
Definition: Snapshot.h:452
void SetNodeSnapshots(const Aws::Vector< NodeSnapshot > &value)
Definition: Snapshot.h:973
Snapshot & AddNodeSnapshots(const NodeSnapshot &value)
Definition: Snapshot.h:993
Snapshot & WithNumCacheNodes(int value)
Definition: Snapshot.h:539
void SetTopicArn(const Aws::String &value)
Definition: Snapshot.h:702
void SetSnapshotName(const Aws::String &value)
Definition: Snapshot.h:61
void SetSnapshotName(const char *value)
Definition: Snapshot.h:73
const Aws::String & GetPreferredAvailabilityZone() const
Definition: Snapshot.h:545
void SetPreferredMaintenanceWindow(Aws::String &&value)
Definition: Snapshot.h:642
void SetSnapshotWindow(const Aws::String &value)
Definition: Snapshot.h:933
void SetVpcId(Aws::String &&value)
Definition: Snapshot.h:849
Snapshot & WithCacheNodeType(Aws::String &&value)
Definition: Snapshot.h:403
Snapshot & WithSnapshotWindow(const char *value)
Definition: Snapshot.h:963
void SetEngine(const Aws::String &value)
Definition: Snapshot.h:446
Snapshot & WithNodeSnapshots(Aws::Vector< NodeSnapshot > &&value)
Definition: Snapshot.h:988
Snapshot & WithSnapshotStatus(const char *value)
Definition: Snapshot.h:175
void SetNodeSnapshots(Aws::Vector< NodeSnapshot > &&value)
Definition: Snapshot.h:978
Snapshot & AddNodeSnapshots(NodeSnapshot &&value)
Definition: Snapshot.h:998
Snapshot & WithCacheClusterId(const Aws::String &value)
Definition: Snapshot.h:116
void SetAutoMinorVersionUpgrade(bool value)
Definition: Snapshot.h:883
void SetSnapshotSource(const Aws::String &value)
Definition: Snapshot.h:187
const Aws::String & GetTopicArn() const
Definition: Snapshot.h:696
const Aws::String & GetCacheParameterGroupName() const
Definition: Snapshot.h:753
Snapshot & WithCacheClusterCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:601
Snapshot & WithPreferredMaintenanceWindow(Aws::String &&value)
Definition: Snapshot.h:678
Snapshot & WithEngine(const Aws::String &value)
Definition: Snapshot.h:464
void SetCacheNodeType(const Aws::String &value)
Definition: Snapshot.h:279
void SetPreferredAvailabilityZone(const char *value)
Definition: Snapshot.h:563
Snapshot & WithEngineVersion(Aws::String &&value)
Definition: Snapshot.h:512
Snapshot & WithCacheParameterGroupName(const char *value)
Definition: Snapshot.h:789
Snapshot & WithAutoMinorVersionUpgrade(bool value)
Definition: Snapshot.h:888
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
Definition: Snapshot.h:586
void SetEngineVersion(Aws::String &&value)
Definition: Snapshot.h:494
const Aws::String & GetCacheSubnetGroupName() const
Definition: Snapshot.h:795
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
const Aws::String & GetSnapshotName() const
Definition: Snapshot.h:55
Snapshot & WithCacheClusterId(const char *value)
Definition: Snapshot.h:126
void SetSnapshotWindow(Aws::String &&value)
Definition: Snapshot.h:939
Snapshot & WithTopicArn(Aws::String &&value)
Definition: Snapshot.h:726
const Aws::String & GetEngine() const
Definition: Snapshot.h:440
Snapshot & WithEngineVersion(const char *value)
Definition: Snapshot.h:518
void SetEngine(const char *value)
Definition: Snapshot.h:458
Snapshot & WithSnapshotSource(const Aws::String &value)
Definition: Snapshot.h:205
void SetSnapshotStatus(const char *value)
Definition: Snapshot.h:154
const Aws::String & GetSnapshotStatus() const
Definition: Snapshot.h:133
void SetCacheNodeType(Aws::String &&value)
Definition: Snapshot.h:310
void SetVpcId(const Aws::String &value)
Definition: Snapshot.h:843
const Aws::String & GetVpcId() const
Definition: Snapshot.h:837
Snapshot & WithCacheSubnetGroupName(Aws::String &&value)
Definition: Snapshot.h:825
void SetPreferredMaintenanceWindow(const Aws::String &value)
Definition: Snapshot.h:630
Snapshot & WithSnapshotName(const Aws::String &value)
Definition: Snapshot.h:79
void SetPreferredAvailabilityZone(Aws::String &&value)
Definition: Snapshot.h:557
Snapshot & WithEngine(const char *value)
Definition: Snapshot.h:476
void SetSnapshotStatus(Aws::String &&value)
Definition: Snapshot.h:147
void SetCacheParameterGroupName(const char *value)
Definition: Snapshot.h:771
void SetCacheClusterId(const char *value)
Definition: Snapshot.h:111
void SetPreferredMaintenanceWindow(const char *value)
Definition: Snapshot.h:654
void SetEngineVersion(const Aws::String &value)
Definition: Snapshot.h:488
Snapshot & WithPreferredMaintenanceWindow(const Aws::String &value)
Definition: Snapshot.h:666
void SetCacheParameterGroupName(const Aws::String &value)
Definition: Snapshot.h:759
Snapshot & WithCacheSubnetGroupName(const Aws::String &value)
Definition: Snapshot.h:819
void SetPreferredAvailabilityZone(const Aws::String &value)
Definition: Snapshot.h:551
void SetSnapshotSource(Aws::String &&value)
Definition: Snapshot.h:193
bool GetAutoMinorVersionUpgrade() const
Definition: Snapshot.h:878
Snapshot & WithPreferredMaintenanceWindow(const char *value)
Definition: Snapshot.h:690
Snapshot & WithCacheSubnetGroupName(const char *value)
Definition: Snapshot.h:831
void SetSnapshotRetentionLimit(int value)
Definition: Snapshot.h:910
void SetVpcId(const char *value)
Definition: Snapshot.h:855
Snapshot & WithSnapshotStatus(const Aws::String &value)
Definition: Snapshot.h:161
Snapshot & WithPreferredAvailabilityZone(const Aws::String &value)
Definition: Snapshot.h:569
void SetCacheSubnetGroupName(const Aws::String &value)
Definition: Snapshot.h:801
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::String & GetSnapshotSource() const
Definition: Snapshot.h:181
Snapshot & WithTopicArn(const char *value)
Definition: Snapshot.h:732
const Aws::String & GetPreferredMaintenanceWindow() const
Definition: Snapshot.h:618
#define AWS_ELASTICACHE_API
Snapshot & WithCacheClusterCreateTime(Aws::Utils::DateTime &&value)
Definition: Snapshot.h:606
Snapshot & WithVpcId(const char *value)
Definition: Snapshot.h:873
void SetCacheSubnetGroupName(Aws::String &&value)
Definition: Snapshot.h:807
const Aws::String & GetSnapshotWindow() const
Definition: Snapshot.h:927
int GetSnapshotRetentionLimit() const
Definition: Snapshot.h:899
void SetSnapshotStatus(const Aws::String &value)
Definition: Snapshot.h:140
Snapshot & WithPreferredAvailabilityZone(const char *value)
Definition: Snapshot.h:581
Snapshot & WithSnapshotWindow(Aws::String &&value)
Definition: Snapshot.h:957
Snapshot & WithSnapshotSource(Aws::String &&value)
Definition: Snapshot.h:211
void SetCacheClusterCreateTime(const Aws::Utils::DateTime &value)
Definition: Snapshot.h:591
Snapshot & WithCacheParameterGroupName(const Aws::String &value)
Definition: Snapshot.h:777
void SetTopicArn(const char *value)
Definition: Snapshot.h:714
JSON (JavaScript Object Notation).
void SetSnapshotSource(const char *value)
Definition: Snapshot.h:199
Snapshot & WithNodeSnapshots(const Aws::Vector< NodeSnapshot > &value)
Definition: Snapshot.h:983
Snapshot & WithCacheClusterId(Aws::String &&value)
Definition: Snapshot.h:121