/*******************************************************************************
 *  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.Collections.Generic;
using System.Xml.Serialization;

namespace Amazon.CloudFront.Model
{
    /// <summary>
    /// The ListOriginAccessIdentitiesResponse contains the ListOriginAccessIdentitiesResult and
    /// any headers or metadata returned by CloudFront.
    /// </summary>
    /// <seealso href="http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/ListOAIs.html">
    /// Amazon CloudFront Get Origin Access Identity List</seealso>
    [XmlRootAttribute(Namespace = "http://cloudfront.amazonaws.com/doc/2009-12-01/", IsNullable = false)]
    public class ListOriginAccessIdentitiesResponse : CloudFrontResponse
    {
        #region Private Members

        private string marker;
        private string maxItems;
        private string nextMarker;
        private bool isTruncated;
        private List<CloudFrontOriginAccessIdentity> originAccessIdentities = new List<CloudFrontOriginAccessIdentity>();

        #endregion

        #region OriginAccessIdentities

        /// <summary>
        /// Gets the List of Origin Access Identities returned by CloudFront
        /// </summary>
        [XmlElementAttribute(ElementName = "OriginAccessIdentities")]
        public List<CloudFrontOriginAccessIdentity> OriginAccessIdentities
        {
            get { return this.originAccessIdentities; }
        }

        #endregion

        #region Marker

        /// <summary>
        /// Gets and sets the Marker property.
        /// </summary>
        [XmlElementAttribute(ElementName = "Marker")]
        public string Marker
        {
            get { return this.marker; }
            set { this.marker = value; }
        }

        #endregion

        #region MaxItems

        /// <summary>
        /// Gets and sets the MaxItems property.
        /// </summary>
        [XmlElementAttribute(ElementName = "MaxItems")]
        public string MaxItems
        {
            get { return this.maxItems; }
            set { this.maxItems = value; }
        }

        #endregion

        #region NextMarker

        /// <summary>
        /// Gets and sets the NextMarker property.
        /// </summary>
        [XmlElementAttribute(ElementName = "NextMarker")]
        public string NextMarker
        {
            get { return this.nextMarker; }
            set { this.nextMarker = value; }
        }

        #endregion

        #region IsTruncated

        /// <summary>
        /// Gets and sets the IsTruncated property.
        /// </summary>
        [XmlElementAttribute(ElementName = "IsTruncated")]
        public bool IsTruncated
        {
            get { return this.isTruncated; }
            set { this.isTruncated = value; }
        }

        #endregion
    }
}