
commonMain.aws.sdk.kotlin.services.mediaconvert.model.AncillaryConvert608To708.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 this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert, MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708.
*/
public sealed class AncillaryConvert608To708 {
public abstract val value: kotlin.String
public object Disabled : aws.sdk.kotlin.services.mediaconvert.model.AncillaryConvert608To708() {
override val value: kotlin.String = "DISABLED"
override fun toString(): kotlin.String = "Disabled"
}
public object Upconvert : aws.sdk.kotlin.services.mediaconvert.model.AncillaryConvert608To708() {
override val value: kotlin.String = "UPCONVERT"
override fun toString(): kotlin.String = "Upconvert"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AncillaryConvert608To708() {
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.AncillaryConvert608To708 = when (value) {
"DISABLED" -> Disabled
"UPCONVERT" -> Upconvert
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Disabled,
Upconvert,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy