/*
* 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 medialive-2017-10-14.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.MediaLive.Model
{
///
/// The multiplex object.
///
public partial class Multiplex
{
private string _arn;
private List _availabilityZones = new List();
private List _destinations = new List();
private string _id;
private MultiplexSettings _multiplexSettings;
private string _name;
private int? _pipelinesRunningCount;
private int? _programCount;
private MultiplexState _state;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property Arn. The unique arn of the multiplex.
///
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 AvailabilityZones. A list of availability zones for the
/// multiplex.
///
public List AvailabilityZones
{
get { return this._availabilityZones; }
set { this._availabilityZones = value; }
}
// Check to see if AvailabilityZones property is set
internal bool IsSetAvailabilityZones()
{
return this._availabilityZones != null && this._availabilityZones.Count > 0;
}
///
/// Gets and sets the property Destinations. A list of the multiplex output destinations.
///
public List Destinations
{
get { return this._destinations; }
set { this._destinations = value; }
}
// Check to see if Destinations property is set
internal bool IsSetDestinations()
{
return this._destinations != null && this._destinations.Count > 0;
}
///
/// Gets and sets the property Id. The unique id of the multiplex.
///
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property MultiplexSettings. Configuration for a multiplex event.
///
public MultiplexSettings MultiplexSettings
{
get { return this._multiplexSettings; }
set { this._multiplexSettings = value; }
}
// Check to see if MultiplexSettings property is set
internal bool IsSetMultiplexSettings()
{
return this._multiplexSettings != null;
}
///
/// Gets and sets the property Name. The name of the multiplex.
///
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 PipelinesRunningCount. The number of currently healthy
/// pipelines.
///
public int PipelinesRunningCount
{
get { return this._pipelinesRunningCount.GetValueOrDefault(); }
set { this._pipelinesRunningCount = value; }
}
// Check to see if PipelinesRunningCount property is set
internal bool IsSetPipelinesRunningCount()
{
return this._pipelinesRunningCount.HasValue;
}
///
/// Gets and sets the property ProgramCount. The number of programs in the multiplex.
///
public int ProgramCount
{
get { return this._programCount.GetValueOrDefault(); }
set { this._programCount = value; }
}
// Check to see if ProgramCount property is set
internal bool IsSetProgramCount()
{
return this._programCount.HasValue;
}
///
/// Gets and sets the property State. The current state of the multiplex.
///
public MultiplexState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
///
/// Gets and sets the property Tags. A collection of key-value pairs.
///
public Dictionary 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;
}
}
}