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

zio.aws.tnb.model.NsLcmOperationState.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.10
Show newest version
package zio.aws.tnb.model
import scala.jdk.CollectionConverters.*
sealed trait NsLcmOperationState {
  def unwrap: software.amazon.awssdk.services.tnb.model.NsLcmOperationState
}
object NsLcmOperationState {
  def wrap(
      value: software.amazon.awssdk.services.tnb.model.NsLcmOperationState
  ): zio.aws.tnb.model.NsLcmOperationState = value match {
    case software.amazon.awssdk.services.tnb.model.NsLcmOperationState.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.tnb.model.NsLcmOperationState.PROCESSING =>
      val r = PROCESSING
      r
    case software.amazon.awssdk.services.tnb.model.NsLcmOperationState.COMPLETED =>
      val r = COMPLETED
      r
    case software.amazon.awssdk.services.tnb.model.NsLcmOperationState.FAILED =>
      val r = FAILED
      r
    case software.amazon.awssdk.services.tnb.model.NsLcmOperationState.CANCELLING =>
      val r = CANCELLING
      r
    case software.amazon.awssdk.services.tnb.model.NsLcmOperationState.CANCELLED =>
      val r = CANCELLED
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.tnb.model.NsLcmOperationState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsLcmOperationState =
      software.amazon.awssdk.services.tnb.model.NsLcmOperationState.UNKNOWN_TO_SDK_VERSION
  }
  case object PROCESSING extends zio.aws.tnb.model.NsLcmOperationState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsLcmOperationState =
      software.amazon.awssdk.services.tnb.model.NsLcmOperationState.PROCESSING
  }
  case object COMPLETED extends zio.aws.tnb.model.NsLcmOperationState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsLcmOperationState =
      software.amazon.awssdk.services.tnb.model.NsLcmOperationState.COMPLETED
  }
  case object FAILED extends zio.aws.tnb.model.NsLcmOperationState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsLcmOperationState =
      software.amazon.awssdk.services.tnb.model.NsLcmOperationState.FAILED
  }
  case object CANCELLING extends zio.aws.tnb.model.NsLcmOperationState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsLcmOperationState =
      software.amazon.awssdk.services.tnb.model.NsLcmOperationState.CANCELLING
  }
  case object CANCELLED extends zio.aws.tnb.model.NsLcmOperationState {
    override def unwrap
        : software.amazon.awssdk.services.tnb.model.NsLcmOperationState =
      software.amazon.awssdk.services.tnb.model.NsLcmOperationState.CANCELLED
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy