
commonMain.aws.sdk.kotlin.services.mediaconvert.model.Vp8ParControl.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. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default behavior, Follow source, uses the PAR from your input video for your output. To specify a different PAR in the console, choose any value other than Follow source. When you choose SPECIFIED for this setting, you must also specify values for the parNumerator and parDenominator settings.
*/
public sealed class Vp8ParControl {
public abstract val value: kotlin.String
public object InitializeFromSource : aws.sdk.kotlin.services.mediaconvert.model.Vp8ParControl() {
override val value: kotlin.String = "INITIALIZE_FROM_SOURCE"
override fun toString(): kotlin.String = "InitializeFromSource"
}
public object Specified : aws.sdk.kotlin.services.mediaconvert.model.Vp8ParControl() {
override val value: kotlin.String = "SPECIFIED"
override fun toString(): kotlin.String = "Specified"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.Vp8ParControl() {
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.Vp8ParControl = when (value) {
"INITIALIZE_FROM_SOURCE" -> InitializeFromSource
"SPECIFIED" -> Specified
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
InitializeFromSource,
Specified,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy