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

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

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

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

import kotlin.collections.List

/**
 * When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is present on the input. this detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
 */
public sealed class Eac3PassthroughControl {
    public abstract val value: kotlin.String

    public object NoPassthrough : aws.sdk.kotlin.services.mediaconvert.model.Eac3PassthroughControl() {
        override val value: kotlin.String = "NO_PASSTHROUGH"
        override fun toString(): kotlin.String = "NoPassthrough"
    }

    public object WhenPossible : aws.sdk.kotlin.services.mediaconvert.model.Eac3PassthroughControl() {
        override val value: kotlin.String = "WHEN_POSSIBLE"
        override fun toString(): kotlin.String = "WhenPossible"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.Eac3PassthroughControl() {
        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.Eac3PassthroughControl = when (value) {
            "NO_PASSTHROUGH" -> NoPassthrough
            "WHEN_POSSIBLE" -> WhenPossible
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            NoPassthrough,
            WhenPossible,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy