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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel.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 an H.264 level that is consistent with your output video settings. If you aren't sure what level to specify, choose Auto.
 */
public sealed class H264CodecLevel {
    public abstract val value: kotlin.String

    public object Auto : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "AUTO"
        override fun toString(): kotlin.String = "Auto"
    }

    public object Level1 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_1"
        override fun toString(): kotlin.String = "Level1"
    }

    public object Level1_1 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_1_1"
        override fun toString(): kotlin.String = "Level1_1"
    }

    public object Level1_2 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_1_2"
        override fun toString(): kotlin.String = "Level1_2"
    }

    public object Level1_3 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_1_3"
        override fun toString(): kotlin.String = "Level1_3"
    }

    public object Level2 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_2"
        override fun toString(): kotlin.String = "Level2"
    }

    public object Level2_1 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_2_1"
        override fun toString(): kotlin.String = "Level2_1"
    }

    public object Level2_2 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_2_2"
        override fun toString(): kotlin.String = "Level2_2"
    }

    public object Level3 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_3"
        override fun toString(): kotlin.String = "Level3"
    }

    public object Level3_1 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_3_1"
        override fun toString(): kotlin.String = "Level3_1"
    }

    public object Level3_2 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_3_2"
        override fun toString(): kotlin.String = "Level3_2"
    }

    public object Level4 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_4"
        override fun toString(): kotlin.String = "Level4"
    }

    public object Level4_1 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_4_1"
        override fun toString(): kotlin.String = "Level4_1"
    }

    public object Level4_2 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_4_2"
        override fun toString(): kotlin.String = "Level4_2"
    }

    public object Level5 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_5"
        override fun toString(): kotlin.String = "Level5"
    }

    public object Level5_1 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_5_1"
        override fun toString(): kotlin.String = "Level5_1"
    }

    public object Level5_2 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        override val value: kotlin.String = "LEVEL_5_2"
        override fun toString(): kotlin.String = "Level5_2"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H264CodecLevel() {
        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.H264CodecLevel = when (value) {
            "AUTO" -> Auto
            "LEVEL_1" -> Level1
            "LEVEL_1_1" -> Level1_1
            "LEVEL_1_2" -> Level1_2
            "LEVEL_1_3" -> Level1_3
            "LEVEL_2" -> Level2
            "LEVEL_2_1" -> Level2_1
            "LEVEL_2_2" -> Level2_2
            "LEVEL_3" -> Level3
            "LEVEL_3_1" -> Level3_1
            "LEVEL_3_2" -> Level3_2
            "LEVEL_4" -> Level4
            "LEVEL_4_1" -> Level4_1
            "LEVEL_4_2" -> Level4_2
            "LEVEL_5" -> Level5
            "LEVEL_5_1" -> Level5_1
            "LEVEL_5_2" -> Level5_2
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            Auto,
            Level1,
            Level1_1,
            Level1_2,
            Level1_3,
            Level2,
            Level2_1,
            Level2_2,
            Level3,
            Level3_1,
            Level3_2,
            Level4,
            Level4_1,
            Level4_2,
            Level5,
            Level5_1,
            Level5_2,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy