commonMain.aws.sdk.kotlin.services.mediaconvert.model.AV1BitDepth.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert-jvm Show documentation
Show all versions of mediaconvert-jvm Show documentation
The AWS SDK for Kotlin client for MediaConvert
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Specify the Bit depth. You can choose 8-bit or 10-bit.
*/
public sealed class AV1BitDepth {
public abstract val value: kotlin.String
public object Bit10 : aws.sdk.kotlin.services.mediaconvert.model.AV1BitDepth() {
override val value: kotlin.String = "BIT_10"
override fun toString(): kotlin.String = "Bit10"
}
public object Bit8 : aws.sdk.kotlin.services.mediaconvert.model.AV1BitDepth() {
override val value: kotlin.String = "BIT_8"
override fun toString(): kotlin.String = "Bit8"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AV1BitDepth() {
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.AV1BitDepth = when (value) {
"BIT_10" -> Bit10
"BIT_8" -> Bit8
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Bit10,
Bit8,
)
}
}