asAggregation
Casts this ConsolidatedPolicyV1 as a Aggregation and retrieves its aws.sdk.kotlin.services.cleanrooms.model.ConsolidatedPolicyAggregation value. Throws an exception if the ConsolidatedPolicyV1 is not a Aggregation.
Casts this ConsolidatedPolicyV1 as a Aggregation and retrieves its aws.sdk.kotlin.services.cleanrooms.model.ConsolidatedPolicyAggregation value. Throws an exception if the ConsolidatedPolicyV1 is not a Aggregation.