You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: _event_destination_definition.rs
    path of file: ./repos/aws-sdk-rust/sdk/pinpointemail/src/types
    
    the code of the file until where you have to start completion: // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.</p>
#[non_exhaustive]
#[d
    
    pub fn build(self) -> crate::types::EventDestinationDefinition {
        crate::types::EventDestinationDefinition {
            enabled: self.enabled.unwrap_or_default(),
            matching_event_types: self.matching_event_types,
            kinesis_firehose_destination: self.kinesis_firehose_destination,
            cloud_watch_destination: self.cloud_watch_destination,
            sns_destination: self.sns_destination,
            pinpoint_destination: self.pinpoint_destination,
        }
    }