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

aws.sdk.kotlin.services.lookoutvision.model.TargetPlatformAccelerator.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.lookoutvision.model



sealed class TargetPlatformAccelerator {

    abstract val value: kotlin.String

    object Nvidia : aws.sdk.kotlin.services.lookoutvision.model.TargetPlatformAccelerator() {
        override val value: kotlin.String = "NVIDIA"
        override fun toString(): kotlin.String = value
    }

    data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.lookoutvision.model.TargetPlatformAccelerator() {
        override fun toString(): kotlin.String = value
    }

    companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.lookoutvision.model.TargetPlatformAccelerator = when(str) {
            "NVIDIA" -> Nvidia
            else -> SdkUnknown(str)
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy