
zio.aws.licensemanager.model.OrganizationConfiguration.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-licensemanager_3 Show documentation
Show all versions of zio-aws-licensemanager_3 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.licensemanager.model
import zio.ZIO
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class OrganizationConfiguration(enableIntegration: Boolean) {
def buildAwsValue()
: software.amazon.awssdk.services.licensemanager.model.OrganizationConfiguration = {
import OrganizationConfiguration.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.licensemanager.model.OrganizationConfiguration
.builder()
.enableIntegration(enableIntegration: java.lang.Boolean)
.build()
}
def asReadOnly
: zio.aws.licensemanager.model.OrganizationConfiguration.ReadOnly =
zio.aws.licensemanager.model.OrganizationConfiguration.wrap(buildAwsValue())
}
object OrganizationConfiguration {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.licensemanager.model.OrganizationConfiguration
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.licensemanager.model.OrganizationConfiguration =
zio.aws.licensemanager.model.OrganizationConfiguration(enableIntegration)
def enableIntegration: Boolean
def getEnableIntegration: ZIO[Any, Nothing, Boolean] =
ZIO.succeed(enableIntegration)
}
private final class Wrapper(
impl: software.amazon.awssdk.services.licensemanager.model.OrganizationConfiguration
) extends zio.aws.licensemanager.model.OrganizationConfiguration.ReadOnly {
override val enableIntegration: Boolean = impl.enableIntegration(): Boolean
}
def wrap(
impl: software.amazon.awssdk.services.licensemanager.model.OrganizationConfiguration
): zio.aws.licensemanager.model.OrganizationConfiguration.ReadOnly =
new Wrapper(impl)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy