
commonMain.aws.sdk.kotlin.services.mediaconvert.model.MpdAccessibilityCaptionHints.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Optional. Choose Include to have MediaConvert mark up your DASH manifest with elements for embedded 608 captions. This markup isn't generally required, but some video players require it to discover and play embedded 608 captions. Keep the default value, Exclude, to leave these elements out. When you enable this setting, this is the markup that MediaConvert includes in your manifest:
*/
public sealed class MpdAccessibilityCaptionHints {
public abstract val value: kotlin.String
public object Exclude : aws.sdk.kotlin.services.mediaconvert.model.MpdAccessibilityCaptionHints() {
override val value: kotlin.String = "EXCLUDE"
override fun toString(): kotlin.String = "Exclude"
}
public object Include : aws.sdk.kotlin.services.mediaconvert.model.MpdAccessibilityCaptionHints() {
override val value: kotlin.String = "INCLUDE"
override fun toString(): kotlin.String = "Include"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.MpdAccessibilityCaptionHints() {
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.MpdAccessibilityCaptionHints = when (value) {
"EXCLUDE" -> Exclude
"INCLUDE" -> Include
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Exclude,
Include,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy