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

commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.chimesdkmediapipelines.model

import kotlin.collections.List

public sealed class CallAnalyticsLanguageCode {
    public abstract val value: kotlin.String

    public object DeDe : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "de-DE"
        override fun toString(): kotlin.String = "DeDe"
    }

    public object EnAu : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "en-AU"
        override fun toString(): kotlin.String = "EnAu"
    }

    public object EnGb : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "en-GB"
        override fun toString(): kotlin.String = "EnGb"
    }

    public object EnUs : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "en-US"
        override fun toString(): kotlin.String = "EnUs"
    }

    public object EsUs : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "es-US"
        override fun toString(): kotlin.String = "EsUs"
    }

    public object FrCa : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "fr-CA"
        override fun toString(): kotlin.String = "FrCa"
    }

    public object FrFr : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "fr-FR"
        override fun toString(): kotlin.String = "FrFr"
    }

    public object ItIt : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "it-IT"
        override fun toString(): kotlin.String = "ItIt"
    }

    public object PtBr : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        override val value: kotlin.String = "pt-BR"
        override fun toString(): kotlin.String = "PtBr"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode() {
        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.chimesdkmediapipelines.model.CallAnalyticsLanguageCode = when (value) {
            "de-DE" -> DeDe
            "en-AU" -> EnAu
            "en-GB" -> EnGb
            "en-US" -> EnUs
            "es-US" -> EsUs
            "fr-CA" -> FrCa
            "fr-FR" -> FrFr
            "it-IT" -> ItIt
            "pt-BR" -> PtBr
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            DeDe,
            EnAu,
            EnGb,
            EnUs,
            EsUs,
            FrCa,
            FrFr,
            ItIt,
            PtBr,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy