/*
* 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 chime-sdk-media-pipelines-2021-07-15.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.ChimeSDKMediaPipelines.Model
{
///
/// The connector pipeline.
///
public partial class MediaLiveConnectorPipeline
{
private DateTime? _createdTimestamp;
private string _mediaPipelineArn;
private string _mediaPipelineId;
private List _sinks = new List();
private List _sources = new List();
private MediaPipelineStatus _status;
private DateTime? _updatedTimestamp;
///
/// Gets and sets the property CreatedTimestamp.
///
/// The time at which the connector pipeline was created.
///
///
public DateTime CreatedTimestamp
{
get { return this._createdTimestamp.GetValueOrDefault(); }
set { this._createdTimestamp = value; }
}
// Check to see if CreatedTimestamp property is set
internal bool IsSetCreatedTimestamp()
{
return this._createdTimestamp.HasValue;
}
///
/// Gets and sets the property MediaPipelineArn.
///
/// The connector pipeline's ARN.
///
///
[AWSProperty(Min=1, Max=1011)]
public string MediaPipelineArn
{
get { return this._mediaPipelineArn; }
set { this._mediaPipelineArn = value; }
}
// Check to see if MediaPipelineArn property is set
internal bool IsSetMediaPipelineArn()
{
return this._mediaPipelineArn != null;
}
///
/// Gets and sets the property MediaPipelineId.
///
/// The connector pipeline's ID.
///
///
[AWSProperty(Min=36, Max=36)]
public string MediaPipelineId
{
get { return this._mediaPipelineId; }
set { this._mediaPipelineId = value; }
}
// Check to see if MediaPipelineId property is set
internal bool IsSetMediaPipelineId()
{
return this._mediaPipelineId != null;
}
///
/// Gets and sets the property Sinks.
///
/// The connector pipeline's data sinks.
///
///
[AWSProperty(Min=1, Max=1)]
public List Sinks
{
get { return this._sinks; }
set { this._sinks = value; }
}
// Check to see if Sinks property is set
internal bool IsSetSinks()
{
return this._sinks != null && this._sinks.Count > 0;
}
///
/// Gets and sets the property Sources.
///
/// The connector pipeline's data sources.
///
///
[AWSProperty(Min=1, Max=1)]
public List Sources
{
get { return this._sources; }
set { this._sources = value; }
}
// Check to see if Sources property is set
internal bool IsSetSources()
{
return this._sources != null && this._sources.Count > 0;
}
///
/// Gets and sets the property Status.
///
/// The connector pipeline's status.
///
///
public MediaPipelineStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property UpdatedTimestamp.
///
/// The time at which the connector pipeline was last updated.
///
///
public DateTime UpdatedTimestamp
{
get { return this._updatedTimestamp.GetValueOrDefault(); }
set { this._updatedTimestamp = value; }
}
// Check to see if UpdatedTimestamp property is set
internal bool IsSetUpdatedTimestamp()
{
return this._updatedTimestamp.HasValue;
}
}
}