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