commonMain.aws.sdk.kotlin.services.cleanrooms.model.AnalysisRulePolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleanrooms-jvm Show documentation
Show all versions of cleanrooms-jvm Show documentation
The AWS SDK for Kotlin client for CleanRooms
// 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
}