/* * 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 ivs-2020-07-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.IVS.Model { /// /// Object that describes which renditions should be recorded for a stream. /// public partial class RenditionConfiguration { private List _renditions = new List(); private RenditionConfigurationRenditionSelection _renditionSelection; /// /// Gets and sets the property Renditions. /// /// Indicates which renditions are recorded for a stream, if renditionSelection /// is CUSTOM; otherwise, this field is irrelevant. The selected renditions /// are recorded if they are available during the stream. If a selected rendition is unavailable, /// the best available rendition is recorded. For details on the resolution dimensions /// of each rendition, see Auto-Record /// to Amazon S3. /// /// public List Renditions { get { return this._renditions; } set { this._renditions = value; } } // Check to see if Renditions property is set internal bool IsSetRenditions() { return this._renditions != null && this._renditions.Count > 0; } /// /// Gets and sets the property RenditionSelection. /// /// Indicates which set of renditions are recorded for a stream. For BASIC /// channels, the CUSTOM value has no effect. If CUSTOM is specified, /// a set of renditions must be specified in the renditions field. Default: /// ALL. /// /// public RenditionConfigurationRenditionSelection RenditionSelection { get { return this._renditionSelection; } set { this._renditionSelection = value; } } // Check to see if RenditionSelection property is set internal bool IsSetRenditionSelection() { return this._renditionSelection != null; } } }