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

commonMain.aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment.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.mediaconvert.model

import kotlin.collections.List

/**
 * Specify the alignment of your captions. If no explicit x_position is provided, setting alignment to centered will placethe captions at the bottom center of the output. Similarly, setting a left alignment willalign captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. Within your job settings, all of your DVB-Sub settings must be identical.
 */
public sealed class DvbSubtitleAlignment {

    public abstract val value: kotlin.String

    public object Auto : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
        override val value: kotlin.String = "AUTO"
        override fun toString(): kotlin.String = value
    }

    public object Centered : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
        override val value: kotlin.String = "CENTERED"
        override fun toString(): kotlin.String = value
    }

    public object Left : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
        override val value: kotlin.String = "LEFT"
        override fun toString(): kotlin.String = value
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment() {
        override fun toString(): kotlin.String = value
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.DvbSubtitleAlignment = when(str) {
            "AUTO" -> Auto
            "CENTERED" -> Centered
            "LEFT" -> Left
            else -> SdkUnknown(str)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = listOf(
            Auto,
            Centered,
            Left
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy