commonMain.aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transcribestreaming-jvm Show documentation
Show all versions of transcribestreaming-jvm Show documentation
The AWS SDK for Kotlin client for Transcribe Streaming
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.transcribestreaming.model
import kotlin.collections.List
public sealed class LanguageCode {
public abstract val value: kotlin.String
public object AfZa : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "af-ZA"
override fun toString(): kotlin.String = "AfZa"
}
public object ArAe : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ar-AE"
override fun toString(): kotlin.String = "ArAe"
}
public object ArSa : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ar-SA"
override fun toString(): kotlin.String = "ArSa"
}
public object CaEs : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ca-ES"
override fun toString(): kotlin.String = "CaEs"
}
public object CsCz : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "cs-CZ"
override fun toString(): kotlin.String = "CsCz"
}
public object DaDk : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "da-DK"
override fun toString(): kotlin.String = "DaDk"
}
public object DeCh : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "de-CH"
override fun toString(): kotlin.String = "DeCh"
}
public object DeDe : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "de-DE"
override fun toString(): kotlin.String = "DeDe"
}
public object ElGr : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "el-GR"
override fun toString(): kotlin.String = "ElGr"
}
public object EnAb : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-AB"
override fun toString(): kotlin.String = "EnAb"
}
public object EnAu : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-AU"
override fun toString(): kotlin.String = "EnAu"
}
public object EnGb : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-GB"
override fun toString(): kotlin.String = "EnGb"
}
public object EnIe : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-IE"
override fun toString(): kotlin.String = "EnIe"
}
public object EnIn : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-IN"
override fun toString(): kotlin.String = "EnIn"
}
public object EnNz : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-NZ"
override fun toString(): kotlin.String = "EnNz"
}
public object EnUs : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-US"
override fun toString(): kotlin.String = "EnUs"
}
public object EnWl : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-WL"
override fun toString(): kotlin.String = "EnWl"
}
public object EnZa : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "en-ZA"
override fun toString(): kotlin.String = "EnZa"
}
public object EsEs : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "es-ES"
override fun toString(): kotlin.String = "EsEs"
}
public object EsUs : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "es-US"
override fun toString(): kotlin.String = "EsUs"
}
public object EuEs : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "eu-ES"
override fun toString(): kotlin.String = "EuEs"
}
public object FaIr : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "fa-IR"
override fun toString(): kotlin.String = "FaIr"
}
public object FiFi : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "fi-FI"
override fun toString(): kotlin.String = "FiFi"
}
public object FrCa : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "fr-CA"
override fun toString(): kotlin.String = "FrCa"
}
public object FrFr : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "fr-FR"
override fun toString(): kotlin.String = "FrFr"
}
public object GlEs : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "gl-ES"
override fun toString(): kotlin.String = "GlEs"
}
public object HeIl : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "he-IL"
override fun toString(): kotlin.String = "HeIl"
}
public object HiIn : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "hi-IN"
override fun toString(): kotlin.String = "HiIn"
}
public object HrHr : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "hr-HR"
override fun toString(): kotlin.String = "HrHr"
}
public object IdId : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "id-ID"
override fun toString(): kotlin.String = "IdId"
}
public object ItIt : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "it-IT"
override fun toString(): kotlin.String = "ItIt"
}
public object JaJp : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ja-JP"
override fun toString(): kotlin.String = "JaJp"
}
public object KoKr : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ko-KR"
override fun toString(): kotlin.String = "KoKr"
}
public object LvLv : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "lv-LV"
override fun toString(): kotlin.String = "LvLv"
}
public object MsMy : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ms-MY"
override fun toString(): kotlin.String = "MsMy"
}
public object NlNl : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "nl-NL"
override fun toString(): kotlin.String = "NlNl"
}
public object NoNo : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "no-NO"
override fun toString(): kotlin.String = "NoNo"
}
public object PlPl : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "pl-PL"
override fun toString(): kotlin.String = "PlPl"
}
public object PtBr : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "pt-BR"
override fun toString(): kotlin.String = "PtBr"
}
public object PtPt : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "pt-PT"
override fun toString(): kotlin.String = "PtPt"
}
public object RoRo : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ro-RO"
override fun toString(): kotlin.String = "RoRo"
}
public object RuRu : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "ru-RU"
override fun toString(): kotlin.String = "RuRu"
}
public object SkSk : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "sk-SK"
override fun toString(): kotlin.String = "SkSk"
}
public object SoSo : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "so-SO"
override fun toString(): kotlin.String = "SoSo"
}
public object SrRs : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "sr-RS"
override fun toString(): kotlin.String = "SrRs"
}
public object SvSe : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "sv-SE"
override fun toString(): kotlin.String = "SvSe"
}
public object ThTh : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "th-TH"
override fun toString(): kotlin.String = "ThTh"
}
public object TlPh : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "tl-PH"
override fun toString(): kotlin.String = "TlPh"
}
public object UkUa : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "uk-UA"
override fun toString(): kotlin.String = "UkUa"
}
public object ViVn : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "vi-VN"
override fun toString(): kotlin.String = "ViVn"
}
public object ZhCn : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "zh-CN"
override fun toString(): kotlin.String = "ZhCn"
}
public object ZhHk : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "zh-HK"
override fun toString(): kotlin.String = "ZhHk"
}
public object ZhTw : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "zh-TW"
override fun toString(): kotlin.String = "ZhTw"
}
public object ZuZa : aws.sdk.kotlin.services.transcribestreaming.model.LanguageCode() {
override val value: kotlin.String = "zu-ZA"
override fun toString(): kotlin.String = "ZuZa"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.transcribestreaming.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.transcribestreaming.model.LanguageCode = when (value) {
"af-ZA" -> AfZa
"ar-AE" -> ArAe
"ar-SA" -> ArSa
"ca-ES" -> CaEs
"cs-CZ" -> CsCz
"da-DK" -> DaDk
"de-CH" -> DeCh
"de-DE" -> DeDe
"el-GR" -> ElGr
"en-AB" -> EnAb
"en-AU" -> EnAu
"en-GB" -> EnGb
"en-IE" -> EnIe
"en-IN" -> EnIn
"en-NZ" -> EnNz
"en-US" -> EnUs
"en-WL" -> EnWl
"en-ZA" -> EnZa
"es-ES" -> EsEs
"es-US" -> EsUs
"eu-ES" -> EuEs
"fa-IR" -> FaIr
"fi-FI" -> FiFi
"fr-CA" -> FrCa
"fr-FR" -> FrFr
"gl-ES" -> GlEs
"he-IL" -> HeIl
"hi-IN" -> HiIn
"hr-HR" -> HrHr
"id-ID" -> IdId
"it-IT" -> ItIt
"ja-JP" -> JaJp
"ko-KR" -> KoKr
"lv-LV" -> LvLv
"ms-MY" -> MsMy
"nl-NL" -> NlNl
"no-NO" -> NoNo
"pl-PL" -> PlPl
"pt-BR" -> PtBr
"pt-PT" -> PtPt
"ro-RO" -> RoRo
"ru-RU" -> RuRu
"sk-SK" -> SkSk
"so-SO" -> SoSo
"sr-RS" -> SrRs
"sv-SE" -> SvSe
"th-TH" -> ThTh
"tl-PH" -> TlPh
"uk-UA" -> UkUa
"vi-VN" -> ViVn
"zh-CN" -> ZhCn
"zh-HK" -> ZhHk
"zh-TW" -> ZhTw
"zu-ZA" -> ZuZa
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
AfZa,
ArAe,
ArSa,
CaEs,
CsCz,
DaDk,
DeCh,
DeDe,
ElGr,
EnAb,
EnAu,
EnGb,
EnIe,
EnIn,
EnNz,
EnUs,
EnWl,
EnZa,
EsEs,
EsUs,
EuEs,
FaIr,
FiFi,
FrCa,
FrFr,
GlEs,
HeIl,
HiIn,
HrHr,
IdId,
ItIt,
JaJp,
KoKr,
LvLv,
MsMy,
NlNl,
NoNo,
PlPl,
PtBr,
PtPt,
RoRo,
RuRu,
SkSk,
SoSo,
SrRs,
SvSe,
ThTh,
TlPh,
UkUa,
ViVn,
ZhCn,
ZhHk,
ZhTw,
ZuZa,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy