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

commonMain.aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.cloudsearch.model

import kotlin.collections.List

/**
 * An [IETF RFC 4646](http://tools.ietf.org/html/rfc4646) language code or `mul` for multiple languages.
 */
public sealed class AnalysisSchemeLanguage {
    public abstract val value: kotlin.String

    public object Ar : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "ar"
        override fun toString(): kotlin.String = "Ar"
    }

    public object Bg : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "bg"
        override fun toString(): kotlin.String = "Bg"
    }

    public object Ca : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "ca"
        override fun toString(): kotlin.String = "Ca"
    }

    public object Cs : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "cs"
        override fun toString(): kotlin.String = "Cs"
    }

    public object Da : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "da"
        override fun toString(): kotlin.String = "Da"
    }

    public object De : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "de"
        override fun toString(): kotlin.String = "De"
    }

    public object El : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "el"
        override fun toString(): kotlin.String = "El"
    }

    public object En : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "en"
        override fun toString(): kotlin.String = "En"
    }

    public object Es : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "es"
        override fun toString(): kotlin.String = "Es"
    }

    public object Eu : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "eu"
        override fun toString(): kotlin.String = "Eu"
    }

    public object Fa : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "fa"
        override fun toString(): kotlin.String = "Fa"
    }

    public object Fi : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "fi"
        override fun toString(): kotlin.String = "Fi"
    }

    public object Fr : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "fr"
        override fun toString(): kotlin.String = "Fr"
    }

    public object Ga : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "ga"
        override fun toString(): kotlin.String = "Ga"
    }

    public object Gl : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "gl"
        override fun toString(): kotlin.String = "Gl"
    }

    public object He : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "he"
        override fun toString(): kotlin.String = "He"
    }

    public object Hi : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "hi"
        override fun toString(): kotlin.String = "Hi"
    }

    public object Hu : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "hu"
        override fun toString(): kotlin.String = "Hu"
    }

    public object Hy : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "hy"
        override fun toString(): kotlin.String = "Hy"
    }

    public object Id : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "id"
        override fun toString(): kotlin.String = "Id"
    }

    public object It : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "it"
        override fun toString(): kotlin.String = "It"
    }

    public object Ja : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "ja"
        override fun toString(): kotlin.String = "Ja"
    }

    public object Ko : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "ko"
        override fun toString(): kotlin.String = "Ko"
    }

    public object Lv : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "lv"
        override fun toString(): kotlin.String = "Lv"
    }

    public object Mul : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "mul"
        override fun toString(): kotlin.String = "Mul"
    }

    public object Nl : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "nl"
        override fun toString(): kotlin.String = "Nl"
    }

    public object No : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "no"
        override fun toString(): kotlin.String = "No"
    }

    public object Pt : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "pt"
        override fun toString(): kotlin.String = "Pt"
    }

    public object Ro : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "ro"
        override fun toString(): kotlin.String = "Ro"
    }

    public object Ru : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "ru"
        override fun toString(): kotlin.String = "Ru"
    }

    public object Sv : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "sv"
        override fun toString(): kotlin.String = "Sv"
    }

    public object Th : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "th"
        override fun toString(): kotlin.String = "Th"
    }

    public object Tr : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "tr"
        override fun toString(): kotlin.String = "Tr"
    }

    public object ZhHans : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "zh-Hans"
        override fun toString(): kotlin.String = "ZhHans"
    }

    public object ZhHant : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        override val value: kotlin.String = "zh-Hant"
        override fun toString(): kotlin.String = "ZhHant"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.cloudsearch.model.AnalysisSchemeLanguage() {
        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.cloudsearch.model.AnalysisSchemeLanguage = when (value) {
            "ar" -> Ar
            "bg" -> Bg
            "ca" -> Ca
            "cs" -> Cs
            "da" -> Da
            "de" -> De
            "el" -> El
            "en" -> En
            "es" -> Es
            "eu" -> Eu
            "fa" -> Fa
            "fi" -> Fi
            "fr" -> Fr
            "ga" -> Ga
            "gl" -> Gl
            "he" -> He
            "hi" -> Hi
            "hu" -> Hu
            "hy" -> Hy
            "id" -> Id
            "it" -> It
            "ja" -> Ja
            "ko" -> Ko
            "lv" -> Lv
            "mul" -> Mul
            "nl" -> Nl
            "no" -> No
            "pt" -> Pt
            "ro" -> Ro
            "ru" -> Ru
            "sv" -> Sv
            "th" -> Th
            "tr" -> Tr
            "zh-Hans" -> ZhHans
            "zh-Hant" -> ZhHant
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Ar,
            Bg,
            Ca,
            Cs,
            Da,
            De,
            El,
            En,
            Es,
            Eu,
            Fa,
            Fi,
            Fr,
            Ga,
            Gl,
            He,
            Hi,
            Hu,
            Hy,
            Id,
            It,
            Ja,
            Ko,
            Lv,
            Mul,
            Nl,
            No,
            Pt,
            Ro,
            Ru,
            Sv,
            Th,
            Tr,
            ZhHans,
            ZhHant,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy