/*
* 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
{
///
/// Container for the parameters to the GetPipelineDefinition operation.
/// Gets the definition of the specified pipeline. You can call GetPipelineDefinition
/// to retrieve the pipeline definition that you provided using PutPipelineDefinition.
///
public partial class GetPipelineDefinitionRequest : AmazonDataPipelineRequest
{
private string _pipelineId;
private string _version;
///
/// Gets and sets the property PipelineId.
///
/// The ID of the pipeline.
///
///
[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;
}
///
/// Gets and sets the property Version.
///
/// The version of the pipeline definition to retrieve. Set this parameter to latest
/// (default) to use the last definition saved to the pipeline or active
/// to use the last definition that was activated.
///
///
[AWSProperty(Min=0, Max=1024)]
public string Version
{
get { return this._version; }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version != null;
}
}
}