
commonMain.aws.sdk.kotlin.services.mediaconvert.model.HlsAudioOnlyContainer.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream (M2TS) to create a file in an MPEG2-TS container. Keep the default value Automatic to create a raw audio-only file with no container. Regardless of the value that you specify here, if this output has video, the service will place outputs into an MPEG2-TS container.
*/
public sealed class HlsAudioOnlyContainer {
public abstract val value: kotlin.String
public object Automatic : aws.sdk.kotlin.services.mediaconvert.model.HlsAudioOnlyContainer() {
override val value: kotlin.String = "AUTOMATIC"
override fun toString(): kotlin.String = "Automatic"
}
public object M2Ts : aws.sdk.kotlin.services.mediaconvert.model.HlsAudioOnlyContainer() {
override val value: kotlin.String = "M2TS"
override fun toString(): kotlin.String = "M2Ts"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.HlsAudioOnlyContainer() {
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.HlsAudioOnlyContainer = when (value) {
"AUTOMATIC" -> Automatic
"M2TS" -> M2Ts
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Automatic,
M2Ts,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy