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

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

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

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

import kotlin.collections.List

/**
 * To create an output that complies with the XAVC file format guidelines for interoperability, keep the default value, Drop frames for compliance. To include all frames from your input in this output, keep the default setting, Allow any duration. The number of frames that MediaConvert excludes when you set this to Drop frames for compliance depends on the output frame rate and duration.
 */
public sealed class MxfXavcDurationMode {
    public abstract val value: kotlin.String

    public object AllowAnyDuration : aws.sdk.kotlin.services.mediaconvert.model.MxfXavcDurationMode() {
        override val value: kotlin.String = "ALLOW_ANY_DURATION"
        override fun toString(): kotlin.String = "AllowAnyDuration"
    }

    public object DropFramesForCompliance : aws.sdk.kotlin.services.mediaconvert.model.MxfXavcDurationMode() {
        override val value: kotlin.String = "DROP_FRAMES_FOR_COMPLIANCE"
        override fun toString(): kotlin.String = "DropFramesForCompliance"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.MxfXavcDurationMode() {
        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.MxfXavcDurationMode = when (value) {
            "ALLOW_ANY_DURATION" -> AllowAnyDuration
            "DROP_FRAMES_FOR_COMPLIANCE" -> DropFramesForCompliance
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            AllowAnyDuration,
            DropFramesForCompliance,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy