zio.aws.verifiedpermissions.model.DeletePolicyResponse.scala Maven / Gradle / Ivy
package zio.aws.verifiedpermissions.model
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters._
final case class DeletePolicyResponse() {
def buildAwsValue()
: software.amazon.awssdk.services.verifiedpermissions.model.DeletePolicyResponse = {
import DeletePolicyResponse.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.verifiedpermissions.model.DeletePolicyResponse
.builder()
.build()
}
def asReadOnly
: zio.aws.verifiedpermissions.model.DeletePolicyResponse.ReadOnly =
zio.aws.verifiedpermissions.model.DeletePolicyResponse.wrap(buildAwsValue())
}
object DeletePolicyResponse {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.verifiedpermissions.model.DeletePolicyResponse
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.verifiedpermissions.model.DeletePolicyResponse =
zio.aws.verifiedpermissions.model.DeletePolicyResponse()
}
private final class Wrapper(
impl: software.amazon.awssdk.services.verifiedpermissions.model.DeletePolicyResponse
) extends zio.aws.verifiedpermissions.model.DeletePolicyResponse.ReadOnly
def wrap(
impl: software.amazon.awssdk.services.verifiedpermissions.model.DeletePolicyResponse
): zio.aws.verifiedpermissions.model.DeletePolicyResponse.ReadOnly =
new Wrapper(impl)
}