commonMain.aws.sdk.kotlin.services.appflow.model.Operators.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appflow-jvm Show documentation
Show all versions of appflow-jvm Show documentation
The AWS SDK for Kotlin client for Appflow
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appflow.model
import kotlin.collections.List
public sealed class Operators {
public abstract val value: kotlin.String
public object Addition : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "ADDITION"
override fun toString(): kotlin.String = "Addition"
}
public object Between : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "BETWEEN"
override fun toString(): kotlin.String = "Between"
}
public object Contains : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "CONTAINS"
override fun toString(): kotlin.String = "Contains"
}
public object Division : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "DIVISION"
override fun toString(): kotlin.String = "Division"
}
public object EqualTo : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "EQUAL_TO"
override fun toString(): kotlin.String = "EqualTo"
}
public object GreaterThan : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "GREATER_THAN"
override fun toString(): kotlin.String = "GreaterThan"
}
public object GreaterThanOrEqualTo : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "GREATER_THAN_OR_EQUAL_TO"
override fun toString(): kotlin.String = "GreaterThanOrEqualTo"
}
public object LessThan : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "LESS_THAN"
override fun toString(): kotlin.String = "LessThan"
}
public object LessThanOrEqualTo : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "LESS_THAN_OR_EQUAL_TO"
override fun toString(): kotlin.String = "LessThanOrEqualTo"
}
public object MaskAll : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "MASK_ALL"
override fun toString(): kotlin.String = "MaskAll"
}
public object MaskFirstN : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "MASK_FIRST_N"
override fun toString(): kotlin.String = "MaskFirstN"
}
public object MaskLastN : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "MASK_LAST_N"
override fun toString(): kotlin.String = "MaskLastN"
}
public object Multiplication : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "MULTIPLICATION"
override fun toString(): kotlin.String = "Multiplication"
}
public object NotEqualTo : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "NOT_EQUAL_TO"
override fun toString(): kotlin.String = "NotEqualTo"
}
public object NoOp : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "NO_OP"
override fun toString(): kotlin.String = "NoOp"
}
public object Projection : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "PROJECTION"
override fun toString(): kotlin.String = "Projection"
}
public object Subtraction : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "SUBTRACTION"
override fun toString(): kotlin.String = "Subtraction"
}
public object ValidateNonNegative : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "VALIDATE_NON_NEGATIVE"
override fun toString(): kotlin.String = "ValidateNonNegative"
}
public object ValidateNonNull : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "VALIDATE_NON_NULL"
override fun toString(): kotlin.String = "ValidateNonNull"
}
public object ValidateNonZero : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "VALIDATE_NON_ZERO"
override fun toString(): kotlin.String = "ValidateNonZero"
}
public object ValidateNumeric : aws.sdk.kotlin.services.appflow.model.Operators() {
override val value: kotlin.String = "VALIDATE_NUMERIC"
override fun toString(): kotlin.String = "ValidateNumeric"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.appflow.model.Operators() {
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.Operators = when (value) {
"ADDITION" -> Addition
"BETWEEN" -> Between
"CONTAINS" -> Contains
"DIVISION" -> Division
"EQUAL_TO" -> EqualTo
"GREATER_THAN" -> GreaterThan
"GREATER_THAN_OR_EQUAL_TO" -> GreaterThanOrEqualTo
"LESS_THAN" -> LessThan
"LESS_THAN_OR_EQUAL_TO" -> LessThanOrEqualTo
"MASK_ALL" -> MaskAll
"MASK_FIRST_N" -> MaskFirstN
"MASK_LAST_N" -> MaskLastN
"MULTIPLICATION" -> Multiplication
"NOT_EQUAL_TO" -> NotEqualTo
"NO_OP" -> NoOp
"PROJECTION" -> Projection
"SUBTRACTION" -> Subtraction
"VALIDATE_NON_NEGATIVE" -> ValidateNonNegative
"VALIDATE_NON_NULL" -> ValidateNonNull
"VALIDATE_NON_ZERO" -> ValidateNonZero
"VALIDATE_NUMERIC" -> ValidateNumeric
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Addition,
Between,
Contains,
Division,
EqualTo,
GreaterThan,
GreaterThanOrEqualTo,
LessThan,
LessThanOrEqualTo,
MaskAll,
MaskFirstN,
MaskLastN,
Multiplication,
NotEqualTo,
NoOp,
Projection,
Subtraction,
ValidateNonNegative,
ValidateNonNull,
ValidateNonZero,
ValidateNumeric,
)
}
}