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

zio.aws.costoptimizationhub.model.EnrollmentStatus.scala Maven / Gradle / Ivy

package zio.aws.costoptimizationhub.model
import scala.jdk.CollectionConverters.*
sealed trait EnrollmentStatus {
  def unwrap: software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus
}
object EnrollmentStatus {
  def wrap(
      value: software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus
  ): zio.aws.costoptimizationhub.model.EnrollmentStatus = value match {
    case software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus.ACTIVE =>
      val r = Active
      r
    case software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus.INACTIVE =>
      val r = Inactive
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.costoptimizationhub.model.EnrollmentStatus {
    override def unwrap
        : software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus =
      software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus.UNKNOWN_TO_SDK_VERSION
  }
  case object Active
      extends zio.aws.costoptimizationhub.model.EnrollmentStatus {
    override def unwrap
        : software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus =
      software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus.ACTIVE
  }
  case object Inactive
      extends zio.aws.costoptimizationhub.model.EnrollmentStatus {
    override def unwrap
        : software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus =
      software.amazon.awssdk.services.costoptimizationhub.model.EnrollmentStatus.INACTIVE
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy