/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the elasticache-2015-02-02.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ElastiCache.Model { /// /// Container for the parameters to the DeleteCacheCluster operation. /// Deletes a previously provisioned cluster. DeleteCacheCluster deletes /// all associated cache nodes, node endpoints and the cluster itself. When you receive /// a successful response from this operation, Amazon ElastiCache immediately begins deleting /// the cluster; you cannot cancel or revert this operation. /// /// /// /// This operation is not valid for: /// /// /// public partial class DeleteCacheClusterRequest : AmazonElastiCacheRequest { private string _cacheClusterId; private string _finalSnapshotIdentifier; /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public DeleteCacheClusterRequest() { } /// /// Instantiates DeleteCacheClusterRequest with the parameterized properties /// /// The cluster identifier for the cluster to be deleted. This parameter is not case sensitive. public DeleteCacheClusterRequest(string cacheClusterId) { _cacheClusterId = cacheClusterId; } /// /// Gets and sets the property CacheClusterId. /// /// The cluster identifier for the cluster to be deleted. This parameter is not case sensitive. /// /// [AWSProperty(Required=true)] public string CacheClusterId { get { return this._cacheClusterId; } set { this._cacheClusterId = value; } } // Check to see if CacheClusterId property is set internal bool IsSetCacheClusterId() { return this._cacheClusterId != null; } /// /// Gets and sets the property 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. /// /// public string FinalSnapshotIdentifier { get { return this._finalSnapshotIdentifier; } set { this._finalSnapshotIdentifier = value; } } // Check to see if FinalSnapshotIdentifier property is set internal bool IsSetFinalSnapshotIdentifier() { return this._finalSnapshotIdentifier != null; } } }