commonMain.aws.sdk.kotlin.services.snowball.model.ImpactLevel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snowball-jvm Show documentation
Show all versions of snowball-jvm Show documentation
The AWS SDK for Kotlin client for Snowball
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.snowball.model
import kotlin.collections.List
public sealed class ImpactLevel {
public abstract val value: kotlin.String
public object Il2 : aws.sdk.kotlin.services.snowball.model.ImpactLevel() {
override val value: kotlin.String = "IL2"
override fun toString(): kotlin.String = "Il2"
}
public object Il4 : aws.sdk.kotlin.services.snowball.model.ImpactLevel() {
override val value: kotlin.String = "IL4"
override fun toString(): kotlin.String = "Il4"
}
public object Il5 : aws.sdk.kotlin.services.snowball.model.ImpactLevel() {
override val value: kotlin.String = "IL5"
override fun toString(): kotlin.String = "Il5"
}
public object Il6 : aws.sdk.kotlin.services.snowball.model.ImpactLevel() {
override val value: kotlin.String = "IL6"
override fun toString(): kotlin.String = "Il6"
}
public object Il99 : aws.sdk.kotlin.services.snowball.model.ImpactLevel() {
override val value: kotlin.String = "IL99"
override fun toString(): kotlin.String = "Il99"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.snowball.model.ImpactLevel() {
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.snowball.model.ImpactLevel = when (value) {
"IL2" -> Il2
"IL4" -> Il4
"IL5" -> Il5
"IL6" -> Il6
"IL99" -> Il99
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Il2,
Il4,
Il5,
Il6,
Il99,
)
}
}