/*
 * 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 datapipeline-2012-10-29.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.DataPipeline.Model
{
    /// <summary>
    /// Container for the parameters to the DescribeObjects operation.
    /// Gets the object definitions for a set of objects associated with the pipeline. Object
    /// definitions are composed of a set of fields that define the properties of the object.
    /// </summary>
    public partial class DescribeObjectsRequest : AmazonDataPipelineRequest
    {
        private bool? _evaluateExpressions;
        private string _marker;
        private List<string> _objectIds = new List<string>();
        private string _pipelineId;

        /// <summary>
        /// Gets and sets the property EvaluateExpressions. 
        /// <para>
        /// Indicates whether any expressions in the object should be evaluated when the object
        /// descriptions are returned.
        /// </para>
        /// </summary>
        public bool EvaluateExpressions
        {
            get { return this._evaluateExpressions.GetValueOrDefault(); }
            set { this._evaluateExpressions = value; }
        }

        // Check to see if EvaluateExpressions property is set
        internal bool IsSetEvaluateExpressions()
        {
            return this._evaluateExpressions.HasValue; 
        }

        /// <summary>
        /// Gets and sets the property Marker. 
        /// <para>
        /// The starting point for the results to be returned. For the first call, this value
        /// should be empty. As long as there are more results, continue to call <code>DescribeObjects</code>
        /// with the marker value from the previous call to retrieve the next set of results.
        /// </para>
        /// </summary>
        [AWSProperty(Min=0, Max=1024)]
        public string Marker
        {
            get { return this._marker; }
            set { this._marker = value; }
        }

        // Check to see if Marker property is set
        internal bool IsSetMarker()
        {
            return this._marker != null;
        }

        /// <summary>
        /// Gets and sets the property ObjectIds. 
        /// <para>
        /// The IDs of the pipeline objects that contain the definitions to be described. You
        /// can pass as many as 25 identifiers in a single call to <code>DescribeObjects</code>.
        /// </para>
        /// </summary>
        [AWSProperty(Required=true)]
        public List<string> ObjectIds
        {
            get { return this._objectIds; }
            set { this._objectIds = value; }
        }

        // Check to see if ObjectIds property is set
        internal bool IsSetObjectIds()
        {
            return this._objectIds != null && this._objectIds.Count > 0; 
        }

        /// <summary>
        /// Gets and sets the property PipelineId. 
        /// <para>
        /// The ID of the pipeline that contains the object definitions.
        /// </para>
        /// </summary>
        [AWSProperty(Required=true, Min=1, Max=1024)]
        public string PipelineId
        {
            get { return this._pipelineId; }
            set { this._pipelineId = value; }
        }

        // Check to see if PipelineId property is set
        internal bool IsSetPipelineId()
        {
            return this._pipelineId != null;
        }

    }
}