/*
* 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 connect-2017-08-08.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.Connect.Model
{
///
/// Contains summary information about a routing profile queue.
///
public partial class RoutingProfileQueueConfigSummary
{
private Channel _channel;
private int? _delay;
private int? _priority;
private string _queueArn;
private string _queueId;
private string _queueName;
///
/// Gets and sets the property Channel.
///
/// The channels this queue supports.
///
///
[AWSProperty(Required=true)]
public Channel Channel
{
get { return this._channel; }
set { this._channel = value; }
}
// Check to see if Channel property is set
internal bool IsSetChannel()
{
return this._channel != null;
}
///
/// Gets and sets the property Delay.
///
/// The delay, in seconds, that a contact should be in the queue before they are routed
/// to an available agent. For more information, see Queues:
/// priority and delay in the Amazon Connect Administrator Guide.
///
///
[AWSProperty(Required=true, Min=0, Max=9999)]
public int Delay
{
get { return this._delay.GetValueOrDefault(); }
set { this._delay = value; }
}
// Check to see if Delay property is set
internal bool IsSetDelay()
{
return this._delay.HasValue;
}
///
/// Gets and sets the property Priority.
///
/// The order in which contacts are to be handled for the queue. For more information,
/// see Queues:
/// priority and delay.
///
///
[AWSProperty(Required=true, Min=1, Max=99)]
public int Priority
{
get { return this._priority.GetValueOrDefault(); }
set { this._priority = value; }
}
// Check to see if Priority property is set
internal bool IsSetPriority()
{
return this._priority.HasValue;
}
///
/// Gets and sets the property QueueArn.
///
/// The Amazon Resource Name (ARN) of the queue.
///
///
[AWSProperty(Required=true)]
public string QueueArn
{
get { return this._queueArn; }
set { this._queueArn = value; }
}
// Check to see if QueueArn property is set
internal bool IsSetQueueArn()
{
return this._queueArn != null;
}
///
/// Gets and sets the property QueueId.
///
/// The identifier for the queue.
///
///
[AWSProperty(Required=true)]
public string QueueId
{
get { return this._queueId; }
set { this._queueId = value; }
}
// Check to see if QueueId property is set
internal bool IsSetQueueId()
{
return this._queueId != null;
}
///
/// Gets and sets the property QueueName.
///
/// The name of the queue.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
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;
}
}
}