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

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

There is a newer version: 7.28.29.10
Show newest version
package zio.aws.tnb.model
import zio.ZIO
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class UpdateSolNetworkPackageResponse(
    nsdOperationalState: zio.aws.tnb.model.NsdOperationalState
) {
  def buildAwsValue()
      : software.amazon.awssdk.services.tnb.model.UpdateSolNetworkPackageResponse = {
    import UpdateSolNetworkPackageResponse.zioAwsBuilderHelper.BuilderOps
    software.amazon.awssdk.services.tnb.model.UpdateSolNetworkPackageResponse
      .builder()
      .nsdOperationalState(nsdOperationalState.unwrap)
      .build()
  }
  def asReadOnly: zio.aws.tnb.model.UpdateSolNetworkPackageResponse.ReadOnly =
    zio.aws.tnb.model.UpdateSolNetworkPackageResponse.wrap(buildAwsValue())
}
object UpdateSolNetworkPackageResponse {
  private lazy val zioAwsBuilderHelper: BuilderHelper[
    software.amazon.awssdk.services.tnb.model.UpdateSolNetworkPackageResponse
  ] = BuilderHelper.apply
  trait ReadOnly {
    def asEditable: zio.aws.tnb.model.UpdateSolNetworkPackageResponse =
      zio.aws.tnb.model.UpdateSolNetworkPackageResponse(nsdOperationalState)
    def nsdOperationalState: zio.aws.tnb.model.NsdOperationalState
    def getNsdOperationalState
        : ZIO[Any, Nothing, zio.aws.tnb.model.NsdOperationalState] =
      ZIO.succeed(nsdOperationalState)
  }
  private final class Wrapper(
      impl: software.amazon.awssdk.services.tnb.model.UpdateSolNetworkPackageResponse
  ) extends zio.aws.tnb.model.UpdateSolNetworkPackageResponse.ReadOnly {
    override val nsdOperationalState: zio.aws.tnb.model.NsdOperationalState =
      zio.aws.tnb.model.NsdOperationalState.wrap(impl.nsdOperationalState())
  }
  def wrap(
      impl: software.amazon.awssdk.services.tnb.model.UpdateSolNetworkPackageResponse
  ): zio.aws.tnb.model.UpdateSolNetworkPackageResponse.ReadOnly = new Wrapper(
    impl
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy