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-jvm Show documentation
Show all versions of mediaconvert-jvm 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 = "Baseline"
}
public object High : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "HIGH"
override fun toString(): kotlin.String = "High"
}
public object High10Bit : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "HIGH_10BIT"
override fun toString(): kotlin.String = "High10Bit"
}
public object High422 : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "HIGH_422"
override fun toString(): kotlin.String = "High422"
}
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 = "High422_10_Bit"
}
public object Main : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
override val value: kotlin.String = "MAIN"
override fun toString(): kotlin.String = "Main"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H264CodecProfile() {
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.H264CodecProfile = when (value) {
"BASELINE" -> Baseline
"HIGH" -> High
"HIGH_10BIT" -> High10Bit
"HIGH_422" -> High422
"HIGH_422_10BIT" -> High422_10_Bit
"MAIN" -> Main
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Baseline,
High,
High10Bit,
High422,
High422_10_Bit,
Main,
)
}
}