
commonMain.aws.sdk.kotlin.services.customerprofiles.model.DataPullMode.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.customerprofiles.model
import kotlin.collections.List
public sealed class DataPullMode {
public abstract val value: kotlin.String
public object Complete : aws.sdk.kotlin.services.customerprofiles.model.DataPullMode() {
override val value: kotlin.String = "Complete"
override fun toString(): kotlin.String = value
}
public object Incremental : aws.sdk.kotlin.services.customerprofiles.model.DataPullMode() {
override val value: kotlin.String = "Incremental"
override fun toString(): kotlin.String = value
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.customerprofiles.model.DataPullMode() {
override fun toString(): kotlin.String = value
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.customerprofiles.model.DataPullMode = when(str) {
"Complete" -> Complete
"Incremental" -> Incremental
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = listOf(
Complete,
Incremental
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy