/* * 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 ecs-2014-11-13.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.ECS.Model { /// /// Container for the parameters to the DeleteCluster operation. /// Deletes the specified cluster. The cluster transitions to the INACTIVE /// state. Clusters with an INACTIVE status might remain discoverable in /// your account for a period of time. However, this behavior is subject to change in /// the future. We don't recommend that you rely on INACTIVE clusters persisting. /// /// /// /// You must deregister all container instances from this cluster before you may delete /// it. You can list the container instances in a cluster with ListContainerInstances /// and deregister them with DeregisterContainerInstance. /// /// public partial class DeleteClusterRequest : AmazonECSRequest { private string _cluster; /// /// Gets and sets the property Cluster. /// /// The short name or full Amazon Resource Name (ARN) of the cluster to delete. /// /// [AWSProperty(Required=true)] public string Cluster { get { return this._cluster; } set { this._cluster = value; } } // Check to see if Cluster property is set internal bool IsSetCluster() { return this._cluster != null; } } }