/* * 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 mediapackage-2017-10-12.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.MediaPackage { /// /// Constants used for properties of type __AdTriggersElement. /// public class __AdTriggersElement : ConstantClass { /// /// Constant BREAK for __AdTriggersElement /// public static readonly __AdTriggersElement BREAK = new __AdTriggersElement("BREAK"); /// /// Constant DISTRIBUTOR_ADVERTISEMENT for __AdTriggersElement /// public static readonly __AdTriggersElement DISTRIBUTOR_ADVERTISEMENT = new __AdTriggersElement("DISTRIBUTOR_ADVERTISEMENT"); /// /// Constant DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY for __AdTriggersElement /// public static readonly __AdTriggersElement DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY = new __AdTriggersElement("DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"); /// /// Constant DISTRIBUTOR_PLACEMENT_OPPORTUNITY for __AdTriggersElement /// public static readonly __AdTriggersElement DISTRIBUTOR_PLACEMENT_OPPORTUNITY = new __AdTriggersElement("DISTRIBUTOR_PLACEMENT_OPPORTUNITY"); /// /// Constant PROVIDER_ADVERTISEMENT for __AdTriggersElement /// public static readonly __AdTriggersElement PROVIDER_ADVERTISEMENT = new __AdTriggersElement("PROVIDER_ADVERTISEMENT"); /// /// Constant PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY for __AdTriggersElement /// public static readonly __AdTriggersElement PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY = new __AdTriggersElement("PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"); /// /// Constant PROVIDER_PLACEMENT_OPPORTUNITY for __AdTriggersElement /// public static readonly __AdTriggersElement PROVIDER_PLACEMENT_OPPORTUNITY = new __AdTriggersElement("PROVIDER_PLACEMENT_OPPORTUNITY"); /// /// Constant SPLICE_INSERT for __AdTriggersElement /// public static readonly __AdTriggersElement SPLICE_INSERT = new __AdTriggersElement("SPLICE_INSERT"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public __AdTriggersElement(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static __AdTriggersElement FindValue(string value) { return FindValue<__AdTriggersElement>(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator __AdTriggersElement(string value) { return FindValue(value); } } /// /// Constants used for properties of type __PeriodTriggersElement. /// public class __PeriodTriggersElement : ConstantClass { /// /// Constant ADS for __PeriodTriggersElement /// public static readonly __PeriodTriggersElement ADS = new __PeriodTriggersElement("ADS"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public __PeriodTriggersElement(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static __PeriodTriggersElement FindValue(string value) { return FindValue<__PeriodTriggersElement>(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator __PeriodTriggersElement(string value) { return FindValue(value); } } /// /// Constants used for properties of type AdMarkers. /// public class AdMarkers : ConstantClass { /// /// Constant DATERANGE for AdMarkers /// public static readonly AdMarkers DATERANGE = new AdMarkers("DATERANGE"); /// /// Constant NONE for AdMarkers /// public static readonly AdMarkers NONE = new AdMarkers("NONE"); /// /// Constant PASSTHROUGH for AdMarkers /// public static readonly AdMarkers PASSTHROUGH = new AdMarkers("PASSTHROUGH"); /// /// Constant SCTE35_ENHANCED for AdMarkers /// public static readonly AdMarkers SCTE35_ENHANCED = new AdMarkers("SCTE35_ENHANCED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AdMarkers(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AdMarkers FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AdMarkers(string value) { return FindValue(value); } } /// /// Constants used for properties of type AdsOnDeliveryRestrictions. /// public class AdsOnDeliveryRestrictions : ConstantClass { /// /// Constant BOTH for AdsOnDeliveryRestrictions /// public static readonly AdsOnDeliveryRestrictions BOTH = new AdsOnDeliveryRestrictions("BOTH"); /// /// Constant NONE for AdsOnDeliveryRestrictions /// public static readonly AdsOnDeliveryRestrictions NONE = new AdsOnDeliveryRestrictions("NONE"); /// /// Constant RESTRICTED for AdsOnDeliveryRestrictions /// public static readonly AdsOnDeliveryRestrictions RESTRICTED = new AdsOnDeliveryRestrictions("RESTRICTED"); /// /// Constant UNRESTRICTED for AdsOnDeliveryRestrictions /// public static readonly AdsOnDeliveryRestrictions UNRESTRICTED = new AdsOnDeliveryRestrictions("UNRESTRICTED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public AdsOnDeliveryRestrictions(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static AdsOnDeliveryRestrictions FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator AdsOnDeliveryRestrictions(string value) { return FindValue(value); } } /// /// Constants used for properties of type CmafEncryptionMethod. /// public class CmafEncryptionMethod : ConstantClass { /// /// Constant AES_CTR for CmafEncryptionMethod /// public static readonly CmafEncryptionMethod AES_CTR = new CmafEncryptionMethod("AES_CTR"); /// /// Constant SAMPLE_AES for CmafEncryptionMethod /// public static readonly CmafEncryptionMethod SAMPLE_AES = new CmafEncryptionMethod("SAMPLE_AES"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CmafEncryptionMethod(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CmafEncryptionMethod FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CmafEncryptionMethod(string value) { return FindValue(value); } } /// /// Constants used for properties of type EncryptionMethod. /// public class EncryptionMethod : ConstantClass { /// /// Constant AES_128 for EncryptionMethod /// public static readonly EncryptionMethod AES_128 = new EncryptionMethod("AES_128"); /// /// Constant SAMPLE_AES for EncryptionMethod /// public static readonly EncryptionMethod SAMPLE_AES = new EncryptionMethod("SAMPLE_AES"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public EncryptionMethod(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static EncryptionMethod FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator EncryptionMethod(string value) { return FindValue(value); } } /// /// Constants used for properties of type ManifestLayout. /// public class ManifestLayout : ConstantClass { /// /// Constant COMPACT for ManifestLayout /// public static readonly ManifestLayout COMPACT = new ManifestLayout("COMPACT"); /// /// Constant FULL for ManifestLayout /// public static readonly ManifestLayout FULL = new ManifestLayout("FULL"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ManifestLayout(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ManifestLayout FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ManifestLayout(string value) { return FindValue(value); } } /// /// Constants used for properties of type Origination. /// public class Origination : ConstantClass { /// /// Constant ALLOW for Origination /// public static readonly Origination ALLOW = new Origination("ALLOW"); /// /// Constant DENY for Origination /// public static readonly Origination DENY = new Origination("DENY"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public Origination(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static Origination FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator Origination(string value) { return FindValue(value); } } /// /// Constants used for properties of type PlaylistType. /// public class PlaylistType : ConstantClass { /// /// Constant EVENT for PlaylistType /// public static readonly PlaylistType EVENT = new PlaylistType("EVENT"); /// /// Constant NONE for PlaylistType /// public static readonly PlaylistType NONE = new PlaylistType("NONE"); /// /// Constant VOD for PlaylistType /// public static readonly PlaylistType VOD = new PlaylistType("VOD"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PlaylistType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PlaylistType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PlaylistType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PresetSpeke20Audio. /// public class PresetSpeke20Audio : ConstantClass { /// /// Constant PRESETAUDIO1 for PresetSpeke20Audio /// public static readonly PresetSpeke20Audio PRESETAUDIO1 = new PresetSpeke20Audio("PRESET-AUDIO-1"); /// /// Constant PRESETAUDIO2 for PresetSpeke20Audio /// public static readonly PresetSpeke20Audio PRESETAUDIO2 = new PresetSpeke20Audio("PRESET-AUDIO-2"); /// /// Constant PRESETAUDIO3 for PresetSpeke20Audio /// public static readonly PresetSpeke20Audio PRESETAUDIO3 = new PresetSpeke20Audio("PRESET-AUDIO-3"); /// /// Constant SHARED for PresetSpeke20Audio /// public static readonly PresetSpeke20Audio SHARED = new PresetSpeke20Audio("SHARED"); /// /// Constant UNENCRYPTED for PresetSpeke20Audio /// public static readonly PresetSpeke20Audio UNENCRYPTED = new PresetSpeke20Audio("UNENCRYPTED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PresetSpeke20Audio(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PresetSpeke20Audio FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PresetSpeke20Audio(string value) { return FindValue(value); } } /// /// Constants used for properties of type PresetSpeke20Video. /// public class PresetSpeke20Video : ConstantClass { /// /// Constant PRESETVIDEO1 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO1 = new PresetSpeke20Video("PRESET-VIDEO-1"); /// /// Constant PRESETVIDEO2 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO2 = new PresetSpeke20Video("PRESET-VIDEO-2"); /// /// Constant PRESETVIDEO3 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO3 = new PresetSpeke20Video("PRESET-VIDEO-3"); /// /// Constant PRESETVIDEO4 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO4 = new PresetSpeke20Video("PRESET-VIDEO-4"); /// /// Constant PRESETVIDEO5 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO5 = new PresetSpeke20Video("PRESET-VIDEO-5"); /// /// Constant PRESETVIDEO6 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO6 = new PresetSpeke20Video("PRESET-VIDEO-6"); /// /// Constant PRESETVIDEO7 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO7 = new PresetSpeke20Video("PRESET-VIDEO-7"); /// /// Constant PRESETVIDEO8 for PresetSpeke20Video /// public static readonly PresetSpeke20Video PRESETVIDEO8 = new PresetSpeke20Video("PRESET-VIDEO-8"); /// /// Constant SHARED for PresetSpeke20Video /// public static readonly PresetSpeke20Video SHARED = new PresetSpeke20Video("SHARED"); /// /// Constant UNENCRYPTED for PresetSpeke20Video /// public static readonly PresetSpeke20Video UNENCRYPTED = new PresetSpeke20Video("UNENCRYPTED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public PresetSpeke20Video(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static PresetSpeke20Video FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator PresetSpeke20Video(string value) { return FindValue(value); } } /// /// Constants used for properties of type Profile. /// public class Profile : ConstantClass { /// /// Constant DVB_DASH_2014 for Profile /// public static readonly Profile DVB_DASH_2014 = new Profile("DVB_DASH_2014"); /// /// Constant HBBTV_1_5 for Profile /// public static readonly Profile HBBTV_1_5 = new Profile("HBBTV_1_5"); /// /// Constant HYBRIDCAST for Profile /// public static readonly Profile HYBRIDCAST = new Profile("HYBRIDCAST"); /// /// Constant NONE for Profile /// public static readonly Profile NONE = new Profile("NONE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public Profile(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static Profile FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator Profile(string value) { return FindValue(value); } } /// /// Constants used for properties of type SegmentTemplateFormat. /// public class SegmentTemplateFormat : ConstantClass { /// /// Constant NUMBER_WITH_DURATION for SegmentTemplateFormat /// public static readonly SegmentTemplateFormat NUMBER_WITH_DURATION = new SegmentTemplateFormat("NUMBER_WITH_DURATION"); /// /// Constant NUMBER_WITH_TIMELINE for SegmentTemplateFormat /// public static readonly SegmentTemplateFormat NUMBER_WITH_TIMELINE = new SegmentTemplateFormat("NUMBER_WITH_TIMELINE"); /// /// Constant TIME_WITH_TIMELINE for SegmentTemplateFormat /// public static readonly SegmentTemplateFormat TIME_WITH_TIMELINE = new SegmentTemplateFormat("TIME_WITH_TIMELINE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SegmentTemplateFormat(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SegmentTemplateFormat FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SegmentTemplateFormat(string value) { return FindValue(value); } } /// /// Constants used for properties of type Status. /// public class Status : ConstantClass { /// /// Constant FAILED for Status /// public static readonly Status FAILED = new Status("FAILED"); /// /// Constant IN_PROGRESS for Status /// public static readonly Status IN_PROGRESS = new Status("IN_PROGRESS"); /// /// Constant SUCCEEDED for Status /// public static readonly Status SUCCEEDED = new Status("SUCCEEDED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public Status(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static Status FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator Status(string value) { return FindValue(value); } } /// /// Constants used for properties of type StreamOrder. /// public class StreamOrder : ConstantClass { /// /// Constant ORIGINAL for StreamOrder /// public static readonly StreamOrder ORIGINAL = new StreamOrder("ORIGINAL"); /// /// Constant VIDEO_BITRATE_ASCENDING for StreamOrder /// public static readonly StreamOrder VIDEO_BITRATE_ASCENDING = new StreamOrder("VIDEO_BITRATE_ASCENDING"); /// /// Constant VIDEO_BITRATE_DESCENDING for StreamOrder /// public static readonly StreamOrder VIDEO_BITRATE_DESCENDING = new StreamOrder("VIDEO_BITRATE_DESCENDING"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StreamOrder(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StreamOrder FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StreamOrder(string value) { return FindValue(value); } } /// /// Constants used for properties of type UtcTiming. /// public class UtcTiming : ConstantClass { /// /// Constant HTTPHEAD for UtcTiming /// public static readonly UtcTiming HTTPHEAD = new UtcTiming("HTTP-HEAD"); /// /// Constant HTTPISO for UtcTiming /// public static readonly UtcTiming HTTPISO = new UtcTiming("HTTP-ISO"); /// /// Constant HTTPXSDATE for UtcTiming /// public static readonly UtcTiming HTTPXSDATE = new UtcTiming("HTTP-XSDATE"); /// /// Constant NONE for UtcTiming /// public static readonly UtcTiming NONE = new UtcTiming("NONE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public UtcTiming(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static UtcTiming FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator UtcTiming(string value) { return FindValue(value); } } }