commonMain.aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of medicalimaging-jvm Show documentation
Show all versions of medicalimaging-jvm Show documentation
The AWS SDK for Kotlin client for Medical Imaging
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medicalimaging.model
import kotlin.collections.List
public sealed class ImageSetWorkflowStatus {
public abstract val value: kotlin.String
public object Copied : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "COPIED"
override fun toString(): kotlin.String = "Copied"
}
public object Copying : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "COPYING"
override fun toString(): kotlin.String = "Copying"
}
public object CopyingWithReadOnlyAccess : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "COPYING_WITH_READ_ONLY_ACCESS"
override fun toString(): kotlin.String = "CopyingWithReadOnlyAccess"
}
public object CopyFailed : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "COPY_FAILED"
override fun toString(): kotlin.String = "CopyFailed"
}
public object Created : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "CREATED"
override fun toString(): kotlin.String = "Created"
}
public object Deleted : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "DELETED"
override fun toString(): kotlin.String = "Deleted"
}
public object Deleting : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "DELETING"
override fun toString(): kotlin.String = "Deleting"
}
public object Updated : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "UPDATED"
override fun toString(): kotlin.String = "Updated"
}
public object UpdateFailed : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "UPDATE_FAILED"
override fun toString(): kotlin.String = "UpdateFailed"
}
public object Updating : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
override val value: kotlin.String = "UPDATING"
override fun toString(): kotlin.String = "Updating"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.medicalimaging.model.ImageSetWorkflowStatus() {
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.medicalimaging.model.ImageSetWorkflowStatus = when (value) {
"COPIED" -> Copied
"COPYING" -> Copying
"COPYING_WITH_READ_ONLY_ACCESS" -> CopyingWithReadOnlyAccess
"COPY_FAILED" -> CopyFailed
"CREATED" -> Created
"DELETED" -> Deleted
"DELETING" -> Deleting
"UPDATED" -> Updated
"UPDATE_FAILED" -> UpdateFailed
"UPDATING" -> Updating
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Copied,
Copying,
CopyingWithReadOnlyAccess,
CopyFailed,
Created,
Deleted,
Deleting,
Updated,
UpdateFailed,
Updating,
)
}
}