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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.RespondToAfd.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 Respond to AFD to specify how the service changes the video itself in response to AFD values in the input. * Choose Respond to clip the input video frame according to the AFD value, input display aspect ratio, and output display aspect ratio. * Choose Passthrough to include the input AFD values. Do not choose this when AfdSignaling is set to NONE. A preferred implementation of this workflow is to set RespondToAfd to and set AfdSignaling to AUTO. * Choose None to remove all input AFD values from this output.
 */
public sealed class RespondToAfd {
    public abstract val value: kotlin.String

    public object None : aws.sdk.kotlin.services.mediaconvert.model.RespondToAfd() {
        override val value: kotlin.String = "NONE"
        override fun toString(): kotlin.String = "None"
    }

    public object Passthrough : aws.sdk.kotlin.services.mediaconvert.model.RespondToAfd() {
        override val value: kotlin.String = "PASSTHROUGH"
        override fun toString(): kotlin.String = "Passthrough"
    }

    public object Respond : aws.sdk.kotlin.services.mediaconvert.model.RespondToAfd() {
        override val value: kotlin.String = "RESPOND"
        override fun toString(): kotlin.String = "Respond"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.RespondToAfd() {
        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.RespondToAfd = when (value) {
            "NONE" -> None
            "PASSTHROUGH" -> Passthrough
            "RESPOND" -> Respond
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            None,
            Passthrough,
            Respond,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy