7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
34 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeReservedCacheNodesOfferings"; }
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>
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>
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>
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>
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>
192 inline void SetMaxRecords(
int value) { m_maxRecordsHasBeenSet =
true; m_maxRecords = value; }
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>
213 bool m_reservedCacheNodesOfferingIdHasBeenSet =
false;
216 bool m_cacheNodeTypeHasBeenSet =
false;
219 bool m_durationHasBeenSet =
false;
222 bool m_productDescriptionHasBeenSet =
false;
225 bool m_offeringTypeHasBeenSet =
false;
228 bool m_maxRecordsHasBeenSet =
false;
231 bool m_markerHasBeenSet =
false;
const Aws::String & GetMarker() const
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(ReservedCacheNodesOfferingIdT &&value)
void SetMarker(MarkerT &&value)
void SetMaxRecords(int value)
void SetProductDescription(ProductDescriptionT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool DurationHasBeenSet() const
AWS_ELASTICACHE_API DescribeReservedCacheNodesOfferingsRequest()=default
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(OfferingTypeT &&value)
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(CacheNodeTypeT &&value)
const Aws::String & GetCacheNodeType() const
bool CacheNodeTypeHasBeenSet() const
DescribeReservedCacheNodesOfferingsRequest & WithMaxRecords(int value)
bool OfferingTypeHasBeenSet() const
const Aws::String & GetProductDescription() const
bool ProductDescriptionHasBeenSet() const
const Aws::String & GetDuration() const
void SetDuration(DurationT &&value)
int GetMaxRecords() const
bool ReservedCacheNodesOfferingIdHasBeenSet() const
bool MaxRecordsHasBeenSet() const
const Aws::String & GetOfferingType() const
bool MarkerHasBeenSet() const
DescribeReservedCacheNodesOfferingsRequest & WithMarker(MarkerT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetReservedCacheNodesOfferingId() const
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(ProductDescriptionT &&value)
DescribeReservedCacheNodesOfferingsRequest & WithDuration(DurationT &&value)
void SetReservedCacheNodesOfferingId(ReservedCacheNodesOfferingIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetCacheNodeType(CacheNodeTypeT &&value)
void SetOfferingType(OfferingTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String