pub fn build(
            self,
        ) -> crate::model::RequestCancelExternalWorkflowExecutionFailedEventAttributes {
            crate::model::RequestCancelExternalWorkflowExecutionFailedEventAttributes {
                workflow_id: self.workflow_id,
                run_id: self.run_id,
                cause: self.cause,
                initiated_event_id: self.initiated_event_id.unwrap_or_default(),
                decision_task_completed_event_id: self
                    .decision_task_completed_event_id
                    .unwrap_or_default(),
                control: self.control,
            }
        }
/// Consumes the builder and constructs a [`RequestCancelExternalWorkflowExecutionFailedEventAttributes`](crate::model::RequestCancelExternalWorkflowExecutionFailedEventAttributes)
Consumes the builder and constructs a [`RequestCancelExternalWorkflowExecutionFailedEventAttributes`](crate::model::RequestCancelExternalWorkflowExecutionFailedEventAttributes)
Consumes the builder and constructs a [ ` RequestCancelExternalWorkflowExecutionFailedEventAttributes ` ] ( crate :: model :: RequestCancelExternalWorkflowExecutionFailedEventAttributes )
pub fn build(
            self,
        ) -> crate::model::RequestCancelExternalWorkflowExecutionFailedEventAttributes {
            crate::model::RequestCancelExternalWorkflowExecutionFailedEventAttributes {
                workflow_id: self.workflow_id,
                run_id: self.run_id,
                cause: self.cause,
                initiated_event_id: self.initiated_event_id.unwrap_or_default(),
                decision_task_completed_event_id: self
                    .decision_task_completed_event_id
                    .unwrap_or_default(),
                control: self.control,
            }
        }
pub fn build ( self , ) -> crate :: model :: RequestCancelExternalWorkflowExecutionFailedEventAttributes { crate :: model :: RequestCancelExternalWorkflowExecutionFailedEventAttributes { workflow_id : self . workflow_id , run_id : self . run_id , cause : self . cause , initiated_event_id : self . initiated_event_id . unwrap_or_default ( ) , decision_task_completed_event_id : self . decision_task_completed_event_id . unwrap_or_default ( ) , control : self . control , } }
Consumes the builder and constructs a [`RequestCancelExternalWorkflowExecutionFailedEventAttributes`](crate::model::RequestCancelExternalWorkflowExecutionFailedEventAttributes)
Consumes the builder and constructs a [ ` RequestCancelExternalWorkflowExecutionFailedEventAttributes ` ] ( crate :: model :: RequestCancelExternalWorkflowExecutionFailedEventAttributes )
self
self