commonMain.aws.sdk.kotlin.services.appstream.model.ThemeStyling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appstream-jvm Show documentation
Show all versions of appstream-jvm Show documentation
The AWS SDK for Kotlin client for AppStream
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appstream.model
import kotlin.collections.List
public sealed class ThemeStyling {
public abstract val value: kotlin.String
public object Blue : aws.sdk.kotlin.services.appstream.model.ThemeStyling() {
override val value: kotlin.String = "BLUE"
override fun toString(): kotlin.String = "Blue"
}
public object LightBlue : aws.sdk.kotlin.services.appstream.model.ThemeStyling() {
override val value: kotlin.String = "LIGHT_BLUE"
override fun toString(): kotlin.String = "LightBlue"
}
public object Pink : aws.sdk.kotlin.services.appstream.model.ThemeStyling() {
override val value: kotlin.String = "PINK"
override fun toString(): kotlin.String = "Pink"
}
public object Red : aws.sdk.kotlin.services.appstream.model.ThemeStyling() {
override val value: kotlin.String = "RED"
override fun toString(): kotlin.String = "Red"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.ThemeStyling() {
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.appstream.model.ThemeStyling = when (value) {
"BLUE" -> Blue
"LIGHT_BLUE" -> LightBlue
"PINK" -> Pink
"RED" -> Red
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Blue,
LightBlue,
Pink,
Red,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy