aws.sdk.kotlin.services.sagemaker.model.AwsManagedHumanLoopRequestSource.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemaker.model
sealed class AwsManagedHumanLoopRequestSource {
abstract val value: kotlin.String
object RekognitionDetectModerationLabelsImageV3 : aws.sdk.kotlin.services.sagemaker.model.AwsManagedHumanLoopRequestSource() {
override val value: kotlin.String = "AWS/Rekognition/DetectModerationLabels/Image/V3"
override fun toString(): kotlin.String = value
}
object TextractAnalyzeDocumentFormsV1 : aws.sdk.kotlin.services.sagemaker.model.AwsManagedHumanLoopRequestSource() {
override val value: kotlin.String = "AWS/Textract/AnalyzeDocument/Forms/V1"
override fun toString(): kotlin.String = value
}
data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.sagemaker.model.AwsManagedHumanLoopRequestSource() {
override fun toString(): kotlin.String = value
}
companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.sagemaker.model.AwsManagedHumanLoopRequestSource = when(str) {
"AWS/Rekognition/DetectModerationLabels/Image/V3" -> RekognitionDetectModerationLabelsImageV3
"AWS/Textract/AnalyzeDocument/Forms/V1" -> TextractAnalyzeDocumentFormsV1
else -> SdkUnknown(str)
}
/**
* Get a list of all possible variants
*/
fun values(): kotlin.collections.List = listOf(
RekognitionDetectModerationLabelsImageV3,
TextractAnalyzeDocumentFormsV1
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy