commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.CallAnalyticsLanguageCode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chimesdkmediapipelines-jvm Show documentation
Show all versions of chimesdkmediapipelines-jvm Show documentation
The AWS SDK for Kotlin client for Chime SDK Media Pipelines
// 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,
)
}
}