zio.aws.costoptimizationhub.model.SavingsEstimationMode.scala Maven / Gradle / Ivy
package zio.aws.costoptimizationhub.model
import scala.jdk.CollectionConverters.*
sealed trait SavingsEstimationMode {
def unwrap: software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode
}
object SavingsEstimationMode {
def wrap(
value: software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode
): zio.aws.costoptimizationhub.model.SavingsEstimationMode = value match {
case software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode.BEFORE_DISCOUNTS =>
val r = BeforeDiscounts
r
case software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode.AFTER_DISCOUNTS =>
val r = AfterDiscounts
r
}
case object unknownToSdkVersion
extends zio.aws.costoptimizationhub.model.SavingsEstimationMode {
override def unwrap
: software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode =
software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode.UNKNOWN_TO_SDK_VERSION
}
case object BeforeDiscounts
extends zio.aws.costoptimizationhub.model.SavingsEstimationMode {
override def unwrap
: software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode =
software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode.BEFORE_DISCOUNTS
}
case object AfterDiscounts
extends zio.aws.costoptimizationhub.model.SavingsEstimationMode {
override def unwrap
: software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode =
software.amazon.awssdk.services.costoptimizationhub.model.SavingsEstimationMode.AFTER_DISCOUNTS
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy