
commonMain.aws.sdk.kotlin.services.mediaconvert.model.OutputSdt.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Selects method of inserting SDT information into output stream. "Follow input SDT" copies SDT information from input stream to output stream. "Follow input SDT if present" copies SDT information from input stream to output stream if SDT information is present in the input, otherwise it will fall back on the user-defined values. Enter "SDT Manually" means user will enter the SDT information. "No SDT" means output stream will not contain SDT information.
*/
public sealed class OutputSdt {
public abstract val value: kotlin.String
public object SdtFollow : aws.sdk.kotlin.services.mediaconvert.model.OutputSdt() {
override val value: kotlin.String = "SDT_FOLLOW"
override fun toString(): kotlin.String = "SdtFollow"
}
public object SdtFollowIfPresent : aws.sdk.kotlin.services.mediaconvert.model.OutputSdt() {
override val value: kotlin.String = "SDT_FOLLOW_IF_PRESENT"
override fun toString(): kotlin.String = "SdtFollowIfPresent"
}
public object SdtManual : aws.sdk.kotlin.services.mediaconvert.model.OutputSdt() {
override val value: kotlin.String = "SDT_MANUAL"
override fun toString(): kotlin.String = "SdtManual"
}
public object SdtNone : aws.sdk.kotlin.services.mediaconvert.model.OutputSdt() {
override val value: kotlin.String = "SDT_NONE"
override fun toString(): kotlin.String = "SdtNone"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.OutputSdt() {
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.OutputSdt = when (value) {
"SDT_FOLLOW" -> SdtFollow
"SDT_FOLLOW_IF_PRESENT" -> SdtFollowIfPresent
"SDT_MANUAL" -> SdtManual
"SDT_NONE" -> SdtNone
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
SdtFollow,
SdtFollowIfPresent,
SdtManual,
SdtNone,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy