/*
* 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 RebootInputDevice operation.
/// Send a reboot command to the specified input device. The device will begin rebooting
/// within a few seconds of sending the command. When the reboot is complete, the device’s
/// connection status will change to connected.
///
public partial class RebootInputDeviceRequest : AmazonMediaLiveRequest
{
private RebootInputDeviceForce _force;
private string _inputDeviceId;
///
/// Gets and sets the property Force. Force a reboot of an input device. If the device
/// is streaming, it will stop streaming and begin rebooting within a few seconds of sending
/// the command. If the device was streaming prior to the reboot, the device will resume
/// streaming when the reboot completes.
///
public RebootInputDeviceForce Force
{
get { return this._force; }
set { this._force = value; }
}
// Check to see if Force property is set
internal bool IsSetForce()
{
return this._force != null;
}
///
/// Gets and sets the property InputDeviceId. The unique ID of the input device to reboot.
/// For example, hd-123456789abcdef.
///
[AWSProperty(Required=true)]
public string InputDeviceId
{
get { return this._inputDeviceId; }
set { this._inputDeviceId = value; }
}
// Check to see if InputDeviceId property is set
internal bool IsSetInputDeviceId()
{
return this._inputDeviceId != null;
}
}
}