commonMain.aws.sdk.kotlin.services.finspacedata.model.PermissionGroupMembershipStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspacedata-jvm Show documentation
Show all versions of finspacedata-jvm Show documentation
The AWS SDK for Kotlin client for finspace data
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspacedata.model
import kotlin.collections.List
public sealed class PermissionGroupMembershipStatus {
public abstract val value: kotlin.String
public object AdditionInProgress : aws.sdk.kotlin.services.finspacedata.model.PermissionGroupMembershipStatus() {
override val value: kotlin.String = "ADDITION_IN_PROGRESS"
override fun toString(): kotlin.String = "AdditionInProgress"
}
public object AdditionSuccess : aws.sdk.kotlin.services.finspacedata.model.PermissionGroupMembershipStatus() {
override val value: kotlin.String = "ADDITION_SUCCESS"
override fun toString(): kotlin.String = "AdditionSuccess"
}
public object RemovalInProgress : aws.sdk.kotlin.services.finspacedata.model.PermissionGroupMembershipStatus() {
override val value: kotlin.String = "REMOVAL_IN_PROGRESS"
override fun toString(): kotlin.String = "RemovalInProgress"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.finspacedata.model.PermissionGroupMembershipStatus() {
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.finspacedata.model.PermissionGroupMembershipStatus = when (value) {
"ADDITION_IN_PROGRESS" -> AdditionInProgress
"ADDITION_SUCCESS" -> AdditionSuccess
"REMOVAL_IN_PROGRESS" -> RemovalInProgress
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
AdditionInProgress,
AdditionSuccess,
RemovalInProgress,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy