All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence.kt Maven / Gradle / Ivy

There is a newer version: 1.3.34
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.
 */
public sealed class DashIsoIntervalCadence {
    public abstract val value: kotlin.String

    public object FollowCustom : aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence() {
        override val value: kotlin.String = "FOLLOW_CUSTOM"
        override fun toString(): kotlin.String = "FollowCustom"
    }

    public object FollowIframe : aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence() {
        override val value: kotlin.String = "FOLLOW_IFRAME"
        override fun toString(): kotlin.String = "FollowIframe"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DashIsoIntervalCadence() {
        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.DashIsoIntervalCadence = when (value) {
            "FOLLOW_CUSTOM" -> FollowCustom
            "FOLLOW_IFRAME" -> FollowIframe
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            FollowCustom,
            FollowIframe,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy