/*
* 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 mediatailor-2018-04-23.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.MediaTailor.Model
{
///
/// This is the response object from the DescribeChannel operation.
///
public partial class DescribeChannelResponse : AmazonWebServiceResponse
{
private string _arn;
private string _channelName;
private ChannelState _channelState;
private DateTime? _creationTime;
private SlateSource _fillerSlate;
private DateTime? _lastModifiedTime;
private LogConfigurationForChannel _logConfiguration;
private List _outputs = new List();
private string _playbackMode;
private Dictionary _tags = new Dictionary();
private string _tier;
///
/// Gets and sets the property Arn.
///
/// The 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 ChannelName.
///
/// The name of the channel.
///
///
public string ChannelName
{
get { return this._channelName; }
set { this._channelName = value; }
}
// Check to see if ChannelName property is set
internal bool IsSetChannelName()
{
return this._channelName != null;
}
///
/// Gets and sets the property ChannelState.
///
/// Indicates whether the channel is in a running state or not.
///
///
public ChannelState ChannelState
{
get { return this._channelState; }
set { this._channelState = value; }
}
// Check to see if ChannelState property is set
internal bool IsSetChannelState()
{
return this._channelState != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The timestamp of when the channel was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property FillerSlate.
///
/// Contains information about the slate used to fill gaps between programs in the schedule.
///
///
public SlateSource FillerSlate
{
get { return this._fillerSlate; }
set { this._fillerSlate = value; }
}
// Check to see if FillerSlate property is set
internal bool IsSetFillerSlate()
{
return this._fillerSlate != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// The timestamp of when the channel was last modified.
///
///
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property LogConfiguration.
///
/// The log configuration for the channel.
///
///
[AWSProperty(Required=true)]
public LogConfigurationForChannel LogConfiguration
{
get { return this._logConfiguration; }
set { this._logConfiguration = value; }
}
// Check to see if LogConfiguration property is set
internal bool IsSetLogConfiguration()
{
return this._logConfiguration != null;
}
///
/// Gets and sets the property Outputs.
///
/// The channel's output properties.
///
///
public List Outputs
{
get { return this._outputs; }
set { this._outputs = value; }
}
// Check to see if Outputs property is set
internal bool IsSetOutputs()
{
return this._outputs != null && this._outputs.Count > 0;
}
///
/// Gets and sets the property PlaybackMode.
///
/// The channel's playback mode.
///
///
public string PlaybackMode
{
get { return this._playbackMode; }
set { this._playbackMode = value; }
}
// Check to see if PlaybackMode property is set
internal bool IsSetPlaybackMode()
{
return this._playbackMode != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags assigned to the channel. Tags are key-value pairs that you can associate
/// with Amazon resources to help with organization, access control, and cost tracking.
/// For more information, see Tagging
/// AWS Elemental MediaTailor Resources.
///
///
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 Tier.
///
/// The channel's tier.
///
///
public string Tier
{
get { return this._tier; }
set { this._tier = value; }
}
// Check to see if Tier property is set
internal bool IsSetTier()
{
return this._tier != null;
}
}
}