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

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



/**
 * Represents a single searchable property to search on.
 */
public sealed class Property {
    /**
     * The structure representing EoCloudCover property filter containing a lower bound and upper bound.
     */
    public data class EoCloudCover(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.EoCloudCoverInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.Property() {
    }

    /**
     * The structure representing Land Cloud Cover property filter for Landsat collection containing a lower bound and upper bound.
     */
    public data class LandsatCloudCoverLand(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.LandsatCloudCoverLandInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.Property() {
    }

    /**
     * The structure representing Platform property filter consisting of value and comparison operator.
     */
    public data class Platform(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.PlatformInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.Property() {
    }

    /**
     * The structure representing ViewOffNadir property filter containing a lower bound and upper bound.
     */
    public data class ViewOffNadir(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.ViewOffNadirInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.Property() {
    }

    /**
     * The structure representing ViewSunAzimuth property filter containing a lower bound and upper bound.
     */
    public data class ViewSunAzimuth(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.ViewSunAzimuthInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.Property() {
    }

    /**
     * The structure representing ViewSunElevation property filter containing a lower bound and upper bound.
     */
    public data class ViewSunElevation(val value: aws.sdk.kotlin.services.sagemakergeospatial.model.ViewSunElevationInput) : aws.sdk.kotlin.services.sagemakergeospatial.model.Property() {
    }

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

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

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

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

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

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

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

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy