All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile.kt Maven / Gradle / Ivy

There is a newer version: 1.3.34
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * Specify whether your DASH profile is on-demand or main. When you choose Main profile, the service signals urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When you choose On-demand, the service signals urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you choose On-demand, you must also set the output group setting Segment control to Single file.
 */
public sealed class DashIsoMpdProfile {
    public abstract val value: kotlin.String

    public object MainProfile : aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile() {
        override val value: kotlin.String = "MAIN_PROFILE"
        override fun toString(): kotlin.String = "MainProfile"
    }

    public object OnDemandProfile : aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile() {
        override val value: kotlin.String = "ON_DEMAND_PROFILE"
        override fun toString(): kotlin.String = "OnDemandProfile"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile() {
        override fun toString(): kotlin.String = "SdkUnknown($value)"
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.DashIsoMpdProfile = when (value) {
            "MAIN_PROFILE" -> MainProfile
            "ON_DEMAND_PROFILE" -> OnDemandProfile
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            MainProfile,
            OnDemandProfile,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy