AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedCacheNodesRequest.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 DescribeReservedCacheNodesRequest();
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 "DescribeReservedCacheNodes"; }
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
48 inline const Aws::String& GetReservedCacheNodeId() const{ return m_reservedCacheNodeId; }
49 inline bool ReservedCacheNodeIdHasBeenSet() const { return m_reservedCacheNodeIdHasBeenSet; }
50 inline void SetReservedCacheNodeId(const Aws::String& value) { m_reservedCacheNodeIdHasBeenSet = true; m_reservedCacheNodeId = value; }
51 inline void SetReservedCacheNodeId(Aws::String&& value) { m_reservedCacheNodeIdHasBeenSet = true; m_reservedCacheNodeId = std::move(value); }
52 inline void SetReservedCacheNodeId(const char* value) { m_reservedCacheNodeIdHasBeenSet = true; m_reservedCacheNodeId.assign(value); }
55 inline DescribeReservedCacheNodesRequest& WithReservedCacheNodeId(const char* value) { SetReservedCacheNodeId(value); return *this;}
57
59
63 inline const Aws::String& GetReservedCacheNodesOfferingId() const{ return m_reservedCacheNodesOfferingId; }
64 inline bool ReservedCacheNodesOfferingIdHasBeenSet() const { return m_reservedCacheNodesOfferingIdHasBeenSet; }
65 inline void SetReservedCacheNodesOfferingId(const Aws::String& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = value; }
66 inline void SetReservedCacheNodesOfferingId(Aws::String&& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = std::move(value); }
67 inline void SetReservedCacheNodesOfferingId(const char* value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId.assign(value); }
72
74
149 inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
150 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
151 inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
152 inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
153 inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
155 inline DescribeReservedCacheNodesRequest& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(std::move(value)); return *this;}
156 inline DescribeReservedCacheNodesRequest& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
158
160
165 inline const Aws::String& GetDuration() const{ return m_duration; }
166 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
167 inline void SetDuration(const Aws::String& value) { m_durationHasBeenSet = true; m_duration = value; }
168 inline void SetDuration(Aws::String&& value) { m_durationHasBeenSet = true; m_duration = std::move(value); }
169 inline void SetDuration(const char* value) { m_durationHasBeenSet = true; m_duration.assign(value); }
170 inline DescribeReservedCacheNodesRequest& WithDuration(const Aws::String& value) { SetDuration(value); return *this;}
171 inline DescribeReservedCacheNodesRequest& WithDuration(Aws::String&& value) { SetDuration(std::move(value)); return *this;}
172 inline DescribeReservedCacheNodesRequest& WithDuration(const char* value) { SetDuration(value); return *this;}
174
176
180 inline const Aws::String& GetProductDescription() const{ return m_productDescription; }
181 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
182 inline void SetProductDescription(const Aws::String& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
183 inline void SetProductDescription(Aws::String&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
184 inline void SetProductDescription(const char* value) { m_productDescriptionHasBeenSet = true; m_productDescription.assign(value); }
187 inline DescribeReservedCacheNodesRequest& WithProductDescription(const char* value) { SetProductDescription(value); return *this;}
189
191
197 inline const Aws::String& GetOfferingType() const{ return m_offeringType; }
198 inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
199 inline void SetOfferingType(const Aws::String& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
200 inline void SetOfferingType(Aws::String&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); }
201 inline void SetOfferingType(const char* value) { m_offeringTypeHasBeenSet = true; m_offeringType.assign(value); }
203 inline DescribeReservedCacheNodesRequest& WithOfferingType(Aws::String&& value) { SetOfferingType(std::move(value)); return *this;}
204 inline DescribeReservedCacheNodesRequest& WithOfferingType(const char* value) { SetOfferingType(value); return *this;}
206
208
214 inline int GetMaxRecords() const{ return m_maxRecords; }
215 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
216 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
217 inline DescribeReservedCacheNodesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
219
221
227 inline const Aws::String& GetMarker() const{ return m_marker; }
228 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
229 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
230 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
231 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
232 inline DescribeReservedCacheNodesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
233 inline DescribeReservedCacheNodesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
234 inline DescribeReservedCacheNodesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
236 private:
237
238 Aws::String m_reservedCacheNodeId;
239 bool m_reservedCacheNodeIdHasBeenSet = false;
240
241 Aws::String m_reservedCacheNodesOfferingId;
242 bool m_reservedCacheNodesOfferingIdHasBeenSet = false;
243
244 Aws::String m_cacheNodeType;
245 bool m_cacheNodeTypeHasBeenSet = false;
246
247 Aws::String m_duration;
248 bool m_durationHasBeenSet = false;
249
250 Aws::String m_productDescription;
251 bool m_productDescriptionHasBeenSet = false;
252
253 Aws::String m_offeringType;
254 bool m_offeringTypeHasBeenSet = false;
255
256 int m_maxRecords;
257 bool m_maxRecordsHasBeenSet = false;
258
259 Aws::String m_marker;
260 bool m_markerHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace ElastiCache
265} // namespace Aws
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeReservedCacheNodesRequest & WithCacheNodeType(const char *value)
DescribeReservedCacheNodesRequest & WithDuration(Aws::String &&value)
DescribeReservedCacheNodesRequest & WithProductDescription(Aws::String &&value)
DescribeReservedCacheNodesRequest & WithMarker(Aws::String &&value)
DescribeReservedCacheNodesRequest & WithReservedCacheNodesOfferingId(const char *value)
DescribeReservedCacheNodesRequest & WithReservedCacheNodesOfferingId(const Aws::String &value)
DescribeReservedCacheNodesRequest & WithProductDescription(const Aws::String &value)
DescribeReservedCacheNodesRequest & WithCacheNodeType(Aws::String &&value)
DescribeReservedCacheNodesRequest & WithReservedCacheNodesOfferingId(Aws::String &&value)
DescribeReservedCacheNodesRequest & WithReservedCacheNodeId(Aws::String &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeReservedCacheNodesRequest & WithCacheNodeType(const Aws::String &value)
DescribeReservedCacheNodesRequest & WithOfferingType(const Aws::String &value)
DescribeReservedCacheNodesRequest & WithDuration(const char *value)
DescribeReservedCacheNodesRequest & WithMarker(const Aws::String &value)
DescribeReservedCacheNodesRequest & WithProductDescription(const char *value)
DescribeReservedCacheNodesRequest & WithReservedCacheNodeId(const char *value)
DescribeReservedCacheNodesRequest & WithOfferingType(Aws::String &&value)
DescribeReservedCacheNodesRequest & WithOfferingType(const char *value)
DescribeReservedCacheNodesRequest & WithMarker(const char *value)
DescribeReservedCacheNodesRequest & WithReservedCacheNodeId(const Aws::String &value)
DescribeReservedCacheNodesRequest & WithDuration(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String