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

commonMain.aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicy.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 a configured table.
 */
public sealed class ConfiguredTableAnalysisRulePolicy {
    /**
     * Controls on the query specifications that can be run on a configured table.
     */
    public data class V1(val value: aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicyV1) : aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicy() {
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy