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

zio.aws.lexruntimev2.model.InterpretationSource.scala Maven / Gradle / Ivy

package zio.aws.lexruntimev2.model
import scala.jdk.CollectionConverters.*
sealed trait InterpretationSource {
  def unwrap
      : software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource
}
object InterpretationSource {
  def wrap(
      value: software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource
  ): zio.aws.lexruntimev2.model.InterpretationSource = value match {
    case software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.BEDROCK =>
      val r = Bedrock
      r
    case software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.LEX =>
      val r = Lex
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.lexruntimev2.model.InterpretationSource {
    override def unwrap
        : software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource =
      software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.UNKNOWN_TO_SDK_VERSION
  }
  case object Bedrock extends zio.aws.lexruntimev2.model.InterpretationSource {
    override def unwrap
        : software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource =
      software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.BEDROCK
  }
  case object Lex extends zio.aws.lexruntimev2.model.InterpretationSource {
    override def unwrap
        : software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource =
      software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.LEX
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy