/*
* 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 kinesisvideo-2017-09-30.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.KinesisVideo.Model
{
///
/// Container for the parameters to the UpdateSignalingChannel operation.
/// Updates the existing signaling channel. This is an asynchronous operation and takes
/// time to complete.
///
///
///
/// If the MessageTtlSeconds
value is updated (either increased or reduced),
/// it only applies to new messages sent via this channel after it's been updated. Existing
/// messages are still expired as per the previous MessageTtlSeconds
value.
///
///
public partial class UpdateSignalingChannelRequest : AmazonKinesisVideoRequest
{
private string _channelARN;
private string _currentVersion;
private SingleMasterConfiguration _singleMasterConfiguration;
///
/// Gets and sets the property ChannelARN.
///
/// The Amazon Resource Name (ARN) of the signaling channel that you want to update.
///
///
[AWSProperty(Required=true, Min=1, Max=1024)]
public string ChannelARN
{
get { return this._channelARN; }
set { this._channelARN = value; }
}
// Check to see if ChannelARN property is set
internal bool IsSetChannelARN()
{
return this._channelARN != null;
}
///
/// Gets and sets the property CurrentVersion.
///
/// The current version of the signaling channel that you want to update.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string CurrentVersion
{
get { return this._currentVersion; }
set { this._currentVersion = value; }
}
// Check to see if CurrentVersion property is set
internal bool IsSetCurrentVersion()
{
return this._currentVersion != null;
}
///
/// Gets and sets the property SingleMasterConfiguration.
///
/// The structure containing the configuration for the SINGLE_MASTER
type
/// of the signaling channel that you want to update.
///
///
public SingleMasterConfiguration SingleMasterConfiguration
{
get { return this._singleMasterConfiguration; }
set { this._singleMasterConfiguration = value; }
}
// Check to see if SingleMasterConfiguration property is set
internal bool IsSetSingleMasterConfiguration()
{
return this._singleMasterConfiguration != null;
}
}
}