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

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

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

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

import kotlin.collections.List

/**
 * Specify the event message box (eMSG) version for ID3 timed metadata in your output. For more information, see ISO/IEC 23009-1:2022 section 5.10.3.3.3 Syntax. Leave blank to use the default value Version 0. When you specify Version 1, you must also set ID3 metadata to Passthrough.
 */
public sealed class CmfcTimedMetadataBoxVersion {
    public abstract val value: kotlin.String

    public object Version0 : aws.sdk.kotlin.services.mediaconvert.model.CmfcTimedMetadataBoxVersion() {
        override val value: kotlin.String = "VERSION_0"
        override fun toString(): kotlin.String = "Version0"
    }

    public object Version1 : aws.sdk.kotlin.services.mediaconvert.model.CmfcTimedMetadataBoxVersion() {
        override val value: kotlin.String = "VERSION_1"
        override fun toString(): kotlin.String = "Version1"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.CmfcTimedMetadataBoxVersion() {
        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.CmfcTimedMetadataBoxVersion = when (value) {
            "VERSION_0" -> Version0
            "VERSION_1" -> Version1
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Version0,
            Version1,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy