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

commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.PresenterPosition.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.chimesdkmediapipelines.model

import kotlin.collections.List

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

    public object BottomLeft : aws.sdk.kotlin.services.chimesdkmediapipelines.model.PresenterPosition() {
        override val value: kotlin.String = "BottomLeft"
        override fun toString(): kotlin.String = "BottomLeft"
    }

    public object BottomRight : aws.sdk.kotlin.services.chimesdkmediapipelines.model.PresenterPosition() {
        override val value: kotlin.String = "BottomRight"
        override fun toString(): kotlin.String = "BottomRight"
    }

    public object TopLeft : aws.sdk.kotlin.services.chimesdkmediapipelines.model.PresenterPosition() {
        override val value: kotlin.String = "TopLeft"
        override fun toString(): kotlin.String = "TopLeft"
    }

    public object TopRight : aws.sdk.kotlin.services.chimesdkmediapipelines.model.PresenterPosition() {
        override val value: kotlin.String = "TopRight"
        override fun toString(): kotlin.String = "TopRight"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.chimesdkmediapipelines.model.PresenterPosition() {
        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.chimesdkmediapipelines.model.PresenterPosition = when (value) {
            "BottomLeft" -> BottomLeft
            "BottomRight" -> BottomRight
            "TopLeft" -> TopLeft
            "TopRight" -> TopRight
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            BottomLeft,
            BottomRight,
            TopLeft,
            TopRight,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy