asAddToProjectMemberPool
Casts this PolicyGrantDetail as a AddToProjectMemberPool and retrieves its aws.sdk.kotlin.services.datazone.model.AddToProjectMemberPoolPolicyGrantDetail value. Throws an exception if the PolicyGrantDetail is not a AddToProjectMemberPool.