
commonMain.aws.sdk.kotlin.services.s3control.model.GeneratedManifestFormat.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.s3control.model
import kotlin.collections.List
public sealed class GeneratedManifestFormat {
public abstract val value: kotlin.String
public object S3InventoryReportCsv20211130 : aws.sdk.kotlin.services.s3control.model.GeneratedManifestFormat() {
override val value: kotlin.String = "S3InventoryReport_CSV_20211130"
override fun toString(): kotlin.String = "S3InventoryReportCsv20211130"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.s3control.model.GeneratedManifestFormat() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.s3control.model.GeneratedManifestFormat = when (value) {
"S3InventoryReport_CSV_20211130" -> S3InventoryReportCsv20211130
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
S3InventoryReportCsv20211130,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy