
commonMain.aws.sdk.kotlin.services.mediaconvert.model.BurnInSubtitleStylePassthrough.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual style and position settings.
*/
public sealed class BurnInSubtitleStylePassthrough {
public abstract val value: kotlin.String
public object Disabled : aws.sdk.kotlin.services.mediaconvert.model.BurnInSubtitleStylePassthrough() {
override val value: kotlin.String = "DISABLED"
override fun toString(): kotlin.String = "Disabled"
}
public object Enabled : aws.sdk.kotlin.services.mediaconvert.model.BurnInSubtitleStylePassthrough() {
override val value: kotlin.String = "ENABLED"
override fun toString(): kotlin.String = "Enabled"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.BurnInSubtitleStylePassthrough() {
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.BurnInSubtitleStylePassthrough = when (value) {
"DISABLED" -> Disabled
"ENABLED" -> Enabled
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,
Enabled,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy