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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.Mpeg2DynamicSubGop.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

/**
 * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames.
 */
public sealed class Mpeg2DynamicSubGop {
    public abstract val value: kotlin.String

    public object Adaptive : aws.sdk.kotlin.services.mediaconvert.model.Mpeg2DynamicSubGop() {
        override val value: kotlin.String = "ADAPTIVE"
        override fun toString(): kotlin.String = "Adaptive"
    }

    public object Static : aws.sdk.kotlin.services.mediaconvert.model.Mpeg2DynamicSubGop() {
        override val value: kotlin.String = "STATIC"
        override fun toString(): kotlin.String = "Static"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.Mpeg2DynamicSubGop() {
        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.Mpeg2DynamicSubGop = when (value) {
            "ADAPTIVE" -> Adaptive
            "STATIC" -> Static
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Adaptive,
            Static,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy