/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a PurchaseReservedCacheNodesOffering
* operation.See Also:
AWS
* API Reference
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
The ID of the reserved cache node offering to purchase.
Example:
* 438012d3-4052-4cc7-b2e3-8d3372e0e706
A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline const Aws::String& GetReservedCacheNodeId() const{ return m_reservedCacheNodeId; } /** *A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline bool ReservedCacheNodeIdHasBeenSet() const { return m_reservedCacheNodeIdHasBeenSet; } /** *A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline void SetReservedCacheNodeId(const Aws::String& value) { m_reservedCacheNodeIdHasBeenSet = true; m_reservedCacheNodeId = value; } /** *A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline void SetReservedCacheNodeId(Aws::String&& value) { m_reservedCacheNodeIdHasBeenSet = true; m_reservedCacheNodeId = std::move(value); } /** *A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline void SetReservedCacheNodeId(const char* value) { m_reservedCacheNodeIdHasBeenSet = true; m_reservedCacheNodeId.assign(value); } /** *A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline PurchaseReservedCacheNodesOfferingRequest& WithReservedCacheNodeId(const Aws::String& value) { SetReservedCacheNodeId(value); return *this;} /** *A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline PurchaseReservedCacheNodesOfferingRequest& WithReservedCacheNodeId(Aws::String&& value) { SetReservedCacheNodeId(std::move(value)); return *this;} /** *A customer-specified identifier to track this reservation.
The * Reserved Cache Node ID is an unique customer-specified identifier to track this * reservation. If this parameter is not specified, ElastiCache automatically * generates an identifier for the reservation.
Example: * myreservationID
*/ inline PurchaseReservedCacheNodesOfferingRequest& WithReservedCacheNodeId(const char* value) { SetReservedCacheNodeId(value); return *this;} /** *The number of cache node instances to reserve.
Default: 1
*
The number of cache node instances to reserve.
Default: 1
*
The number of cache node instances to reserve.
Default: 1
*
The number of cache node instances to reserve.
Default: 1
*