
commonMain.aws.sdk.kotlin.services.mediaconvert.model.AncillaryTerminateCaptions.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* By default, the service terminates any unterminated captions at the end of each input. If you want the caption to continue onto your next input, disable this setting.
*/
public sealed class AncillaryTerminateCaptions {
public abstract val value: kotlin.String
public object Disabled : aws.sdk.kotlin.services.mediaconvert.model.AncillaryTerminateCaptions() {
override val value: kotlin.String = "DISABLED"
override fun toString(): kotlin.String = "Disabled"
}
public object EndOfInput : aws.sdk.kotlin.services.mediaconvert.model.AncillaryTerminateCaptions() {
override val value: kotlin.String = "END_OF_INPUT"
override fun toString(): kotlin.String = "EndOfInput"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AncillaryTerminateCaptions() {
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.AncillaryTerminateCaptions = when (value) {
"DISABLED" -> Disabled
"END_OF_INPUT" -> EndOfInput
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,
EndOfInput,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy