AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
28 AWS_ELASTICACHE_API DescribeReservedCacheNodesOfferingsRequest() = default;
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 template<typename ReservedCacheNodesOfferingIdT = Aws::String>
52 void SetReservedCacheNodesOfferingId(ReservedCacheNodesOfferingIdT&& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = std::forward<ReservedCacheNodesOfferingIdT>(value); }
53 template<typename ReservedCacheNodesOfferingIdT = Aws::String>
54 DescribeReservedCacheNodesOfferingsRequest& WithReservedCacheNodesOfferingId(ReservedCacheNodesOfferingIdT&& value) { SetReservedCacheNodesOfferingId(std::forward<ReservedCacheNodesOfferingIdT>(value)); return *this;}
56
58
133 inline const Aws::String& GetCacheNodeType() const { return m_cacheNodeType; }
134 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
135 template<typename CacheNodeTypeT = Aws::String>
136 void SetCacheNodeType(CacheNodeTypeT&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::forward<CacheNodeTypeT>(value); }
137 template<typename CacheNodeTypeT = Aws::String>
138 DescribeReservedCacheNodesOfferingsRequest& WithCacheNodeType(CacheNodeTypeT&& value) { SetCacheNodeType(std::forward<CacheNodeTypeT>(value)); return *this;}
140
142
147 inline const Aws::String& GetDuration() const { return m_duration; }
148 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
149 template<typename DurationT = Aws::String>
150 void SetDuration(DurationT&& value) { m_durationHasBeenSet = true; m_duration = std::forward<DurationT>(value); }
151 template<typename DurationT = Aws::String>
152 DescribeReservedCacheNodesOfferingsRequest& WithDuration(DurationT&& value) { SetDuration(std::forward<DurationT>(value)); return *this;}
154
156
160 inline const Aws::String& GetProductDescription() const { return m_productDescription; }
161 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
162 template<typename ProductDescriptionT = Aws::String>
163 void SetProductDescription(ProductDescriptionT&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::forward<ProductDescriptionT>(value); }
164 template<typename ProductDescriptionT = Aws::String>
165 DescribeReservedCacheNodesOfferingsRequest& WithProductDescription(ProductDescriptionT&& value) { SetProductDescription(std::forward<ProductDescriptionT>(value)); return *this;}
167
169
175 inline const Aws::String& GetOfferingType() const { return m_offeringType; }
176 inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
177 template<typename OfferingTypeT = Aws::String>
178 void SetOfferingType(OfferingTypeT&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::forward<OfferingTypeT>(value); }
179 template<typename OfferingTypeT = Aws::String>
180 DescribeReservedCacheNodesOfferingsRequest& WithOfferingType(OfferingTypeT&& value) { SetOfferingType(std::forward<OfferingTypeT>(value)); return *this;}
182
184
190 inline int GetMaxRecords() const { return m_maxRecords; }
191 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
192 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
195
197
203 inline const Aws::String& GetMarker() const { return m_marker; }
204 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
205 template<typename MarkerT = Aws::String>
206 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
207 template<typename MarkerT = Aws::String>
208 DescribeReservedCacheNodesOfferingsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
210 private:
211
212 Aws::String m_reservedCacheNodesOfferingId;
213 bool m_reservedCacheNodesOfferingIdHasBeenSet = false;
214
215 Aws::String m_cacheNodeType;
216 bool m_cacheNodeTypeHasBeenSet = false;
217
218 Aws::String m_duration;
219 bool m_durationHasBeenSet = false;
220
221 Aws::String m_productDescription;
222 bool m_productDescriptionHasBeenSet = false;
223
224 Aws::String m_offeringType;
225 bool m_offeringTypeHasBeenSet = false;
226
227 int m_maxRecords{0};
228 bool m_maxRecordsHasBeenSet = false;
229
230 Aws::String m_marker;
231 bool m_markerHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace ElastiCache
236} // namespace Aws
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(ReservedCacheNodesOfferingIdT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(OfferingTypeT &&value)
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(CacheNodeTypeT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(ProductDescriptionT &&value)
DescribeReservedCacheNodesOfferingsRequest & WithDuration(DurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String