commonMain.aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mediaconvert Show documentation
Show all versions of mediaconvert Show documentation
The AWS SDK for Kotlin client for MediaConvert
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.
*/
public sealed class H264CodecProfile {
public abstract val value: kotlin.String
public object Baseline : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "BASELINE"
override fun toString(): kotlin.String = value
}
public object High : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "HIGH"
override fun toString(): kotlin.String = value
}
public object High10Bit : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "HIGH_10BIT"
override fun toString(): kotlin.String = value
}
public object High422 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "HIGH_422"
override fun toString(): kotlin.String = value
}
public object High422_10_Bit : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "HIGH_422_10BIT"
override fun toString(): kotlin.String = value
}
public object Main : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "MAIN"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile = when(str) {
"BASELINE" -> Baseline
"HIGH" -> High
"HIGH_10BIT" -> High10Bit
"HIGH_422" -> High422
"HIGH_422_10BIT" -> High422_10_Bit
"MAIN" -> Main
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Baseline,
High,
High10Bit,
High422,
High422_10_Bit,
Main
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy