/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a DeleteCacheCluster
* operation.See Also:
AWS
* API Reference
The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; } /** *The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; } /** *The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; } /** *The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); } /** *The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); } /** *The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline DeleteCacheClusterRequest& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;} /** *The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline DeleteCacheClusterRequest& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;} /** *The cluster identifier for the cluster to be deleted. This parameter is not * case sensitive.
*/ inline DeleteCacheClusterRequest& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;} /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline const Aws::String& GetFinalSnapshotIdentifier() const{ return m_finalSnapshotIdentifier; } /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline bool FinalSnapshotIdentifierHasBeenSet() const { return m_finalSnapshotIdentifierHasBeenSet; } /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline void SetFinalSnapshotIdentifier(const Aws::String& value) { m_finalSnapshotIdentifierHasBeenSet = true; m_finalSnapshotIdentifier = value; } /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline void SetFinalSnapshotIdentifier(Aws::String&& value) { m_finalSnapshotIdentifierHasBeenSet = true; m_finalSnapshotIdentifier = std::move(value); } /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline void SetFinalSnapshotIdentifier(const char* value) { m_finalSnapshotIdentifierHasBeenSet = true; m_finalSnapshotIdentifier.assign(value); } /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline DeleteCacheClusterRequest& WithFinalSnapshotIdentifier(const Aws::String& value) { SetFinalSnapshotIdentifier(value); return *this;} /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline DeleteCacheClusterRequest& WithFinalSnapshotIdentifier(Aws::String&& value) { SetFinalSnapshotIdentifier(std::move(value)); return *this;} /** *The user-supplied name of a final cluster snapshot. This is the unique name * that identifies the snapshot. ElastiCache creates the snapshot, and then deletes * the cluster immediately afterward.
*/ inline DeleteCacheClusterRequest& WithFinalSnapshotIdentifier(const char* value) { SetFinalSnapshotIdentifier(value); return *this;} private: Aws::String m_cacheClusterId; bool m_cacheClusterIdHasBeenSet; Aws::String m_finalSnapshotIdentifier; bool m_finalSnapshotIdentifierHasBeenSet; }; } // namespace Model } // namespace ElastiCache } // namespace Aws