
commonMain.aws.sdk.kotlin.services.mediaconvert.model.InputTimecodeSource.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 this Timecode source setting, located under the input settings, to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded to use the timecodes in your input video. Choose Start at zero to start the first frame at zero. Choose Specified start to start the first frame at the timecode that you specify in the setting Start timecode. If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.
*/
public sealed class InputTimecodeSource {
public abstract val value: kotlin.String
public object Embedded : aws.sdk.kotlin.services.mediaconvert.model.InputTimecodeSource() {
override val value: kotlin.String = "EMBEDDED"
override fun toString(): kotlin.String = "Embedded"
}
public object Specifiedstart : aws.sdk.kotlin.services.mediaconvert.model.InputTimecodeSource() {
override val value: kotlin.String = "SPECIFIEDSTART"
override fun toString(): kotlin.String = "Specifiedstart"
}
public object Zerobased : aws.sdk.kotlin.services.mediaconvert.model.InputTimecodeSource() {
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.InputTimecodeSource() {
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.InputTimecodeSource = 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