
commonMain.aws.sdk.kotlin.services.mediaconvert.model.TimecodeSource.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Use Source to set how timecodes are handled within this job. To make sure that your video, audio, captions, and markers are synchronized and that time-based features, such as image inserter, work correctly, choose the Timecode source option that matches your assets. All timecodes are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded - Use the timecode that is in the input video. If no embedded timecode is in the source, the service will use Start at 0 instead. * Start at 0 - Set the timecode of the initial frame to 00:00:00:00. * Specified Start - Set the timecode of the initial frame to a value other than zero. You use Start timecode to provide this value.
*/
public sealed class TimecodeSource {
public abstract val value: kotlin.String
public object Embedded : aws.sdk.kotlin.services.mediaconvert.model.TimecodeSource() {
override val value: kotlin.String = "EMBEDDED"
override fun toString(): kotlin.String = "Embedded"
}
public object Specifiedstart : aws.sdk.kotlin.services.mediaconvert.model.TimecodeSource() {
override val value: kotlin.String = "SPECIFIEDSTART"
override fun toString(): kotlin.String = "Specifiedstart"
}
public object Zerobased : aws.sdk.kotlin.services.mediaconvert.model.TimecodeSource() {
override val value: kotlin.String = "ZEROBASED"
override fun toString(): kotlin.String = "Zerobased"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.TimecodeSource() {
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.TimecodeSource = when (value) {
"EMBEDDED" -> Embedded
"SPECIFIEDSTART" -> Specifiedstart
"ZEROBASED" -> Zerobased
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Embedded,
Specifiedstart,
Zerobased,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy