commonMain.aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentShareLayoutOption.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chimesdkmediapipelines-jvm Show documentation
Show all versions of chimesdkmediapipelines-jvm Show documentation
The AWS SDK for Kotlin client for Chime SDK Media Pipelines
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chimesdkmediapipelines.model
import kotlin.collections.List
public sealed class ContentShareLayoutOption {
public abstract val value: kotlin.String
public object ActiveSpeakerOnly : aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentShareLayoutOption() {
override val value: kotlin.String = "ActiveSpeakerOnly"
override fun toString(): kotlin.String = "ActiveSpeakerOnly"
}
public object Horizontal : aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentShareLayoutOption() {
override val value: kotlin.String = "Horizontal"
override fun toString(): kotlin.String = "Horizontal"
}
public object PresenterOnly : aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentShareLayoutOption() {
override val value: kotlin.String = "PresenterOnly"
override fun toString(): kotlin.String = "PresenterOnly"
}
public object Vertical : aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentShareLayoutOption() {
override val value: kotlin.String = "Vertical"
override fun toString(): kotlin.String = "Vertical"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.chimesdkmediapipelines.model.ContentShareLayoutOption() {
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.ContentShareLayoutOption = when (value) {
"ActiveSpeakerOnly" -> ActiveSpeakerOnly
"Horizontal" -> Horizontal
"PresenterOnly" -> PresenterOnly
"Vertical" -> Vertical
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
ActiveSpeakerOnly,
Horizontal,
PresenterOnly,
Vertical,
)
}
}