7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/Tag.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "PurchaseReservedCacheNodesOffering"; }
72 inline void SetReservedCacheNodeId(
const char* value) { m_reservedCacheNodeIdHasBeenSet =
true; m_reservedCacheNodeId.assign(value); }
85 inline void SetCacheNodeCount(
int value) { m_cacheNodeCountHasBeenSet =
true; m_cacheNodeCount = value; }
106 bool m_reservedCacheNodesOfferingIdHasBeenSet =
false;
109 bool m_reservedCacheNodeIdHasBeenSet =
false;
111 int m_cacheNodeCount;
112 bool m_cacheNodeCountHasBeenSet =
false;
115 bool m_tagsHasBeenSet =
false;
void SetReservedCacheNodeId(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetReservedCacheNodeId() const
bool ReservedCacheNodeIdHasBeenSet() const
PurchaseReservedCacheNodesOfferingRequest & AddTags(Tag &&value)
virtual const char * GetServiceRequestName() const override
PurchaseReservedCacheNodesOfferingRequest & WithTags(Aws::Vector< Tag > &&value)
bool ReservedCacheNodesOfferingIdHasBeenSet() const
void SetReservedCacheNodesOfferingId(Aws::String &&value)
PurchaseReservedCacheNodesOfferingRequest & WithTags(const Aws::Vector< Tag > &value)
PurchaseReservedCacheNodesOfferingRequest & WithReservedCacheNodeId(const char *value)
void SetReservedCacheNodeId(const char *value)
PurchaseReservedCacheNodesOfferingRequest & WithReservedCacheNodeId(const Aws::String &value)
PurchaseReservedCacheNodesOfferingRequest & WithReservedCacheNodesOfferingId(Aws::String &&value)
bool TagsHasBeenSet() const
void SetReservedCacheNodeId(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetReservedCacheNodesOfferingId(const char *value)
PurchaseReservedCacheNodesOfferingRequest & AddTags(const Tag &value)
PurchaseReservedCacheNodesOfferingRequest & WithReservedCacheNodesOfferingId(const Aws::String &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool CacheNodeCountHasBeenSet() const
PurchaseReservedCacheNodesOfferingRequest & WithCacheNodeCount(int value)
int GetCacheNodeCount() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetReservedCacheNodesOfferingId(const Aws::String &value)
void SetCacheNodeCount(int value)
PurchaseReservedCacheNodesOfferingRequest & WithReservedCacheNodeId(Aws::String &&value)
AWS_ELASTICACHE_API PurchaseReservedCacheNodesOfferingRequest()
PurchaseReservedCacheNodesOfferingRequest & WithReservedCacheNodesOfferingId(const char *value)
const Aws::String & GetReservedCacheNodesOfferingId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector