/*
* 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 PutPipelineDefinition operation.
/// Adds tasks, schedules, and preconditions to the specified pipeline. You can use PutPipelineDefinition
/// to populate a new pipeline.
///
///
///
/// PutPipelineDefinition
also validates the configuration as it adds it
/// to the pipeline. Changes to the pipeline are saved unless one of the following three
/// validation errors exists in the pipeline.
///
/// - An object is missing a name or identifier field.
- A string or reference
/// field is empty.
- The number of objects in the pipeline exceeds the maximum
/// allowed objects.
- The pipeline is in a FINISHED state.
///
/// Pipeline object definitions are passed to the PutPipelineDefinition
/// action and returned by the GetPipelineDefinition action.
///
///
public partial class PutPipelineDefinitionRequest : AmazonDataPipelineRequest
{
private List _parameterObjects = new List();
private List _parameterValues = new List();
private string _pipelineId;
private List _pipelineObjects = new List();
///
/// Gets and sets the property ParameterObjects.
///
/// The parameter objects used with the pipeline.
///
///
public List ParameterObjects
{
get { return this._parameterObjects; }
set { this._parameterObjects = value; }
}
// Check to see if ParameterObjects property is set
internal bool IsSetParameterObjects()
{
return this._parameterObjects != null && this._parameterObjects.Count > 0;
}
///
/// Gets and sets the property ParameterValues.
///
/// The parameter values used with the pipeline.
///
///
public List ParameterValues
{
get { return this._parameterValues; }
set { this._parameterValues = value; }
}
// Check to see if ParameterValues property is set
internal bool IsSetParameterValues()
{
return this._parameterValues != null && this._parameterValues.Count > 0;
}
///
/// 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 PipelineObjects.
///
/// The objects that define the pipeline. These objects overwrite the existing pipeline
/// definition.
///
///
[AWSProperty(Required=true)]
public List PipelineObjects
{
get { return this._pipelineObjects; }
set { this._pipelineObjects = value; }
}
// Check to see if PipelineObjects property is set
internal bool IsSetPipelineObjects()
{
return this._pipelineObjects != null && this._pipelineObjects.Count > 0;
}
}
}