/*******************************************************************************
 *  Copyright 2008-2010 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.
 * *****************************************************************************
 *    __  _    _  ___
 *   (  )( \/\/ )/ __)
 *   /__\ \    / \__ \
 *  (_)(_) \/\/  (___/
 *
 *  AWS SDK for .NET
 *  API Version: 2009-12-01
 *
 */

using System.Xml.Serialization;

namespace Amazon.CloudFront.Model
{
    /// <summary>
    /// The ListStreamingDistributionsRequest contains the parameters used for the ListStreamingDistributions operation.
    /// All parameters to this request object are optional.
    /// </summary>
    public class ListStreamingDistributionsRequest : CloudFrontRequest
    {
        #region Marker

        /// <summary>
        /// Gets and sets the Marker property.
        /// All keys returned will be lexiographically after the marker.
        /// </summary>
        [XmlElementAttribute(ElementName = "Marker")]
        public override string Marker
        {
            get { return this.reqMarker; }
            set { this.reqMarker = value; }
        }

        /// <summary>
        /// Sets the Marker property for this request.
        /// All keys returned will be lexiographically after the marker.
        /// </summary>
        /// <param name="marker">the value that Marker is set to</param>
        /// <returns>this instance</returns>
        public ListStreamingDistributionsRequest WithMarker(string marker)
        {
            this.reqMarker = marker;
            return this;
        }

        #endregion

        #region MaxItems

        /// <summary>
        /// Gets and sets the MaxItems property.
        /// Limits the result set of keys to MaxItems.
        /// </summary>
        [XmlElementAttribute(ElementName = "MaxItems")]
        public override string MaxItems
        {
            get { return this.reqMaxItems; }
            set { this.reqMaxItems = value; }
        }

        /// <summary>
        /// Sets the MaxItems property for this request.
        /// Limits the result set of keys to MaxItems.
        /// </summary>
        /// <param name="maxItems">the value that MaxItems is set to</param>
        /// <returns>this instance</returns>
        public ListStreamingDistributionsRequest WithMaxItems(string maxItems)
        {
            this.reqMaxItems = maxItems;
            return this;
        }

        #endregion
    }
}