/*
* 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 DescribeInputResponse
///
public partial class DescribeInputResponse : AmazonWebServiceResponse
{
private string _arn;
private List _attachedChannels = new List();
private List _destinations = new List();
private string _id;
private InputClass _inputClass;
private List _inputDevices = new List();
private List _inputPartnerIds = new List();
private InputSourceType _inputSourceType;
private List _mediaConnectFlows = new List();
private string _name;
private string _roleArn;
private List _securityGroups = new List();
private List _sources = new List();
private InputState _state;
private Dictionary _tags = new Dictionary();
private InputType _type;
///
/// Gets and sets the property Arn. The Unique ARN of the input (generated, immutable).
///
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 AttachedChannels. A list of channel IDs that that input
/// is attached to (currently an input can only be attached to one channel).
///
public List AttachedChannels
{
get { return this._attachedChannels; }
set { this._attachedChannels = value; }
}
// Check to see if AttachedChannels property is set
internal bool IsSetAttachedChannels()
{
return this._attachedChannels != null && this._attachedChannels.Count > 0;
}
///
/// Gets and sets the property Destinations. A list of the destinations of the input (PUSH-type).
///
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 generated ID of the input (unique for user account,
/// immutable).
///
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 InputClass. STANDARD - MediaLive expects two sources to
/// be connected to this input. If the channel is also STANDARD, both sources will be
/// ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested;
/// the second source will always be ignored, even if the first source fails.SINGLE_PIPELINE
/// - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE,
/// this value is valid. If the ChannelClass is STANDARD, this value is not valid because
/// the channel requires two sources in the input.
///
public InputClass InputClass
{
get { return this._inputClass; }
set { this._inputClass = value; }
}
// Check to see if InputClass property is set
internal bool IsSetInputClass()
{
return this._inputClass != null;
}
///
/// Gets and sets the property InputDevices. Settings for the input devices.
///
public List InputDevices
{
get { return this._inputDevices; }
set { this._inputDevices = value; }
}
// Check to see if InputDevices property is set
internal bool IsSetInputDevices()
{
return this._inputDevices != null && this._inputDevices.Count > 0;
}
///
/// Gets and sets the property InputPartnerIds. A list of IDs for all Inputs which are
/// partners of this one.
///
public List InputPartnerIds
{
get { return this._inputPartnerIds; }
set { this._inputPartnerIds = value; }
}
// Check to see if InputPartnerIds property is set
internal bool IsSetInputPartnerIds()
{
return this._inputPartnerIds != null && this._inputPartnerIds.Count > 0;
}
///
/// Gets and sets the property InputSourceType. Certain pull input sources can be dynamic,
/// meaning that they can have their URL's dynamically changesduring input switch actions.
/// Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
///
public InputSourceType InputSourceType
{
get { return this._inputSourceType; }
set { this._inputSourceType = value; }
}
// Check to see if InputSourceType property is set
internal bool IsSetInputSourceType()
{
return this._inputSourceType != null;
}
///
/// Gets and sets the property MediaConnectFlows. A list of MediaConnect Flows for this
/// input.
///
public List MediaConnectFlows
{
get { return this._mediaConnectFlows; }
set { this._mediaConnectFlows = value; }
}
// Check to see if MediaConnectFlows property is set
internal bool IsSetMediaConnectFlows()
{
return this._mediaConnectFlows != null && this._mediaConnectFlows.Count > 0;
}
///
/// Gets and sets the property Name. The user-assigned name (This is a mutable value).
///
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 RoleArn. The Amazon Resource Name (ARN) of the role this
/// input assumes during and after creation.
///
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 SecurityGroups. A list of IDs for all the Input Security
/// Groups attached to the input.
///
public List SecurityGroups
{
get { return this._securityGroups; }
set { this._securityGroups = value; }
}
// Check to see if SecurityGroups property is set
internal bool IsSetSecurityGroups()
{
return this._securityGroups != null && this._securityGroups.Count > 0;
}
///
/// Gets and sets the property Sources. A list of the sources of the input (PULL-type).
///
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 State.
///
public InputState 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 Type.
///
public InputType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}