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

commonMain.aws.sdk.kotlin.services.appstream.model.Action.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.appstream.model

import kotlin.collections.List

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

    public object AutoTimeZoneRedirection : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "AUTO_TIME_ZONE_REDIRECTION"
        override fun toString(): kotlin.String = "AutoTimeZoneRedirection"
    }

    public object ClipboardCopyFromLocalDevice : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE"
        override fun toString(): kotlin.String = "ClipboardCopyFromLocalDevice"
    }

    public object ClipboardCopyToLocalDevice : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "CLIPBOARD_COPY_TO_LOCAL_DEVICE"
        override fun toString(): kotlin.String = "ClipboardCopyToLocalDevice"
    }

    public object DomainPasswordSignin : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "DOMAIN_PASSWORD_SIGNIN"
        override fun toString(): kotlin.String = "DomainPasswordSignin"
    }

    public object DomainSmartCardSignin : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "DOMAIN_SMART_CARD_SIGNIN"
        override fun toString(): kotlin.String = "DomainSmartCardSignin"
    }

    public object FileDownload : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "FILE_DOWNLOAD"
        override fun toString(): kotlin.String = "FileDownload"
    }

    public object FileUpload : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "FILE_UPLOAD"
        override fun toString(): kotlin.String = "FileUpload"
    }

    public object PrintingToLocalDevice : aws.sdk.kotlin.services.appstream.model.Action() {
        override val value: kotlin.String = "PRINTING_TO_LOCAL_DEVICE"
        override fun toString(): kotlin.String = "PrintingToLocalDevice"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.Action() {
        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.appstream.model.Action = when (value) {
            "AUTO_TIME_ZONE_REDIRECTION" -> AutoTimeZoneRedirection
            "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" -> ClipboardCopyFromLocalDevice
            "CLIPBOARD_COPY_TO_LOCAL_DEVICE" -> ClipboardCopyToLocalDevice
            "DOMAIN_PASSWORD_SIGNIN" -> DomainPasswordSignin
            "DOMAIN_SMART_CARD_SIGNIN" -> DomainSmartCardSignin
            "FILE_DOWNLOAD" -> FileDownload
            "FILE_UPLOAD" -> FileUpload
            "PRINTING_TO_LOCAL_DEVICE" -> PrintingToLocalDevice
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            AutoTimeZoneRedirection,
            ClipboardCopyFromLocalDevice,
            ClipboardCopyToLocalDevice,
            DomainPasswordSignin,
            DomainSmartCardSignin,
            FileDownload,
            FileUpload,
            PrintingToLocalDevice,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy