/*
 * 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 GetQueueUrl operation.
    /// Returns the URL of an existing Amazon SQS queue.
    /// 
    ///  
    /// 
    /// To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId
    /// parameter to specify the account ID of the queue's owner. The queue's owner must grant
    /// you permission to access the queue. For more information about shared queue access,
    /// see  AddPermission  or see Allow
    /// Developers to Write Messages to a Shared Queue in the Amazon SQS Developer
    /// Guide. 
    /// 
    /// 
    public partial class GetQueueUrlRequest : AmazonSQSRequest
    {
        private string _queueName;
        private string _queueOwnerAWSAccountId;
        /// 
        /// Empty constructor used to set  properties independently even when a simple constructor is available
        /// 
        public GetQueueUrlRequest() { }
        /// 
        /// Instantiates GetQueueUrlRequest with the parameterized properties
        /// 
        /// The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (-), and underscores (_). Queue URLs and names are case-sensitive.
        public GetQueueUrlRequest(string queueName)
        {
            _queueName = queueName;
        }
        /// 
        /// Gets and sets the property QueueName. 
        /// 
        /// The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values:
        /// alphanumeric characters, hyphens (-), and underscores (_).
        /// 
        ///  
        /// 
        /// Queue URLs and names are case-sensitive.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public string QueueName
        {
            get { return this._queueName; }
            set { this._queueName = value; }
        }
        // Check to see if QueueName property is set
        internal bool IsSetQueueName()
        {
            return this._queueName != null;
        }
        /// 
        /// Gets and sets the property QueueOwnerAWSAccountId. 
        /// 
        /// The Amazon Web Services account ID of the account that created the queue.
        /// 
        /// 
        public string QueueOwnerAWSAccountId
        {
            get { return this._queueOwnerAWSAccountId; }
            set { this._queueOwnerAWSAccountId = value; }
        }
        // Check to see if QueueOwnerAWSAccountId property is set
        internal bool IsSetQueueOwnerAWSAccountId()
        {
            return this._queueOwnerAWSAccountId != null;
        }
    }
}