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

commonMain.aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode.kt Maven / Gradle / Ivy

There is a newer version: 1.3.31
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.cleanrooms.model

import kotlin.collections.List

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

    public object AdditionalAnalysesNotAllowed : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "ADDITIONAL_ANALYSES_NOT_ALLOWED"
        override fun toString(): kotlin.String = "AdditionalAnalysesNotAllowed"
    }

    public object AdditionalAnalysesNotConfigured : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "ADDITIONAL_ANALYSES_NOT_CONFIGURED"
        override fun toString(): kotlin.String = "AdditionalAnalysesNotConfigured"
    }

    public object AnalysisProvidersNotConfigured : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "ANALYSIS_PROVIDERS_NOT_CONFIGURED"
        override fun toString(): kotlin.String = "AnalysisProvidersNotConfigured"
    }

    public object AnalysisRuleMissing : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "ANALYSIS_RULE_MISSING"
        override fun toString(): kotlin.String = "AnalysisRuleMissing"
    }

    public object AnalysisRuleTypesNotCompatible : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "ANALYSIS_RULE_TYPES_NOT_COMPATIBLE"
        override fun toString(): kotlin.String = "AnalysisRuleTypesNotCompatible"
    }

    public object AnalysisTemplatesNotConfigured : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "ANALYSIS_TEMPLATES_NOT_CONFIGURED"
        override fun toString(): kotlin.String = "AnalysisTemplatesNotConfigured"
    }

    public object CollaborationAnalysisRuleNotConfigured : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED"
        override fun toString(): kotlin.String = "CollaborationAnalysisRuleNotConfigured"
    }

    public object DifferentialPrivacyPolicyNotConfigured : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED"
        override fun toString(): kotlin.String = "DifferentialPrivacyPolicyNotConfigured"
    }

    public object IdMappingTableNotPopulated : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "ID_MAPPING_TABLE_NOT_POPULATED"
        override fun toString(): kotlin.String = "IdMappingTableNotPopulated"
    }

    public object ResultReceiversNotAllowed : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "RESULT_RECEIVERS_NOT_ALLOWED"
        override fun toString(): kotlin.String = "ResultReceiversNotAllowed"
    }

    public object ResultReceiversNotConfigured : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        override val value: kotlin.String = "RESULT_RECEIVERS_NOT_CONFIGURED"
        override fun toString(): kotlin.String = "ResultReceiversNotConfigured"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.cleanrooms.model.SchemaStatusReasonCode() {
        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.cleanrooms.model.SchemaStatusReasonCode = when (value) {
            "ADDITIONAL_ANALYSES_NOT_ALLOWED" -> AdditionalAnalysesNotAllowed
            "ADDITIONAL_ANALYSES_NOT_CONFIGURED" -> AdditionalAnalysesNotConfigured
            "ANALYSIS_PROVIDERS_NOT_CONFIGURED" -> AnalysisProvidersNotConfigured
            "ANALYSIS_RULE_MISSING" -> AnalysisRuleMissing
            "ANALYSIS_RULE_TYPES_NOT_COMPATIBLE" -> AnalysisRuleTypesNotCompatible
            "ANALYSIS_TEMPLATES_NOT_CONFIGURED" -> AnalysisTemplatesNotConfigured
            "COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED" -> CollaborationAnalysisRuleNotConfigured
            "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED" -> DifferentialPrivacyPolicyNotConfigured
            "ID_MAPPING_TABLE_NOT_POPULATED" -> IdMappingTableNotPopulated
            "RESULT_RECEIVERS_NOT_ALLOWED" -> ResultReceiversNotAllowed
            "RESULT_RECEIVERS_NOT_CONFIGURED" -> ResultReceiversNotConfigured
            else -> SdkUnknown(value)
        }

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

        private val values: kotlin.collections.List = listOf(
            AdditionalAnalysesNotAllowed,
            AdditionalAnalysesNotConfigured,
            AnalysisProvidersNotConfigured,
            AnalysisRuleMissing,
            AnalysisRuleTypesNotCompatible,
            AnalysisTemplatesNotConfigured,
            CollaborationAnalysisRuleNotConfigured,
            DifferentialPrivacyPolicyNotConfigured,
            IdMappingTableNotPopulated,
            ResultReceiversNotAllowed,
            ResultReceiversNotConfigured,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy