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

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

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

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

import kotlin.collections.List

/**
 * When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
 */
public sealed class Eac3MetadataControl {

    public abstract val value: kotlin.String

    public object FollowInput : aws.sdk.kotlin.services.mediaconvert.model.Eac3MetadataControl() {
        override val value: kotlin.String = "FOLLOW_INPUT"
        override fun toString(): kotlin.String = value
    }

    public object UseConfigured : aws.sdk.kotlin.services.mediaconvert.model.Eac3MetadataControl() {
        override val value: kotlin.String = "USE_CONFIGURED"
        override fun toString(): kotlin.String = value
    }

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

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.Eac3MetadataControl = when(str) {
            "FOLLOW_INPUT" -> FollowInput
            "USE_CONFIGURED" -> UseConfigured
            else -> SdkUnknown(str)
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy