commonMain.aws.sdk.kotlin.services.outposts.model.LineItemStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of outposts-jvm Show documentation
Show all versions of outposts-jvm Show documentation
The AWS SDK for Kotlin client for Outposts
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.outposts.model
import kotlin.collections.List
public sealed class LineItemStatus {
public abstract val value: kotlin.String
public object Building : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "BUILDING"
override fun toString(): kotlin.String = "Building"
}
public object Cancelled : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "CANCELLED"
override fun toString(): kotlin.String = "Cancelled"
}
public object Delivered : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "DELIVERED"
override fun toString(): kotlin.String = "Delivered"
}
public object Error : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "ERROR"
override fun toString(): kotlin.String = "Error"
}
public object Installed : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "INSTALLED"
override fun toString(): kotlin.String = "Installed"
}
public object Installing : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "INSTALLING"
override fun toString(): kotlin.String = "Installing"
}
public object Preparing : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "PREPARING"
override fun toString(): kotlin.String = "Preparing"
}
public object Replaced : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "REPLACED"
override fun toString(): kotlin.String = "Replaced"
}
public object Shipped : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
override val value: kotlin.String = "SHIPPED"
override fun toString(): kotlin.String = "Shipped"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.outposts.model.LineItemStatus() {
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.outposts.model.LineItemStatus = when (value) {
"BUILDING" -> Building
"CANCELLED" -> Cancelled
"DELIVERED" -> Delivered
"ERROR" -> Error
"INSTALLED" -> Installed
"INSTALLING" -> Installing
"PREPARING" -> Preparing
"REPLACED" -> Replaced
"SHIPPED" -> Shipped
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Building,
Cancelled,
Delivered,
Error,
Installed,
Installing,
Preparing,
Replaced,
Shipped,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy