commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sagemakergeospatial-jvm Show documentation
Show all versions of sagemakergeospatial-jvm Show documentation
The AWS SDK for Kotlin client for SageMaker Geospatial
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemakergeospatial.model
import kotlin.collections.List
public sealed class EarthObservationJobStatus {
public abstract val value: kotlin.String
/**
* COMPLETED
*/
public object Completed : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "COMPLETED"
override fun toString(): kotlin.String = "Completed"
}
/**
* DELETED
*/
public object Deleted : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "DELETED"
override fun toString(): kotlin.String = "Deleted"
}
/**
* DELETING
*/
public object Deleting : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "DELETING"
override fun toString(): kotlin.String = "Deleting"
}
/**
* FAILED
*/
public object Failed : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "FAILED"
override fun toString(): kotlin.String = "Failed"
}
/**
* INITIALIZING
*/
public object Initializing : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "INITIALIZING"
override fun toString(): kotlin.String = "Initializing"
}
/**
* IN_PROGRESS
*/
public object InProgress : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "IN_PROGRESS"
override fun toString(): kotlin.String = "InProgress"
}
/**
* STOPPED
*/
public object Stopped : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "STOPPED"
override fun toString(): kotlin.String = "Stopped"
}
/**
* STOPPING
*/
public object Stopping : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
override val value: kotlin.String = "STOPPING"
override fun toString(): kotlin.String = "Stopping"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.sagemakergeospatial.model.EarthObservationJobStatus() {
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.sagemakergeospatial.model.EarthObservationJobStatus = when (value) {
"COMPLETED" -> Completed
"DELETED" -> Deleted
"DELETING" -> Deleting
"FAILED" -> Failed
"INITIALIZING" -> Initializing
"IN_PROGRESS" -> InProgress
"STOPPED" -> Stopped
"STOPPING" -> Stopping
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Completed,
Deleted,
Deleting,
Failed,
Initializing,
InProgress,
Stopped,
Stopping,
)
}
}