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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy