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

commonMain.aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobConfig.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



/**
 * It contains configs such as ReverseGeocodingConfig and MapMatchingConfig.
 */
public sealed class VectorEnrichmentJobConfig {
    /**
     * The input structure for Map Matching operation type.
     */
    public data class MapMatchingConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.MapMatchingConfig) : aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobConfig() {
    }

    /**
     * The input structure for Reverse Geocoding operation type.
     */
    public data class ReverseGeocodingConfig(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.ReverseGeocodingConfig) : aws.sdk.kotlin.services.sagemakergeospatial.model.VectorEnrichmentJobConfig() {
    }

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy