All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus.kt Maven / Gradle / Ivy

There is a newer version: 1.3.35
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.applicationdiscoveryservice.model

import kotlin.collections.List

public sealed class ImportStatus {
    public abstract val value: kotlin.String

    public object DeleteComplete : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "DELETE_COMPLETE"
        override fun toString(): kotlin.String = "DeleteComplete"
    }

    public object DeleteFailed : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "DELETE_FAILED"
        override fun toString(): kotlin.String = "DeleteFailed"
    }

    public object DeleteFailedLimitExceeded : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "DELETE_FAILED_LIMIT_EXCEEDED"
        override fun toString(): kotlin.String = "DeleteFailedLimitExceeded"
    }

    public object DeleteInProgress : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "DELETE_IN_PROGRESS"
        override fun toString(): kotlin.String = "DeleteInProgress"
    }

    public object ImportComplete : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "IMPORT_COMPLETE"
        override fun toString(): kotlin.String = "ImportComplete"
    }

    public object ImportCompleteWithErrors : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "IMPORT_COMPLETE_WITH_ERRORS"
        override fun toString(): kotlin.String = "ImportCompleteWithErrors"
    }

    public object ImportFailed : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "IMPORT_FAILED"
        override fun toString(): kotlin.String = "ImportFailed"
    }

    public object ImportFailedRecordLimitExceeded : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED"
        override fun toString(): kotlin.String = "ImportFailedRecordLimitExceeded"
    }

    public object ImportFailedServerLimitExceeded : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED"
        override fun toString(): kotlin.String = "ImportFailedServerLimitExceeded"
    }

    public object ImportInProgress : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "IMPORT_IN_PROGRESS"
        override fun toString(): kotlin.String = "ImportInProgress"
    }

    public object InternalError : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        override val value: kotlin.String = "INTERNAL_ERROR"
        override fun toString(): kotlin.String = "InternalError"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.applicationdiscoveryservice.model.ImportStatus() {
        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.applicationdiscoveryservice.model.ImportStatus = when (value) {
            "DELETE_COMPLETE" -> DeleteComplete
            "DELETE_FAILED" -> DeleteFailed
            "DELETE_FAILED_LIMIT_EXCEEDED" -> DeleteFailedLimitExceeded
            "DELETE_IN_PROGRESS" -> DeleteInProgress
            "IMPORT_COMPLETE" -> ImportComplete
            "IMPORT_COMPLETE_WITH_ERRORS" -> ImportCompleteWithErrors
            "IMPORT_FAILED" -> ImportFailed
            "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" -> ImportFailedRecordLimitExceeded
            "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" -> ImportFailedServerLimitExceeded
            "IMPORT_IN_PROGRESS" -> ImportInProgress
            "INTERNAL_ERROR" -> InternalError
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            DeleteComplete,
            DeleteFailed,
            DeleteFailedLimitExceeded,
            DeleteInProgress,
            ImportComplete,
            ImportCompleteWithErrors,
            ImportFailed,
            ImportFailedRecordLimitExceeded,
            ImportFailedServerLimitExceeded,
            ImportInProgress,
            InternalError,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy