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

commonMain.aws.sdk.kotlin.services.polly.model.LanguageCode.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.polly.model

import kotlin.collections.List

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

    public object ArAe : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "ar-AE"
        override fun toString(): kotlin.String = "ArAe"
    }

    public object Arb : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "arb"
        override fun toString(): kotlin.String = "Arb"
    }

    public object CaEs : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "ca-ES"
        override fun toString(): kotlin.String = "CaEs"
    }

    public object CmnCn : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "cmn-CN"
        override fun toString(): kotlin.String = "CmnCn"
    }

    public object CyGb : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "cy-GB"
        override fun toString(): kotlin.String = "CyGb"
    }

    public object DaDk : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "da-DK"
        override fun toString(): kotlin.String = "DaDk"
    }

    public object DeAt : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "de-AT"
        override fun toString(): kotlin.String = "DeAt"
    }

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

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

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

    public object EnGbWls : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "en-GB-WLS"
        override fun toString(): kotlin.String = "EnGbWls"
    }

    public object EnIe : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "en-IE"
        override fun toString(): kotlin.String = "EnIe"
    }

    public object EnIn : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "en-IN"
        override fun toString(): kotlin.String = "EnIn"
    }

    public object EnNz : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "en-NZ"
        override fun toString(): kotlin.String = "EnNz"
    }

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

    public object EnZa : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "en-ZA"
        override fun toString(): kotlin.String = "EnZa"
    }

    public object EsEs : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "es-ES"
        override fun toString(): kotlin.String = "EsEs"
    }

    public object EsMx : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "es-MX"
        override fun toString(): kotlin.String = "EsMx"
    }

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

    public object FiFi : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "fi-FI"
        override fun toString(): kotlin.String = "FiFi"
    }

    public object FrBe : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "fr-BE"
        override fun toString(): kotlin.String = "FrBe"
    }

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

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

    public object HiIn : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "hi-IN"
        override fun toString(): kotlin.String = "HiIn"
    }

    public object IsIs : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "is-IS"
        override fun toString(): kotlin.String = "IsIs"
    }

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

    public object JaJp : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "ja-JP"
        override fun toString(): kotlin.String = "JaJp"
    }

    public object KoKr : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "ko-KR"
        override fun toString(): kotlin.String = "KoKr"
    }

    public object NbNo : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "nb-NO"
        override fun toString(): kotlin.String = "NbNo"
    }

    public object NlBe : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "nl-BE"
        override fun toString(): kotlin.String = "NlBe"
    }

    public object NlNl : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "nl-NL"
        override fun toString(): kotlin.String = "NlNl"
    }

    public object PlPl : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "pl-PL"
        override fun toString(): kotlin.String = "PlPl"
    }

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

    public object PtPt : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "pt-PT"
        override fun toString(): kotlin.String = "PtPt"
    }

    public object RoRo : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "ro-RO"
        override fun toString(): kotlin.String = "RoRo"
    }

    public object RuRu : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "ru-RU"
        override fun toString(): kotlin.String = "RuRu"
    }

    public object SvSe : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "sv-SE"
        override fun toString(): kotlin.String = "SvSe"
    }

    public object TrTr : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "tr-TR"
        override fun toString(): kotlin.String = "TrTr"
    }

    public object YueCn : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        override val value: kotlin.String = "yue-CN"
        override fun toString(): kotlin.String = "YueCn"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.polly.model.LanguageCode() {
        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.polly.model.LanguageCode = when (value) {
            "ar-AE" -> ArAe
            "arb" -> Arb
            "ca-ES" -> CaEs
            "cmn-CN" -> CmnCn
            "cy-GB" -> CyGb
            "da-DK" -> DaDk
            "de-AT" -> DeAt
            "de-DE" -> DeDe
            "en-AU" -> EnAu
            "en-GB" -> EnGb
            "en-GB-WLS" -> EnGbWls
            "en-IE" -> EnIe
            "en-IN" -> EnIn
            "en-NZ" -> EnNz
            "en-US" -> EnUs
            "en-ZA" -> EnZa
            "es-ES" -> EsEs
            "es-MX" -> EsMx
            "es-US" -> EsUs
            "fi-FI" -> FiFi
            "fr-BE" -> FrBe
            "fr-CA" -> FrCa
            "fr-FR" -> FrFr
            "hi-IN" -> HiIn
            "is-IS" -> IsIs
            "it-IT" -> ItIt
            "ja-JP" -> JaJp
            "ko-KR" -> KoKr
            "nb-NO" -> NbNo
            "nl-BE" -> NlBe
            "nl-NL" -> NlNl
            "pl-PL" -> PlPl
            "pt-BR" -> PtBr
            "pt-PT" -> PtPt
            "ro-RO" -> RoRo
            "ru-RU" -> RuRu
            "sv-SE" -> SvSe
            "tr-TR" -> TrTr
            "yue-CN" -> YueCn
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            ArAe,
            Arb,
            CaEs,
            CmnCn,
            CyGb,
            DaDk,
            DeAt,
            DeDe,
            EnAu,
            EnGb,
            EnGbWls,
            EnIe,
            EnIn,
            EnNz,
            EnUs,
            EnZa,
            EsEs,
            EsMx,
            EsUs,
            FiFi,
            FrBe,
            FrCa,
            FrFr,
            HiIn,
            IsIs,
            ItIt,
            JaJp,
            KoKr,
            NbNo,
            NlBe,
            NlNl,
            PlPl,
            PtBr,
            PtPt,
            RoRo,
            RuRu,
            SvSe,
            TrTr,
            YueCn,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy