![JAR search and dependency download from the Maven repository](/logo.png)
commonMain.aws.sdk.kotlin.services.rdsdata.model.ArrayValue.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdsdata-jvm Show documentation
Show all versions of rdsdata-jvm Show documentation
The AWS SDK for Kotlin client for RDS Data
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.rdsdata.model
/**
* Contains an array.
*/
public sealed class ArrayValue {
/**
* An array of arrays.
*/
public data class ArrayValues(val value: List) : aws.sdk.kotlin.services.rdsdata.model.ArrayValue() {
}
/**
* An array of Boolean values.
*/
public data class BooleanValues(val value: List) : aws.sdk.kotlin.services.rdsdata.model.ArrayValue() {
}
/**
* An array of floating-point numbers.
*/
public data class DoubleValues(val value: List) : aws.sdk.kotlin.services.rdsdata.model.ArrayValue() {
}
/**
* An array of integers.
*/
public data class LongValues(val value: List) : aws.sdk.kotlin.services.rdsdata.model.ArrayValue() {
}
/**
* An array of strings.
*/
public data class StringValues(val value: List) : aws.sdk.kotlin.services.rdsdata.model.ArrayValue() {
}
public object SdkUnknown : aws.sdk.kotlin.services.rdsdata.model.ArrayValue() {
}
/**
* Casts this [ArrayValue] as a [ArrayValues] and retrieves its [List] value. Throws an exception if the [ArrayValue] is not a
* [ArrayValues].
*/
public fun asArrayValues(): List = (this as ArrayValue.ArrayValues).value
/**
* Casts this [ArrayValue] as a [ArrayValues] and retrieves its [List] value. Returns null if the [ArrayValue] is not a [ArrayValues].
*/
public fun asArrayValuesOrNull(): List? = (this as? ArrayValue.ArrayValues)?.value
/**
* Casts this [ArrayValue] as a [BooleanValues] and retrieves its [List] value. Throws an exception if the [ArrayValue] is not a
* [BooleanValues].
*/
public fun asBooleanValues(): List = (this as ArrayValue.BooleanValues).value
/**
* Casts this [ArrayValue] as a [BooleanValues] and retrieves its [List] value. Returns null if the [ArrayValue] is not a [BooleanValues].
*/
public fun asBooleanValuesOrNull(): List? = (this as? ArrayValue.BooleanValues)?.value
/**
* Casts this [ArrayValue] as a [DoubleValues] and retrieves its [List] value. Throws an exception if the [ArrayValue] is not a
* [DoubleValues].
*/
public fun asDoubleValues(): List = (this as ArrayValue.DoubleValues).value
/**
* Casts this [ArrayValue] as a [DoubleValues] and retrieves its [List] value. Returns null if the [ArrayValue] is not a [DoubleValues].
*/
public fun asDoubleValuesOrNull(): List? = (this as? ArrayValue.DoubleValues)?.value
/**
* Casts this [ArrayValue] as a [LongValues] and retrieves its [List] value. Throws an exception if the [ArrayValue] is not a
* [LongValues].
*/
public fun asLongValues(): List = (this as ArrayValue.LongValues).value
/**
* Casts this [ArrayValue] as a [LongValues] and retrieves its [List] value. Returns null if the [ArrayValue] is not a [LongValues].
*/
public fun asLongValuesOrNull(): List? = (this as? ArrayValue.LongValues)?.value
/**
* Casts this [ArrayValue] as a [StringValues] and retrieves its [List] value. Throws an exception if the [ArrayValue] is not a
* [StringValues].
*/
public fun asStringValues(): List = (this as ArrayValue.StringValues).value
/**
* Casts this [ArrayValue] as a [StringValues] and retrieves its [List] value. Returns null if the [ArrayValue] is not a [StringValues].
*/
public fun asStringValuesOrNull(): List? = (this as? ArrayValue.StringValues)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy