/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a RebootCacheCluster
* operation.See Also:
AWS
* API Reference
The cluster identifier. This parameter is stored as a lowercase string.
*/ inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; } /** *The cluster identifier. This parameter is stored as a lowercase string.
*/ inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; } /** *The cluster identifier. This parameter is stored as a lowercase string.
*/ inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; } /** *The cluster identifier. This parameter is stored as a lowercase string.
*/ inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); } /** *The cluster identifier. This parameter is stored as a lowercase string.
*/ inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); } /** *The cluster identifier. This parameter is stored as a lowercase string.
*/ inline RebootCacheClusterRequest& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;} /** *The cluster identifier. This parameter is stored as a lowercase string.
*/ inline RebootCacheClusterRequest& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;} /** *The cluster identifier. This parameter is stored as a lowercase string.
*/ inline RebootCacheClusterRequest& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;} /** *A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline const Aws::VectorA list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline bool CacheNodeIdsToRebootHasBeenSet() const { return m_cacheNodeIdsToRebootHasBeenSet; } /** *A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline void SetCacheNodeIdsToReboot(const Aws::VectorA list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline void SetCacheNodeIdsToReboot(Aws::VectorA list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline RebootCacheClusterRequest& WithCacheNodeIdsToReboot(const Aws::VectorA list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline RebootCacheClusterRequest& WithCacheNodeIdsToReboot(Aws::VectorA list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline RebootCacheClusterRequest& AddCacheNodeIdsToReboot(const Aws::String& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot.push_back(value); return *this; } /** *A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline RebootCacheClusterRequest& AddCacheNodeIdsToReboot(Aws::String&& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot.push_back(std::move(value)); return *this; } /** *A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, * 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.
*/ inline RebootCacheClusterRequest& AddCacheNodeIdsToReboot(const char* value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot.push_back(value); return *this; } private: Aws::String m_cacheClusterId; bool m_cacheClusterIdHasBeenSet = false; Aws::Vector