/*
* 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 ListMessageMoveTasks operation.
/// Gets the most recent message movement tasks (up to 10) under a specific source queue.
///
/// -
///
/// This action is currently limited to supporting message redrive from dead-letter
/// queues (DLQs) only. In this context, the source queue is the dead-letter queue
/// (DLQ), while the destination queue can be the original source queue (from which the
/// messages were driven to the dead-letter-queue), or a custom destination queue.
///
///
-
///
/// Currently, only standard queues are supported.
///
///
-
///
/// Only one active message movement task is supported per queue at any given time.
///
///
///
public partial class ListMessageMoveTasksRequest : AmazonSQSRequest
{
private int? _maxResults;
private string _sourceArn;
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of results to include in the response. The default is 1, which
/// provides the most recent message movement task. The upper limit is 10.
///
///
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property SourceArn.
///
/// The ARN of the queue whose message movement tasks are to be listed.
///
///
[AWSProperty(Required=true)]
public string SourceArn
{
get { return this._sourceArn; }
set { this._sourceArn = value; }
}
// Check to see if SourceArn property is set
internal bool IsSetSourceArn()
{
return this._sourceArn != null;
}
}
}