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

commonMain.aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video.kt Maven / Gradle / Ivy

The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediapackage.model

import kotlin.collections.List

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

    public object PresetVideo1 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-1"
        override fun toString(): kotlin.String = "PresetVideo1"
    }

    public object PresetVideo2 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-2"
        override fun toString(): kotlin.String = "PresetVideo2"
    }

    public object PresetVideo3 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-3"
        override fun toString(): kotlin.String = "PresetVideo3"
    }

    public object PresetVideo4 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-4"
        override fun toString(): kotlin.String = "PresetVideo4"
    }

    public object PresetVideo5 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-5"
        override fun toString(): kotlin.String = "PresetVideo5"
    }

    public object PresetVideo6 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-6"
        override fun toString(): kotlin.String = "PresetVideo6"
    }

    public object PresetVideo7 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-7"
        override fun toString(): kotlin.String = "PresetVideo7"
    }

    public object PresetVideo8 : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "PRESET-VIDEO-8"
        override fun toString(): kotlin.String = "PresetVideo8"
    }

    public object Shared : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "SHARED"
        override fun toString(): kotlin.String = "Shared"
    }

    public object Unencrypted : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        override val value: kotlin.String = "UNENCRYPTED"
        override fun toString(): kotlin.String = "Unencrypted"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediapackage.model.PresetSpeke20Video() {
        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.mediapackage.model.PresetSpeke20Video = when (value) {
            "PRESET-VIDEO-1" -> PresetVideo1
            "PRESET-VIDEO-2" -> PresetVideo2
            "PRESET-VIDEO-3" -> PresetVideo3
            "PRESET-VIDEO-4" -> PresetVideo4
            "PRESET-VIDEO-5" -> PresetVideo5
            "PRESET-VIDEO-6" -> PresetVideo6
            "PRESET-VIDEO-7" -> PresetVideo7
            "PRESET-VIDEO-8" -> PresetVideo8
            "SHARED" -> Shared
            "UNENCRYPTED" -> Unencrypted
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            PresetVideo1,
            PresetVideo2,
            PresetVideo3,
            PresetVideo4,
            PresetVideo5,
            PresetVideo6,
            PresetVideo7,
            PresetVideo8,
            Shared,
            Unencrypted,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy