
commonMain.aws.sdk.kotlin.services.mediaconvert.model.Mpeg2Syntax.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Specify whether this output's video uses the D10 syntax. Keep the default value to not use the syntax. Related settings: When you choose D10 for your MXF profile, you must also set this value to D10.
*/
public sealed class Mpeg2Syntax {
public abstract val value: kotlin.String
public object Default : aws.sdk.kotlin.services.mediaconvert.model.Mpeg2Syntax() {
override val value: kotlin.String = "DEFAULT"
override fun toString(): kotlin.String = "Default"
}
public object D10 : aws.sdk.kotlin.services.mediaconvert.model.Mpeg2Syntax() {
override val value: kotlin.String = "D_10"
override fun toString(): kotlin.String = "D10"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.Mpeg2Syntax() {
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.Mpeg2Syntax = when (value) {
"DEFAULT" -> Default
"D_10" -> D10
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Default,
D10,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy