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

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

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

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

import kotlin.collections.List

/**
 * This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) to specify whether the service includes AFD values in the output video data and what those values are. * Choose None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input AFD scaler data.
 */
public sealed class AfdSignaling {

    public abstract val value: kotlin.String

    public object Auto : aws.sdk.kotlin.services.mediaconvert.model.AfdSignaling() {
        override val value: kotlin.String = "AUTO"
        override fun toString(): kotlin.String = value
    }

    public object Fixed : aws.sdk.kotlin.services.mediaconvert.model.AfdSignaling() {
        override val value: kotlin.String = "FIXED"
        override fun toString(): kotlin.String = value
    }

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

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AfdSignaling() {
        override fun toString(): kotlin.String = value
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.AfdSignaling = when(str) {
            "AUTO" -> Auto
            "FIXED" -> Fixed
            "NONE" -> None
            else -> SdkUnknown(str)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = listOf(
            Auto,
            Fixed,
            None
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy