AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedCacheNodesOfferingsRequest.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:
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 "DescribeReservedCacheNodesOfferings"; }
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& GetReservedCacheNodesOfferingId() const{ return m_reservedCacheNodesOfferingId; }
50 inline bool ReservedCacheNodesOfferingIdHasBeenSet() const { return m_reservedCacheNodesOfferingIdHasBeenSet; }
51 inline void SetReservedCacheNodesOfferingId(const Aws::String& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = value; }
52 inline void SetReservedCacheNodesOfferingId(Aws::String&& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = std::move(value); }
53 inline void SetReservedCacheNodesOfferingId(const char* value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId.assign(value); }
58
60
135 inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
136 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
137 inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
138 inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
139 inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
142 inline DescribeReservedCacheNodesOfferingsRequest& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
144
146
151 inline const Aws::String& GetDuration() const{ return m_duration; }
152 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
153 inline void SetDuration(const Aws::String& value) { m_durationHasBeenSet = true; m_duration = value; }
154 inline void SetDuration(Aws::String&& value) { m_durationHasBeenSet = true; m_duration = std::move(value); }
155 inline void SetDuration(const char* value) { m_durationHasBeenSet = true; m_duration.assign(value); }
157 inline DescribeReservedCacheNodesOfferingsRequest& WithDuration(Aws::String&& value) { SetDuration(std::move(value)); return *this;}
158 inline DescribeReservedCacheNodesOfferingsRequest& WithDuration(const char* value) { SetDuration(value); return *this;}
160
162
166 inline const Aws::String& GetProductDescription() const{ return m_productDescription; }
167 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
168 inline void SetProductDescription(const Aws::String& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
169 inline void SetProductDescription(Aws::String&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
170 inline void SetProductDescription(const char* value) { m_productDescriptionHasBeenSet = true; m_productDescription.assign(value); }
175
177
183 inline const Aws::String& GetOfferingType() const{ return m_offeringType; }
184 inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
185 inline void SetOfferingType(const Aws::String& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
186 inline void SetOfferingType(Aws::String&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); }
187 inline void SetOfferingType(const char* value) { m_offeringTypeHasBeenSet = true; m_offeringType.assign(value); }
190 inline DescribeReservedCacheNodesOfferingsRequest& WithOfferingType(const char* value) { SetOfferingType(value); return *this;}
192
194
200 inline int GetMaxRecords() const{ return m_maxRecords; }
201 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
202 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
205
207
213 inline const Aws::String& GetMarker() const{ return m_marker; }
214 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
215 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
216 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
217 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
218 inline DescribeReservedCacheNodesOfferingsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
219 inline DescribeReservedCacheNodesOfferingsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
220 inline DescribeReservedCacheNodesOfferingsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
222 private:
223
224 Aws::String m_reservedCacheNodesOfferingId;
225 bool m_reservedCacheNodesOfferingIdHasBeenSet = false;
226
227 Aws::String m_cacheNodeType;
228 bool m_cacheNodeTypeHasBeenSet = false;
229
230 Aws::String m_duration;
231 bool m_durationHasBeenSet = false;
232
233 Aws::String m_productDescription;
234 bool m_productDescriptionHasBeenSet = false;
235
236 Aws::String m_offeringType;
237 bool m_offeringTypeHasBeenSet = false;
238
239 int m_maxRecords;
240 bool m_maxRecordsHasBeenSet = false;
241
242 Aws::String m_marker;
243 bool m_markerHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace ElastiCache
248} // namespace Aws
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(Aws::String &&value)
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(Aws::String &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeReservedCacheNodesOfferingsRequest & WithMarker(const Aws::String &value)
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(const char *value)
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(Aws::String &&value)
DescribeReservedCacheNodesOfferingsRequest & WithDuration(const Aws::String &value)
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(const Aws::String &value)
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(const char *value)
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(const Aws::String &value)
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(Aws::String &&value)
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(const Aws::String &value)
DescribeReservedCacheNodesOfferingsRequest & WithMarker(Aws::String &&value)
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(const Aws::String &value)
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(const char *value)
DescribeReservedCacheNodesOfferingsRequest & WithMarker(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeReservedCacheNodesOfferingsRequest & WithDuration(const char *value)
DescribeReservedCacheNodesOfferingsRequest & WithDuration(Aws::String &&value)
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String