Lead
Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".
Inherited functions
Casts this EngagementContextPayload as a CustomerProject and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.CustomerProjectsContext value. Throws an exception if the EngagementContextPayload is not a CustomerProject.
Casts this EngagementContextPayload as a CustomerProject and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.CustomerProjectsContext value. Returns null if the EngagementContextPayload is not a CustomerProject.
Casts this EngagementContextPayload as a Lead and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.LeadContext value. Throws an exception if the EngagementContextPayload is not a Lead.
Casts this EngagementContextPayload as a Lead and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.LeadContext value. Returns null if the EngagementContextPayload is not a Lead.