/*
* 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
{
///
/// Contains pipeline metadata.
///
public partial class PipelineDescription
{
private string _description;
private List _fields = new List();
private string _name;
private string _pipelineId;
private List _tags = new List();
///
/// Gets and sets the property Description.
///
/// Description of the pipeline.
///
///
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Fields.
///
/// A list of read-only fields that contain metadata about the pipeline: @userId, @accountId,
/// and @pipelineState.
///
///
[AWSProperty(Required=true)]
public List Fields
{
get { return this._fields; }
set { this._fields = value; }
}
// Check to see if Fields property is set
internal bool IsSetFields()
{
return this._fields != null && this._fields.Count > 0;
}
///
/// Gets and sets the property Name.
///
/// The name of the pipeline.
///
///
[AWSProperty(Required=true, Min=1, Max=1024)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property PipelineId.
///
/// The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of
/// the form df-297EG78HU43EEXAMPLE
.
///
///
[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 Tags.
///
/// A list of tags to associated with a pipeline. Tags let you control access to pipelines.
/// For more information, see Controlling
/// User Access to Pipelines in the AWS Data Pipeline Developer Guide.
///
///
[AWSProperty(Min=0, Max=10)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}