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

commonMain.aws.sdk.kotlin.services.outposts.model.MaximumSupportedWeightLbs.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.outposts.model

import kotlin.collections.List

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

    public object Max1400Lbs : aws.sdk.kotlin.services.outposts.model.MaximumSupportedWeightLbs() {
        override val value: kotlin.String = "MAX_1400_LBS"
        override fun toString(): kotlin.String = "Max1400Lbs"
    }

    public object Max1600Lbs : aws.sdk.kotlin.services.outposts.model.MaximumSupportedWeightLbs() {
        override val value: kotlin.String = "MAX_1600_LBS"
        override fun toString(): kotlin.String = "Max1600Lbs"
    }

    public object Max1800Lbs : aws.sdk.kotlin.services.outposts.model.MaximumSupportedWeightLbs() {
        override val value: kotlin.String = "MAX_1800_LBS"
        override fun toString(): kotlin.String = "Max1800Lbs"
    }

    public object Max2000Lbs : aws.sdk.kotlin.services.outposts.model.MaximumSupportedWeightLbs() {
        override val value: kotlin.String = "MAX_2000_LBS"
        override fun toString(): kotlin.String = "Max2000Lbs"
    }

    public object NoLimit : aws.sdk.kotlin.services.outposts.model.MaximumSupportedWeightLbs() {
        override val value: kotlin.String = "NO_LIMIT"
        override fun toString(): kotlin.String = "NoLimit"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.outposts.model.MaximumSupportedWeightLbs() {
        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.MaximumSupportedWeightLbs = when (value) {
            "MAX_1400_LBS" -> Max1400Lbs
            "MAX_1600_LBS" -> Max1600Lbs
            "MAX_1800_LBS" -> Max1800Lbs
            "MAX_2000_LBS" -> Max2000Lbs
            "NO_LIMIT" -> NoLimit
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Max1400Lbs,
            Max1600Lbs,
            Max1800Lbs,
            Max2000Lbs,
            NoLimit,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy