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

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

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * Optional. Use Quality tuning level to choose how many transcoding passes MediaConvert does with your video. When you choose Multi-pass, your video quality is better and your output bitrate is more accurate. That is, the actual bitrate of your output is closer to the target bitrate defined in the specification. When you choose Single-pass, your encoding time is faster. The default behavior is Single-pass.
 */
public sealed class AvcIntraUhdQualityTuningLevel {
    public abstract val value: kotlin.String

    public object MultiPass : aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdQualityTuningLevel() {
        override val value: kotlin.String = "MULTI_PASS"
        override fun toString(): kotlin.String = "MultiPass"
    }

    public object SinglePass : aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdQualityTuningLevel() {
        override val value: kotlin.String = "SINGLE_PASS"
        override fun toString(): kotlin.String = "SinglePass"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AvcIntraUhdQualityTuningLevel() {
        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.AvcIntraUhdQualityTuningLevel = when (value) {
            "MULTI_PASS" -> MultiPass
            "SINGLE_PASS" -> SinglePass
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            MultiPass,
            SinglePass,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy