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

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

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

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

import kotlin.collections.List

/**
 * The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to RF64.
 */
public sealed class WavFormat {
    public abstract val value: kotlin.String

    public object Rf64 : aws.sdk.kotlin.services.mediaconvert.model.WavFormat() {
        override val value: kotlin.String = "RF64"
        override fun toString(): kotlin.String = "Rf64"
    }

    public object Riff : aws.sdk.kotlin.services.mediaconvert.model.WavFormat() {
        override val value: kotlin.String = "RIFF"
        override fun toString(): kotlin.String = "Riff"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.WavFormat() {
        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.WavFormat = when (value) {
            "RF64" -> Rf64
            "RIFF" -> Riff
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Rf64,
            Riff,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy