AuditEventFieldValueUnion
Object to store union of Field values.
This data type is a UNION, so only one of the following members can be specified when used or returned.
Inheritors
Types
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double value type. Only one value can be provided.
An empty value. You cannot set EmptyFieldValue
on a field that is required on a case template.
Can be either null, or have a String value type. Only one value can be provided.
Can be either null, or have a String value type formatted as an ARN. Only one value can be provided.
Functions
Casts this AuditEventFieldValueUnion as a BooleanValue and retrieves its kotlin.Boolean value. Throws an exception if the AuditEventFieldValueUnion is not a BooleanValue.
Casts this AuditEventFieldValueUnion as a BooleanValue and retrieves its kotlin.Boolean value. Returns null if the AuditEventFieldValueUnion is not a BooleanValue.
Casts this AuditEventFieldValueUnion as a DoubleValue and retrieves its kotlin.Double value. Throws an exception if the AuditEventFieldValueUnion is not a DoubleValue.
Casts this AuditEventFieldValueUnion as a DoubleValue and retrieves its kotlin.Double value. Returns null if the AuditEventFieldValueUnion is not a DoubleValue.
Casts this AuditEventFieldValueUnion as a EmptyValue and retrieves its aws.sdk.kotlin.services.connectcases.model.EmptyFieldValue value. Throws an exception if the AuditEventFieldValueUnion is not a EmptyValue.
Casts this AuditEventFieldValueUnion as a EmptyValue and retrieves its aws.sdk.kotlin.services.connectcases.model.EmptyFieldValue value. Returns null if the AuditEventFieldValueUnion is not a EmptyValue.
Casts this AuditEventFieldValueUnion as a StringValue and retrieves its kotlin.String value. Throws an exception if the AuditEventFieldValueUnion is not a StringValue.
Casts this AuditEventFieldValueUnion as a StringValue and retrieves its kotlin.String value. Returns null if the AuditEventFieldValueUnion is not a StringValue.
Casts this AuditEventFieldValueUnion as a UserArnValue and retrieves its kotlin.String value. Throws an exception if the AuditEventFieldValueUnion is not a UserArnValue.
Casts this AuditEventFieldValueUnion as a UserArnValue and retrieves its kotlin.String value. Returns null if the AuditEventFieldValueUnion is not a UserArnValue.