zio.aws.snowdevicemanagement.model.AttachmentStatus.scala Maven / Gradle / Ivy
The newest version!
package zio.aws.snowdevicemanagement.model
import scala.jdk.CollectionConverters._
sealed trait AttachmentStatus {
def unwrap: software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus
}
object AttachmentStatus {
def wrap(
value: software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus
): zio.aws.snowdevicemanagement.model.AttachmentStatus = value match {
case software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.ATTACHING =>
val r = ATTACHING
r
case software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.ATTACHED =>
val r = ATTACHED
r
case software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.DETACHING =>
val r = DETACHING
r
case software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.DETACHED =>
val r = DETACHED
r
}
case object unknownToSdkVersion
extends zio.aws.snowdevicemanagement.model.AttachmentStatus {
override def unwrap
: software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus =
software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.UNKNOWN_TO_SDK_VERSION
}
case object ATTACHING
extends zio.aws.snowdevicemanagement.model.AttachmentStatus {
override def unwrap
: software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus =
software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.ATTACHING
}
case object ATTACHED
extends zio.aws.snowdevicemanagement.model.AttachmentStatus {
override def unwrap
: software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus =
software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.ATTACHED
}
case object DETACHING
extends zio.aws.snowdevicemanagement.model.AttachmentStatus {
override def unwrap
: software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus =
software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.DETACHING
}
case object DETACHED
extends zio.aws.snowdevicemanagement.model.AttachmentStatus {
override def unwrap
: software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus =
software.amazon.awssdk.services.snowdevicemanagement.model.AttachmentStatus.DETACHED
}
}