All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.mediaconvert.model.WebvttStylePassthrough.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * To use the available style, color, and position information from your input captions: Set Style passthrough to Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Set Style passthrough to Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Set Style passthrough to Disabled, or leave blank.
 */
public sealed class WebvttStylePassthrough {
    public abstract val value: kotlin.String

    public object Disabled : aws.sdk.kotlin.services.mediaconvert.model.WebvttStylePassthrough() {
        override val value: kotlin.String = "DISABLED"
        override fun toString(): kotlin.String = "Disabled"
    }

    public object Enabled : aws.sdk.kotlin.services.mediaconvert.model.WebvttStylePassthrough() {
        override val value: kotlin.String = "ENABLED"
        override fun toString(): kotlin.String = "Enabled"
    }

    public object Strict : aws.sdk.kotlin.services.mediaconvert.model.WebvttStylePassthrough() {
        override val value: kotlin.String = "STRICT"
        override fun toString(): kotlin.String = "Strict"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.WebvttStylePassthrough() {
        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.WebvttStylePassthrough = when (value) {
            "DISABLED" -> Disabled
            "ENABLED" -> Enabled
            "STRICT" -> Strict
            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,
            Strict,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy