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

commonMain.aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys.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.appflow.model

import kotlin.collections.List

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

    public object ConcatFormat : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "CONCAT_FORMAT"
        override fun toString(): kotlin.String = "ConcatFormat"
    }

    public object DataType : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "DATA_TYPE"
        override fun toString(): kotlin.String = "DataType"
    }

    public object DestinationDataType : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "DESTINATION_DATA_TYPE"
        override fun toString(): kotlin.String = "DestinationDataType"
    }

    public object ExcludeSourceFieldsList : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "EXCLUDE_SOURCE_FIELDS_LIST"
        override fun toString(): kotlin.String = "ExcludeSourceFieldsList"
    }

    public object IncludeNewFields : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "INCLUDE_NEW_FIELDS"
        override fun toString(): kotlin.String = "IncludeNewFields"
    }

    public object LowerBound : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "LOWER_BOUND"
        override fun toString(): kotlin.String = "LowerBound"
    }

    public object MaskLength : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "MASK_LENGTH"
        override fun toString(): kotlin.String = "MaskLength"
    }

    public object MaskValue : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "MASK_VALUE"
        override fun toString(): kotlin.String = "MaskValue"
    }

    public object MathOperationFieldsOrder : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "MATH_OPERATION_FIELDS_ORDER"
        override fun toString(): kotlin.String = "MathOperationFieldsOrder"
    }

    public object OrderedPartitionKeysList : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "ORDERED_PARTITION_KEYS_LIST"
        override fun toString(): kotlin.String = "OrderedPartitionKeysList"
    }

    public object SourceDataType : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "SOURCE_DATA_TYPE"
        override fun toString(): kotlin.String = "SourceDataType"
    }

    public object SubfieldCategoryMap : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "SUBFIELD_CATEGORY_MAP"
        override fun toString(): kotlin.String = "SubfieldCategoryMap"
    }

    public object TruncateLength : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "TRUNCATE_LENGTH"
        override fun toString(): kotlin.String = "TruncateLength"
    }

    public object UpperBound : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "UPPER_BOUND"
        override fun toString(): kotlin.String = "UpperBound"
    }

    public object ValidationAction : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "VALIDATION_ACTION"
        override fun toString(): kotlin.String = "ValidationAction"
    }

    public object Value : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "VALUE"
        override fun toString(): kotlin.String = "Value"
    }

    public object Values : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        override val value: kotlin.String = "VALUES"
        override fun toString(): kotlin.String = "Values"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appflow.model.OperatorPropertiesKeys() {
        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.appflow.model.OperatorPropertiesKeys = when (value) {
            "CONCAT_FORMAT" -> ConcatFormat
            "DATA_TYPE" -> DataType
            "DESTINATION_DATA_TYPE" -> DestinationDataType
            "EXCLUDE_SOURCE_FIELDS_LIST" -> ExcludeSourceFieldsList
            "INCLUDE_NEW_FIELDS" -> IncludeNewFields
            "LOWER_BOUND" -> LowerBound
            "MASK_LENGTH" -> MaskLength
            "MASK_VALUE" -> MaskValue
            "MATH_OPERATION_FIELDS_ORDER" -> MathOperationFieldsOrder
            "ORDERED_PARTITION_KEYS_LIST" -> OrderedPartitionKeysList
            "SOURCE_DATA_TYPE" -> SourceDataType
            "SUBFIELD_CATEGORY_MAP" -> SubfieldCategoryMap
            "TRUNCATE_LENGTH" -> TruncateLength
            "UPPER_BOUND" -> UpperBound
            "VALIDATION_ACTION" -> ValidationAction
            "VALUE" -> Value
            "VALUES" -> Values
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            ConcatFormat,
            DataType,
            DestinationDataType,
            ExcludeSourceFieldsList,
            IncludeNewFields,
            LowerBound,
            MaskLength,
            MaskValue,
            MathOperationFieldsOrder,
            OrderedPartitionKeysList,
            SourceDataType,
            SubfieldCategoryMap,
            TruncateLength,
            UpperBound,
            ValidationAction,
            Value,
            Values,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy