/* * 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 sqs-2012-11-05.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.SQS.Model { /// /// Container for the parameters to the DeleteQueue operation. /// Deletes the queue specified by the QueueUrl, regardless of the queue's /// contents. /// /// /// /// Be careful with the DeleteQueue action: When you delete a queue, any /// messages in the queue are no longer available. /// /// /// /// When you delete a queue, the deletion process takes up to 60 seconds. Requests you /// send involving that queue during the 60 seconds might succeed. For example, a /// SendMessage request might succeed, but after 60 seconds the queue and /// the message you sent no longer exist. /// /// /// /// When you delete a queue, you must wait at least 60 seconds before creating a queue /// with the same name. /// /// /// /// Cross-account permissions don't apply to this action. For more information, see Grant /// cross-account permissions to a role and a username in the Amazon SQS Developer /// Guide. /// /// /// /// The delete operation uses the HTTP GET verb. /// /// /// public partial class DeleteQueueRequest : AmazonSQSRequest { private string _queueUrl; /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public DeleteQueueRequest() { } /// /// Instantiates DeleteQueueRequest with the parameterized properties /// /// The URL of the Amazon SQS queue to delete. Queue URLs and names are case-sensitive. public DeleteQueueRequest(string queueUrl) { _queueUrl = queueUrl; } /// /// Gets and sets the property QueueUrl. /// /// The URL of the Amazon SQS queue to delete. /// /// /// /// Queue URLs and names are case-sensitive. /// /// [AWSProperty(Required=true)] public string QueueUrl { get { return this._queueUrl; } set { this._queueUrl = value; } } // Check to see if QueueUrl property is set internal bool IsSetQueueUrl() { return this._queueUrl != null; } } }