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

commonMain.aws.sdk.kotlin.services.partnercentralselling.model.Channel.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.partnercentralselling.model

import kotlin.collections.List

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

    public object AwsMarketingCentral : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "AWS Marketing Central"
        override fun toString(): kotlin.String = "AwsMarketingCentral"
    }

    public object ContentSyndication : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Content Syndication"
        override fun toString(): kotlin.String = "ContentSyndication"
    }

    public object Display : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Display"
        override fun toString(): kotlin.String = "Display"
    }

    public object Email : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Email"
        override fun toString(): kotlin.String = "Email"
    }

    public object LiveEvent : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Live Event"
        override fun toString(): kotlin.String = "LiveEvent"
    }

    public object OutOfHome : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Out Of Home (OOH)"
        override fun toString(): kotlin.String = "OutOfHome"
    }

    public object Print : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Print"
        override fun toString(): kotlin.String = "Print"
    }

    public object Search : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Search"
        override fun toString(): kotlin.String = "Search"
    }

    public object Social : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Social"
        override fun toString(): kotlin.String = "Social"
    }

    public object Telemarketing : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Telemarketing"
        override fun toString(): kotlin.String = "Telemarketing"
    }

    public object Tv : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "TV"
        override fun toString(): kotlin.String = "Tv"
    }

    public object Video : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Video"
        override fun toString(): kotlin.String = "Video"
    }

    public object VirtualEvent : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        override val value: kotlin.String = "Virtual Event"
        override fun toString(): kotlin.String = "VirtualEvent"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.partnercentralselling.model.Channel() {
        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.partnercentralselling.model.Channel = when (value) {
            "AWS Marketing Central" -> AwsMarketingCentral
            "Content Syndication" -> ContentSyndication
            "Display" -> Display
            "Email" -> Email
            "Live Event" -> LiveEvent
            "Out Of Home (OOH)" -> OutOfHome
            "Print" -> Print
            "Search" -> Search
            "Social" -> Social
            "Telemarketing" -> Telemarketing
            "TV" -> Tv
            "Video" -> Video
            "Virtual Event" -> VirtualEvent
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            AwsMarketingCentral,
            ContentSyndication,
            Display,
            Email,
            LiveEvent,
            OutOfHome,
            Print,
            Search,
            Social,
            Telemarketing,
            Tv,
            Video,
            VirtualEvent,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy