
commonMain.aws.sdk.kotlin.services.mediaconvert.model.Eac3AtmosDownmixControl.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Specify whether MediaConvert should use any downmix metadata from your input file. Keep the default value, Custom to provide downmix values in your job settings. Choose Follow source to use the metadata from your input. Related settings--Use these settings to specify your downmix values: Left only/Right only surround, Left total/Right total surround, Left total/Right total center, Left only/Right only center, and Stereo downmix. When you keep Custom for Downmix control and you don't specify values for the related settings, MediaConvert uses default values for those settings.
*/
public sealed class Eac3AtmosDownmixControl {
public abstract val value: kotlin.String
public object InitializeFromSource : aws.sdk.kotlin.services.mediaconvert.model.Eac3AtmosDownmixControl() {
override val value: kotlin.String = "INITIALIZE_FROM_SOURCE"
override fun toString(): kotlin.String = "InitializeFromSource"
}
public object Specified : aws.sdk.kotlin.services.mediaconvert.model.Eac3AtmosDownmixControl() {
override val value: kotlin.String = "SPECIFIED"
override fun toString(): kotlin.String = "Specified"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.Eac3AtmosDownmixControl() {
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.Eac3AtmosDownmixControl = when (value) {
"INITIALIZE_FROM_SOURCE" -> InitializeFromSource
"SPECIFIED" -> Specified
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
InitializeFromSource,
Specified,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy