
commonMain.aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionProfile.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Required when you enable Dolby Vision. Use Profile 5 to include frame-interleaved Dolby Vision metadata in your output. Your input must include Dolby Vision metadata or an HDR10 YUV color space. Use Profile 8.1 to include frame-interleaved Dolby Vision metadata and HDR10 metadata in your output. Your input must include Dolby Vision metadata.
*/
public sealed class DolbyVisionProfile {
public abstract val value: kotlin.String
public object Profile5 : aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionProfile() {
override val value: kotlin.String = "PROFILE_5"
override fun toString(): kotlin.String = "Profile5"
}
public object Profile8_1 : aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionProfile() {
override val value: kotlin.String = "PROFILE_8_1"
override fun toString(): kotlin.String = "Profile8_1"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DolbyVisionProfile() {
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.DolbyVisionProfile = when (value) {
"PROFILE_5" -> Profile5
"PROFILE_8_1" -> Profile8_1
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Profile5,
Profile8_1,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy