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

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

There is a newer version: 1.3.34
Show newest version
// 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,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy