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

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

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

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



/**
 * Controls on the query specifications that can be run on configured table.
 */
public sealed class AnalysisRulePolicy {
    /**
     * Controls on the query specifications that can be run on configured table.
     */
    public data class V1(val value: aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicyV1) : aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicy() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicy() {
    }

    /**
     * Casts this [AnalysisRulePolicy] as a [V1] and retrieves its [aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicyV1] value. Throws an exception if the [AnalysisRulePolicy] is not a
     * [V1].
     */
    public fun asV1(): aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicyV1 = (this as AnalysisRulePolicy.V1).value

    /**
     * Casts this [AnalysisRulePolicy] as a [V1] and retrieves its [aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicyV1] value. Returns null if the [AnalysisRulePolicy] is not a [V1].
     */
    public fun asV1OrNull(): aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicyV1? = (this as? AnalysisRulePolicy.V1)?.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy