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

commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic.kt Maven / Gradle / Ivy

There is a newer version: 1.3.77
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.sagemakergeospatial.model

import kotlin.collections.List

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

    /**
     * AVERAGE
     */
    public object Average : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "AVERAGE"
        override fun toString(): kotlin.String = "Average"
    }

    /**
     * BILINEAR
     */
    public object Bilinear : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "BILINEAR"
        override fun toString(): kotlin.String = "Bilinear"
    }

    /**
     * CUBIC
     */
    public object Cubic : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "CUBIC"
        override fun toString(): kotlin.String = "Cubic"
    }

    /**
     * CUBICSPLINE
     */
    public object Cubicspline : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "CUBICSPLINE"
        override fun toString(): kotlin.String = "Cubicspline"
    }

    /**
     * LANCZOS
     */
    public object Lanczos : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "LANCZOS"
        override fun toString(): kotlin.String = "Lanczos"
    }

    /**
     * MAX
     */
    public object Max : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "MAX"
        override fun toString(): kotlin.String = "Max"
    }

    /**
     * MED
     */
    public object Med : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "MED"
        override fun toString(): kotlin.String = "Med"
    }

    /**
     * MIN
     */
    public object Min : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "MIN"
        override fun toString(): kotlin.String = "Min"
    }

    /**
     * MODE
     */
    public object Mode : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "MODE"
        override fun toString(): kotlin.String = "Mode"
    }

    /**
     * NEAR
     */
    public object Near : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "NEAR"
        override fun toString(): kotlin.String = "Near"
    }

    /**
     * Q1
     */
    public object Q1 : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "Q1"
        override fun toString(): kotlin.String = "Q1"
    }

    /**
     * Q3
     */
    public object Q3 : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "Q3"
        override fun toString(): kotlin.String = "Q3"
    }

    /**
     * RMS
     */
    public object Rms : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "RMS"
        override fun toString(): kotlin.String = "Rms"
    }

    /**
     * SUM
     */
    public object Sum : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        override val value: kotlin.String = "SUM"
        override fun toString(): kotlin.String = "Sum"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.sagemakergeospatial.model.AlgorithmNameGeoMosaic() {
        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.sagemakergeospatial.model.AlgorithmNameGeoMosaic = when (value) {
            "AVERAGE" -> Average
            "BILINEAR" -> Bilinear
            "CUBIC" -> Cubic
            "CUBICSPLINE" -> Cubicspline
            "LANCZOS" -> Lanczos
            "MAX" -> Max
            "MED" -> Med
            "MIN" -> Min
            "MODE" -> Mode
            "NEAR" -> Near
            "Q1" -> Q1
            "Q3" -> Q3
            "RMS" -> Rms
            "SUM" -> Sum
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            Average,
            Bilinear,
            Cubic,
            Cubicspline,
            Lanczos,
            Max,
            Med,
            Min,
            Mode,
            Near,
            Q1,
            Q3,
            Rms,
            Sum,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy