
commonMain.aws.sdk.kotlin.services.mediaconvert.model.Xavc4kProfileCodecProfile.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 the codec profile for this output. Choose High, 8-bit, 4:2:0 (HIGH) or High, 10-bit, 4:2:2 (HIGH_422). These profiles are specified in ITU-T H.264.
*/
public sealed class Xavc4kProfileCodecProfile {
public abstract val value: kotlin.String
public object High : aws.sdk.kotlin.services.mediaconvert.model.Xavc4kProfileCodecProfile() {
override val value: kotlin.String = "HIGH"
override fun toString(): kotlin.String = "High"
}
public object High422 : aws.sdk.kotlin.services.mediaconvert.model.Xavc4kProfileCodecProfile() {
override val value: kotlin.String = "HIGH_422"
override fun toString(): kotlin.String = "High422"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.Xavc4kProfileCodecProfile() {
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.Xavc4kProfileCodecProfile = when (value) {
"HIGH" -> High
"HIGH_422" -> High422
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
High,
High422,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy