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

commonMain.aws.sdk.kotlin.services.cleanroomsml.model.InputChannelDataSource.kt Maven / Gradle / Ivy

There is a newer version: 1.3.79
Show newest version
// 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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy