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

commonMain.aws.sdk.kotlin.services.devopsguru.model.ServiceName.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.devopsguru.model

import kotlin.collections.List

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

    public object ApiGateway : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "API_GATEWAY"
        override fun toString(): kotlin.String = "ApiGateway"
    }

    public object ApplicationElb : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "APPLICATION_ELB"
        override fun toString(): kotlin.String = "ApplicationElb"
    }

    public object AutoScalingGroup : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "AUTO_SCALING_GROUP"
        override fun toString(): kotlin.String = "AutoScalingGroup"
    }

    public object CloudFront : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "CLOUD_FRONT"
        override fun toString(): kotlin.String = "CloudFront"
    }

    public object DynamoDb : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "DYNAMO_DB"
        override fun toString(): kotlin.String = "DynamoDb"
    }

    public object Ec2 : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "EC2"
        override fun toString(): kotlin.String = "Ec2"
    }

    public object Ecs : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "ECS"
        override fun toString(): kotlin.String = "Ecs"
    }

    public object Eks : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "EKS"
        override fun toString(): kotlin.String = "Eks"
    }

    public object ElasticBeanstalk : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "ELASTIC_BEANSTALK"
        override fun toString(): kotlin.String = "ElasticBeanstalk"
    }

    public object ElastiCache : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "ELASTI_CACHE"
        override fun toString(): kotlin.String = "ElastiCache"
    }

    public object Elb : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "ELB"
        override fun toString(): kotlin.String = "Elb"
    }

    public object Es : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "ES"
        override fun toString(): kotlin.String = "Es"
    }

    public object Kinesis : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "KINESIS"
        override fun toString(): kotlin.String = "Kinesis"
    }

    public object Lambda : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "LAMBDA"
        override fun toString(): kotlin.String = "Lambda"
    }

    public object NatGateway : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "NAT_GATEWAY"
        override fun toString(): kotlin.String = "NatGateway"
    }

    public object NetworkElb : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "NETWORK_ELB"
        override fun toString(): kotlin.String = "NetworkElb"
    }

    public object Rds : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "RDS"
        override fun toString(): kotlin.String = "Rds"
    }

    public object Redshift : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "REDSHIFT"
        override fun toString(): kotlin.String = "Redshift"
    }

    public object Route53 : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "ROUTE_53"
        override fun toString(): kotlin.String = "Route53"
    }

    public object S3 : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "S3"
        override fun toString(): kotlin.String = "S3"
    }

    public object SageMaker : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "SAGE_MAKER"
        override fun toString(): kotlin.String = "SageMaker"
    }

    public object Sns : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "SNS"
        override fun toString(): kotlin.String = "Sns"
    }

    public object Sqs : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "SQS"
        override fun toString(): kotlin.String = "Sqs"
    }

    public object StepFunctions : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "STEP_FUNCTIONS"
        override fun toString(): kotlin.String = "StepFunctions"
    }

    public object Swf : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        override val value: kotlin.String = "SWF"
        override fun toString(): kotlin.String = "Swf"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.devopsguru.model.ServiceName() {
        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.devopsguru.model.ServiceName = when (value) {
            "API_GATEWAY" -> ApiGateway
            "APPLICATION_ELB" -> ApplicationElb
            "AUTO_SCALING_GROUP" -> AutoScalingGroup
            "CLOUD_FRONT" -> CloudFront
            "DYNAMO_DB" -> DynamoDb
            "EC2" -> Ec2
            "ECS" -> Ecs
            "EKS" -> Eks
            "ELASTIC_BEANSTALK" -> ElasticBeanstalk
            "ELASTI_CACHE" -> ElastiCache
            "ELB" -> Elb
            "ES" -> Es
            "KINESIS" -> Kinesis
            "LAMBDA" -> Lambda
            "NAT_GATEWAY" -> NatGateway
            "NETWORK_ELB" -> NetworkElb
            "RDS" -> Rds
            "REDSHIFT" -> Redshift
            "ROUTE_53" -> Route53
            "S3" -> S3
            "SAGE_MAKER" -> SageMaker
            "SNS" -> Sns
            "SQS" -> Sqs
            "STEP_FUNCTIONS" -> StepFunctions
            "SWF" -> Swf
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            ApiGateway,
            ApplicationElb,
            AutoScalingGroup,
            CloudFront,
            DynamoDb,
            Ec2,
            Ecs,
            Eks,
            ElasticBeanstalk,
            ElastiCache,
            Elb,
            Es,
            Kinesis,
            Lambda,
            NatGateway,
            NetworkElb,
            Rds,
            Redshift,
            Route53,
            S3,
            SageMaker,
            Sns,
            Sqs,
            StepFunctions,
            Swf,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy