/* * 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 { /// /// Container for the parameters to the CreateChannel operation. /// Creates a channel. For information about MediaTailor channels, see Working /// with channels in the MediaTailor User Guide. /// public partial class CreateChannelRequest : AmazonMediaTailorRequest { private string _channelName; private SlateSource _fillerSlate; private List _outputs = new List(); private PlaybackMode _playbackMode; private Dictionary _tags = new Dictionary(); private Tier _tier; /// /// Gets and sets the property ChannelName. /// /// The name of the channel. /// /// [AWSProperty(Required=true)] 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 FillerSlate. /// /// The slate used to fill gaps between programs in the schedule. You must configure filler /// slate if your channel uses the LINEAR PlaybackMode. MediaTailor /// doesn't support filler slate for channels using the LOOP PlaybackMode. /// /// 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 Outputs. /// /// The channel's output properties. /// /// [AWSProperty(Required=true)] 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 type of playback mode to use for this channel. /// /// /// /// LINEAR - The programs in the schedule play once back-to-back in the /// schedule. /// /// /// /// LOOP - The programs in the schedule play back-to-back in an endless /// loop. When the last program in the schedule stops playing, playback loops back to /// the first program in the schedule. /// /// [AWSProperty(Required=true)] public PlaybackMode 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 to assign 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 tier of the channel. /// /// public Tier Tier { get { return this._tier; } set { this._tier = value; } } // Check to see if Tier property is set internal bool IsSetTier() { return this._tier != null; } } }