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

commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobDataSourceConfigInput.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.sagemakergeospatial.model



/**
 * The input structure for the data source that represents the storage type of the input data objects.
 */
public sealed class VectorEnrichmentJobDataSourceConfigInput {
    /**
     * The input structure for the Amazon S3 data that represents the Amazon S3 location of the input data objects.
     */
    public data class S3Data(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data) : aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobDataSourceConfigInput() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobDataSourceConfigInput() {
    }

    /**
     * Casts this [VectorEnrichmentJobDataSourceConfigInput] as a [S3Data] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data] value. Throws an exception if the [VectorEnrichmentJobDataSourceConfigInput] is not a
     * [S3Data].
     */
    public fun asS3Data(): aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data = (this as VectorEnrichmentJobDataSourceConfigInput.S3Data).value

    /**
     * Casts this [VectorEnrichmentJobDataSourceConfigInput] as a [S3Data] and retrieves its [aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data] value. Returns null if the [VectorEnrichmentJobDataSourceConfigInput] is not a [S3Data].
     */
    public fun asS3DataOrNull(): aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobS3Data? = (this as? VectorEnrichmentJobDataSourceConfigInput.S3Data)?.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy