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

commonMain.aws.sdk.kotlin.services.appstream.model.StackAttribute.kt Maven / Gradle / Ivy

The 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 StackAttribute {
    public abstract val value: kotlin.String

    public object AccessEndpoints : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "ACCESS_ENDPOINTS"
        override fun toString(): kotlin.String = "AccessEndpoints"
    }

    public object EmbedHostDomains : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "EMBED_HOST_DOMAINS"
        override fun toString(): kotlin.String = "EmbedHostDomains"
    }

    public object FeedbackUrl : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "FEEDBACK_URL"
        override fun toString(): kotlin.String = "FeedbackUrl"
    }

    public object IamRoleArn : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "IAM_ROLE_ARN"
        override fun toString(): kotlin.String = "IamRoleArn"
    }

    public object RedirectUrl : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "REDIRECT_URL"
        override fun toString(): kotlin.String = "RedirectUrl"
    }

    public object StorageConnectors : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "STORAGE_CONNECTORS"
        override fun toString(): kotlin.String = "StorageConnectors"
    }

    public object StorageConnectorGoogleDrive : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "STORAGE_CONNECTOR_GOOGLE_DRIVE"
        override fun toString(): kotlin.String = "StorageConnectorGoogleDrive"
    }

    public object StorageConnectorHomefolders : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "STORAGE_CONNECTOR_HOMEFOLDERS"
        override fun toString(): kotlin.String = "StorageConnectorHomefolders"
    }

    public object StorageConnectorOneDrive : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "STORAGE_CONNECTOR_ONE_DRIVE"
        override fun toString(): kotlin.String = "StorageConnectorOneDrive"
    }

    public object StreamingExperienceSettings : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "STREAMING_EXPERIENCE_SETTINGS"
        override fun toString(): kotlin.String = "StreamingExperienceSettings"
    }

    public object ThemeName : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "THEME_NAME"
        override fun toString(): kotlin.String = "ThemeName"
    }

    public object UserSettings : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        override val value: kotlin.String = "USER_SETTINGS"
        override fun toString(): kotlin.String = "UserSettings"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appstream.model.StackAttribute() {
        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.StackAttribute = when (value) {
            "ACCESS_ENDPOINTS" -> AccessEndpoints
            "EMBED_HOST_DOMAINS" -> EmbedHostDomains
            "FEEDBACK_URL" -> FeedbackUrl
            "IAM_ROLE_ARN" -> IamRoleArn
            "REDIRECT_URL" -> RedirectUrl
            "STORAGE_CONNECTORS" -> StorageConnectors
            "STORAGE_CONNECTOR_GOOGLE_DRIVE" -> StorageConnectorGoogleDrive
            "STORAGE_CONNECTOR_HOMEFOLDERS" -> StorageConnectorHomefolders
            "STORAGE_CONNECTOR_ONE_DRIVE" -> StorageConnectorOneDrive
            "STREAMING_EXPERIENCE_SETTINGS" -> StreamingExperienceSettings
            "THEME_NAME" -> ThemeName
            "USER_SETTINGS" -> UserSettings
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            AccessEndpoints,
            EmbedHostDomains,
            FeedbackUrl,
            IamRoleArn,
            RedirectUrl,
            StorageConnectors,
            StorageConnectorGoogleDrive,
            StorageConnectorHomefolders,
            StorageConnectorOneDrive,
            StreamingExperienceSettings,
            ThemeName,
            UserSettings,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy