
commonMain.aws.sdk.kotlin.services.medialive.model.LastFrameClippingBehavior.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
import kotlin.collections.List
/**
* If you specify a StopTimecode in an input (in order to clip the file), you can specify if you want the clip to exclude (the default) or include the frame specified by the timecode.
*/
public sealed class LastFrameClippingBehavior {
public abstract val value: kotlin.String
public object ExcludeLastFrame : aws.sdk.kotlin.services.medialive.model.LastFrameClippingBehavior() {
override val value: kotlin.String = "EXCLUDE_LAST_FRAME"
override fun toString(): kotlin.String = "ExcludeLastFrame"
}
public object IncludeLastFrame : aws.sdk.kotlin.services.medialive.model.LastFrameClippingBehavior() {
override val value: kotlin.String = "INCLUDE_LAST_FRAME"
override fun toString(): kotlin.String = "IncludeLastFrame"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.medialive.model.LastFrameClippingBehavior() {
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.medialive.model.LastFrameClippingBehavior = when (value) {
"EXCLUDE_LAST_FRAME" -> ExcludeLastFrame
"INCLUDE_LAST_FRAME" -> IncludeLastFrame
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
ExcludeLastFrame,
IncludeLastFrame,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy