/* * 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 { /// /// Placeholder documentation for Channel /// public partial class Channel { private string _arn; private CdiInputSpecification _cdiInputSpecification; private ChannelClass _channelClass; private List _destinations = new List(); private List _egressEndpoints = new List(); private EncoderSettings _encoderSettings; private string _id; private List _inputAttachments = new List(); private InputSpecification _inputSpecification; private LogLevel _logLevel; private MaintenanceStatus _maintenance; private string _name; private List _pipelineDetails = new List(); private int? _pipelinesRunningCount; private string _roleArn; private ChannelState _state; private Dictionary _tags = new Dictionary(); private VpcOutputSettingsDescription _vpc; /// /// Gets and sets the property Arn. The unique arn of the channel. /// 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 CdiInputSpecification. Specification of CDI inputs for /// this channel /// public CdiInputSpecification CdiInputSpecification { get { return this._cdiInputSpecification; } set { this._cdiInputSpecification = value; } } // Check to see if CdiInputSpecification property is set internal bool IsSetCdiInputSpecification() { return this._cdiInputSpecification != null; } /// /// Gets and sets the property ChannelClass. The class for this channel. STANDARD for /// a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline. /// public ChannelClass ChannelClass { get { return this._channelClass; } set { this._channelClass = value; } } // Check to see if ChannelClass property is set internal bool IsSetChannelClass() { return this._channelClass != null; } /// /// Gets and sets the property Destinations. A list of destinations of the channel. For /// UDP outputs, there is onedestination per output. For other types (HLS, for example), /// there isone destination per packager. /// 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 EgressEndpoints. The endpoints where outgoing connections /// initiate from /// public List EgressEndpoints { get { return this._egressEndpoints; } set { this._egressEndpoints = value; } } // Check to see if EgressEndpoints property is set internal bool IsSetEgressEndpoints() { return this._egressEndpoints != null && this._egressEndpoints.Count > 0; } /// /// Gets and sets the property EncoderSettings. /// public EncoderSettings EncoderSettings { get { return this._encoderSettings; } set { this._encoderSettings = value; } } // Check to see if EncoderSettings property is set internal bool IsSetEncoderSettings() { return this._encoderSettings != null; } /// /// Gets and sets the property Id. The unique id of the channel. /// 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 InputAttachments. List of input attachments for channel. /// public List InputAttachments { get { return this._inputAttachments; } set { this._inputAttachments = value; } } // Check to see if InputAttachments property is set internal bool IsSetInputAttachments() { return this._inputAttachments != null && this._inputAttachments.Count > 0; } /// /// Gets and sets the property InputSpecification. Specification of network and file inputs /// for this channel /// public InputSpecification InputSpecification { get { return this._inputSpecification; } set { this._inputSpecification = value; } } // Check to see if InputSpecification property is set internal bool IsSetInputSpecification() { return this._inputSpecification != null; } /// /// Gets and sets the property LogLevel. The log level being written to CloudWatch Logs. /// public LogLevel LogLevel { get { return this._logLevel; } set { this._logLevel = value; } } // Check to see if LogLevel property is set internal bool IsSetLogLevel() { return this._logLevel != null; } /// /// Gets and sets the property Maintenance. Maintenance settings for this channel. /// public MaintenanceStatus Maintenance { get { return this._maintenance; } set { this._maintenance = value; } } // Check to see if Maintenance property is set internal bool IsSetMaintenance() { return this._maintenance != null; } /// /// Gets and sets the property Name. The name of the channel. (user-mutable) /// 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 PipelineDetails. Runtime details for the pipelines of a /// running channel. /// public List PipelineDetails { get { return this._pipelineDetails; } set { this._pipelineDetails = value; } } // Check to see if PipelineDetails property is set internal bool IsSetPipelineDetails() { return this._pipelineDetails != null && this._pipelineDetails.Count > 0; } /// /// 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 RoleArn. The Amazon Resource Name (ARN) of the role assumed /// when running the Channel. /// public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property State. /// public ChannelState 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; } /// /// Gets and sets the property Vpc. Settings for VPC output /// public VpcOutputSettingsDescription Vpc { get { return this._vpc; } set { this._vpc = value; } } // Check to see if Vpc property is set internal bool IsSetVpc() { return this._vpc != null; } } }