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

zio.aws.ram.model.EnableSharingWithAwsOrganizationRequest.scala Maven / Gradle / Ivy

The newest version!
package zio.aws.ram.model
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class EnableSharingWithAwsOrganizationRequest() {
  def buildAwsValue()
      : software.amazon.awssdk.services.ram.model.EnableSharingWithAwsOrganizationRequest = {
    import EnableSharingWithAwsOrganizationRequest.zioAwsBuilderHelper.BuilderOps
    software.amazon.awssdk.services.ram.model.EnableSharingWithAwsOrganizationRequest
      .builder()
      .build()
  }
  def asReadOnly
      : zio.aws.ram.model.EnableSharingWithAwsOrganizationRequest.ReadOnly =
    zio.aws.ram.model.EnableSharingWithAwsOrganizationRequest
      .wrap(buildAwsValue())
}
object EnableSharingWithAwsOrganizationRequest {
  private lazy val zioAwsBuilderHelper: BuilderHelper[
    software.amazon.awssdk.services.ram.model.EnableSharingWithAwsOrganizationRequest
  ] = BuilderHelper.apply
  trait ReadOnly {
    def asEditable: zio.aws.ram.model.EnableSharingWithAwsOrganizationRequest =
      zio.aws.ram.model.EnableSharingWithAwsOrganizationRequest()
  }
  private final class Wrapper(
      impl: software.amazon.awssdk.services.ram.model.EnableSharingWithAwsOrganizationRequest
  ) extends zio.aws.ram.model.EnableSharingWithAwsOrganizationRequest.ReadOnly
  def wrap(
      impl: software.amazon.awssdk.services.ram.model.EnableSharingWithAwsOrganizationRequest
  ): zio.aws.ram.model.EnableSharingWithAwsOrganizationRequest.ReadOnly =
    new Wrapper(impl)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy