/*
* 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 iotanalytics-2017-11-27.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.IoTAnalytics.Model
{
///
/// Contains information about a pipeline.
///
public partial class Pipeline
{
private List _activities = new List();
private string _arn;
private DateTime? _creationTime;
private DateTime? _lastUpdateTime;
private string _name;
private List _reprocessingSummaries = new List();
///
/// Gets and sets the property Activities.
///
/// The activities that perform transformations on the messages.
///
///
[AWSProperty(Min=1, Max=25)]
public List Activities
{
get { return this._activities; }
set { this._activities = value; }
}
// Check to see if Activities property is set
internal bool IsSetActivities()
{
return this._activities != null && this._activities.Count > 0;
}
///
/// Gets and sets the property Arn.
///
/// The ARN of the pipeline.
///
///
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property CreationTime.
///
/// When the pipeline was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property LastUpdateTime.
///
/// The last time the pipeline was updated.
///
///
public DateTime LastUpdateTime
{
get { return this._lastUpdateTime.GetValueOrDefault(); }
set { this._lastUpdateTime = value; }
}
// Check to see if LastUpdateTime property is set
internal bool IsSetLastUpdateTime()
{
return this._lastUpdateTime.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the pipeline.
///
///
[AWSProperty(Min=1, Max=128)]
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 ReprocessingSummaries.
///
/// A summary of information about the pipeline reprocessing.
///
///
public List ReprocessingSummaries
{
get { return this._reprocessingSummaries; }
set { this._reprocessingSummaries = value; }
}
// Check to see if ReprocessingSummaries property is set
internal bool IsSetReprocessingSummaries()
{
return this._reprocessingSummaries != null && this._reprocessingSummaries.Count > 0;
}
}
}