/* * 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 { /// /// Container for the parameters to the UpdateInput operation. /// Updates an input. /// public partial class UpdateInputRequest : AmazonMediaLiveRequest { private List _destinations = new List(); private List _inputDevices = new List(); private string _inputId; private List _inputSecurityGroups = new List(); private List _mediaConnectFlows = new List(); private string _name; private string _roleArn; private List _sources = new List(); /// /// Gets and sets the property Destinations. Destination settings for PUSH type inputs. /// 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 InputDevices. Settings for the 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 InputId. Unique ID of the input. /// [AWSProperty(Required=true)] public string InputId { get { return this._inputId; } set { this._inputId = value; } } // Check to see if InputId property is set internal bool IsSetInputId() { return this._inputId != null; } /// /// Gets and sets the property InputSecurityGroups. A list of security groups referenced /// by IDs to attach to the input. /// public List InputSecurityGroups { get { return this._inputSecurityGroups; } set { this._inputSecurityGroups = value; } } // Check to see if InputSecurityGroups property is set internal bool IsSetInputSecurityGroups() { return this._inputSecurityGroups != null && this._inputSecurityGroups.Count > 0; } /// /// Gets and sets the property MediaConnectFlows. A list of the MediaConnect Flow ARNs /// that you want to use as the source of the input. You can specify as few as oneFlow /// and presently, as many as two. The only requirement is when you have more than one /// is that each Flow is in aseparate Availability Zone as this ensures your EML input /// is redundant to AZ issues. /// 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. Name of the input. /// 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 Sources. The source URLs for a PULL-type input. Every PULL /// type input needsexactly two source URLs for redundancy.Only specify sources for PULL /// type Inputs. Leave Destinations empty. /// 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; } } }