AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSnapshotsRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElastiCache
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_ELASTICACHE_API DescribeSnapshotsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeSnapshots"; }
35
36 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
49 inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; }
50 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
51 inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
52 inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
53 inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
55 inline DescribeSnapshotsRequest& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
56 inline DescribeSnapshotsRequest& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
58
60
64 inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; }
65 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
66 inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
67 inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); }
68 inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); }
69 inline DescribeSnapshotsRequest& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;}
70 inline DescribeSnapshotsRequest& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;}
71 inline DescribeSnapshotsRequest& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;}
73
75
79 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
80 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
81 inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
82 inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
83 inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
84 inline DescribeSnapshotsRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
85 inline DescribeSnapshotsRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
86 inline DescribeSnapshotsRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
88
90
96 inline const Aws::String& GetSnapshotSource() const{ return m_snapshotSource; }
97 inline bool SnapshotSourceHasBeenSet() const { return m_snapshotSourceHasBeenSet; }
98 inline void SetSnapshotSource(const Aws::String& value) { m_snapshotSourceHasBeenSet = true; m_snapshotSource = value; }
99 inline void SetSnapshotSource(Aws::String&& value) { m_snapshotSourceHasBeenSet = true; m_snapshotSource = std::move(value); }
100 inline void SetSnapshotSource(const char* value) { m_snapshotSourceHasBeenSet = true; m_snapshotSource.assign(value); }
101 inline DescribeSnapshotsRequest& WithSnapshotSource(const Aws::String& value) { SetSnapshotSource(value); return *this;}
102 inline DescribeSnapshotsRequest& WithSnapshotSource(Aws::String&& value) { SetSnapshotSource(std::move(value)); return *this;}
103 inline DescribeSnapshotsRequest& WithSnapshotSource(const char* value) { SetSnapshotSource(value); return *this;}
105
107
113 inline const Aws::String& GetMarker() const{ return m_marker; }
114 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
115 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
116 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
117 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
118 inline DescribeSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
119 inline DescribeSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
120 inline DescribeSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
122
124
130 inline int GetMaxRecords() const{ return m_maxRecords; }
131 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
132 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
133 inline DescribeSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
135
137
141 inline bool GetShowNodeGroupConfig() const{ return m_showNodeGroupConfig; }
142 inline bool ShowNodeGroupConfigHasBeenSet() const { return m_showNodeGroupConfigHasBeenSet; }
143 inline void SetShowNodeGroupConfig(bool value) { m_showNodeGroupConfigHasBeenSet = true; m_showNodeGroupConfig = value; }
146 private:
147
148 Aws::String m_replicationGroupId;
149 bool m_replicationGroupIdHasBeenSet = false;
150
151 Aws::String m_cacheClusterId;
152 bool m_cacheClusterIdHasBeenSet = false;
153
154 Aws::String m_snapshotName;
155 bool m_snapshotNameHasBeenSet = false;
156
157 Aws::String m_snapshotSource;
158 bool m_snapshotSourceHasBeenSet = false;
159
160 Aws::String m_marker;
161 bool m_markerHasBeenSet = false;
162
163 int m_maxRecords;
164 bool m_maxRecordsHasBeenSet = false;
165
166 bool m_showNodeGroupConfig;
167 bool m_showNodeGroupConfigHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace ElastiCache
172} // namespace Aws
DescribeSnapshotsRequest & WithSnapshotName(const Aws::String &value)
DescribeSnapshotsRequest & WithSnapshotSource(Aws::String &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSnapshotsRequest & WithCacheClusterId(Aws::String &&value)
DescribeSnapshotsRequest & WithSnapshotSource(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeSnapshotsRequest & WithShowNodeGroupConfig(bool value)
DescribeSnapshotsRequest & WithSnapshotName(Aws::String &&value)
DescribeSnapshotsRequest & WithReplicationGroupId(Aws::String &&value)
DescribeSnapshotsRequest & WithReplicationGroupId(const Aws::String &value)
DescribeSnapshotsRequest & WithMarker(const char *value)
DescribeSnapshotsRequest & WithSnapshotName(const char *value)
DescribeSnapshotsRequest & WithCacheClusterId(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeSnapshotsRequest & WithSnapshotSource(const char *value)
DescribeSnapshotsRequest & WithCacheClusterId(const Aws::String &value)
DescribeSnapshotsRequest & WithReplicationGroupId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String