
commonMain.aws.sdk.kotlin.services.mediaconvert.model.AV1RateControlMode.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR). You can''t use CBR or VBR.'
*/
public sealed class AV1RateControlMode {
public abstract val value: kotlin.String
public object Qvbr : aws.sdk.kotlin.services.mediaconvert.model.AV1RateControlMode() {
override val value: kotlin.String = "QVBR"
override fun toString(): kotlin.String = "Qvbr"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AV1RateControlMode() {
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.AV1RateControlMode = when (value) {
"QVBR" -> Qvbr
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Qvbr,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy