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

commonMain.aws.sdk.kotlin.services.outposts.model.UplinkCount.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 UplinkCount {
    public abstract val value: kotlin.String

    public object UplinkCount1 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_1"
        override fun toString(): kotlin.String = "UplinkCount1"
    }

    public object UplinkCount12 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_12"
        override fun toString(): kotlin.String = "UplinkCount12"
    }

    public object UplinkCount16 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_16"
        override fun toString(): kotlin.String = "UplinkCount16"
    }

    public object UplinkCount2 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_2"
        override fun toString(): kotlin.String = "UplinkCount2"
    }

    public object UplinkCount3 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_3"
        override fun toString(): kotlin.String = "UplinkCount3"
    }

    public object UplinkCount4 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_4"
        override fun toString(): kotlin.String = "UplinkCount4"
    }

    public object UplinkCount5 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_5"
        override fun toString(): kotlin.String = "UplinkCount5"
    }

    public object UplinkCount6 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_6"
        override fun toString(): kotlin.String = "UplinkCount6"
    }

    public object UplinkCount7 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_7"
        override fun toString(): kotlin.String = "UplinkCount7"
    }

    public object UplinkCount8 : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        override val value: kotlin.String = "UPLINK_COUNT_8"
        override fun toString(): kotlin.String = "UplinkCount8"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.outposts.model.UplinkCount() {
        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.UplinkCount = when (value) {
            "UPLINK_COUNT_1" -> UplinkCount1
            "UPLINK_COUNT_12" -> UplinkCount12
            "UPLINK_COUNT_16" -> UplinkCount16
            "UPLINK_COUNT_2" -> UplinkCount2
            "UPLINK_COUNT_3" -> UplinkCount3
            "UPLINK_COUNT_4" -> UplinkCount4
            "UPLINK_COUNT_5" -> UplinkCount5
            "UPLINK_COUNT_6" -> UplinkCount6
            "UPLINK_COUNT_7" -> UplinkCount7
            "UPLINK_COUNT_8" -> UplinkCount8
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            UplinkCount1,
            UplinkCount12,
            UplinkCount16,
            UplinkCount2,
            UplinkCount3,
            UplinkCount4,
            UplinkCount5,
            UplinkCount6,
            UplinkCount7,
            UplinkCount8,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy