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

zio.aws.amplifybackend.model.MFAMode.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.10
Show newest version
package zio.aws.amplifybackend.model
import scala.jdk.CollectionConverters.*
sealed trait MFAMode {
  def unwrap: software.amazon.awssdk.services.amplifybackend.model.MFAMode
}
object MFAMode {
  def wrap(
      value: software.amazon.awssdk.services.amplifybackend.model.MFAMode
  ): zio.aws.amplifybackend.model.MFAMode = value match {
    case software.amazon.awssdk.services.amplifybackend.model.MFAMode.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.amplifybackend.model.MFAMode.ON =>
      val r = ON
      r
    case software.amazon.awssdk.services.amplifybackend.model.MFAMode.OFF =>
      val r = OFF
      r
    case software.amazon.awssdk.services.amplifybackend.model.MFAMode.OPTIONAL =>
      val r = OPTIONAL
      r
  }
  case object unknownToSdkVersion extends zio.aws.amplifybackend.model.MFAMode {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.MFAMode =
      software.amazon.awssdk.services.amplifybackend.model.MFAMode.UNKNOWN_TO_SDK_VERSION
  }
  case object ON extends zio.aws.amplifybackend.model.MFAMode {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.MFAMode =
      software.amazon.awssdk.services.amplifybackend.model.MFAMode.ON
  }
  case object OFF extends zio.aws.amplifybackend.model.MFAMode {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.MFAMode =
      software.amazon.awssdk.services.amplifybackend.model.MFAMode.OFF
  }
  case object OPTIONAL extends zio.aws.amplifybackend.model.MFAMode {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.MFAMode =
      software.amazon.awssdk.services.amplifybackend.model.MFAMode.OPTIONAL
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy