commonMain.aws.sdk.kotlin.services.applicationinsights.model.Status.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of applicationinsights-jvm Show documentation
Show all versions of applicationinsights-jvm Show documentation
The AWS SDK for Kotlin client for Application Insights
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.applicationinsights.model
import kotlin.collections.List
public sealed class Status {
public abstract val value: kotlin.String
public object Ignore : aws.sdk.kotlin.services.applicationinsights.model.Status() {
override val value: kotlin.String = "IGNORE"
override fun toString(): kotlin.String = "Ignore"
}
public object Pending : aws.sdk.kotlin.services.applicationinsights.model.Status() {
override val value: kotlin.String = "PENDING"
override fun toString(): kotlin.String = "Pending"
}
public object Recovering : aws.sdk.kotlin.services.applicationinsights.model.Status() {
override val value: kotlin.String = "RECOVERING"
override fun toString(): kotlin.String = "Recovering"
}
public object Recurring : aws.sdk.kotlin.services.applicationinsights.model.Status() {
override val value: kotlin.String = "RECURRING"
override fun toString(): kotlin.String = "Recurring"
}
public object Resolved : aws.sdk.kotlin.services.applicationinsights.model.Status() {
override val value: kotlin.String = "RESOLVED"
override fun toString(): kotlin.String = "Resolved"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.applicationinsights.model.Status() {
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.applicationinsights.model.Status = when (value) {
"IGNORE" -> Ignore
"PENDING" -> Pending
"RECOVERING" -> Recovering
"RECURRING" -> Recurring
"RESOLVED" -> Resolved
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Ignore,
Pending,
Recovering,
Recurring,
Resolved,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy