commonMain.aws.sdk.kotlin.services.cleanroomsml.model.InputChannelDataSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleanroomsml-jvm Show documentation
Show all versions of cleanroomsml-jvm Show documentation
The AWS SDK for Kotlin client for CleanRoomsML
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cleanroomsml.model
/**
* Provides the data source that is used to define an input channel.
*/
public sealed class InputChannelDataSource {
/**
* Provides information necessary to perform the protected query.
*/
public data class ProtectedQueryInputParameters(val value: aws.sdk.kotlin.services.cleanroomsml.model.ProtectedQueryInputParameters) : aws.sdk.kotlin.services.cleanroomsml.model.InputChannelDataSource() {
}
public object SdkUnknown : aws.sdk.kotlin.services.cleanroomsml.model.InputChannelDataSource() {
}
/**
* Casts this [InputChannelDataSource] as a [ProtectedQueryInputParameters] and retrieves its [aws.sdk.kotlin.services.cleanroomsml.model.ProtectedQueryInputParameters] value. Throws an exception if the [InputChannelDataSource] is not a
* [ProtectedQueryInputParameters].
*/
public fun asProtectedQueryInputParameters(): aws.sdk.kotlin.services.cleanroomsml.model.ProtectedQueryInputParameters = (this as InputChannelDataSource.ProtectedQueryInputParameters).value
/**
* Casts this [InputChannelDataSource] as a [ProtectedQueryInputParameters] and retrieves its [aws.sdk.kotlin.services.cleanroomsml.model.ProtectedQueryInputParameters] value. Returns null if the [InputChannelDataSource] is not a [ProtectedQueryInputParameters].
*/
public fun asProtectedQueryInputParametersOrNull(): aws.sdk.kotlin.services.cleanroomsml.model.ProtectedQueryInputParameters? = (this as? InputChannelDataSource.ProtectedQueryInputParameters)?.value
}