public ActivityTaskCanceledEventAttributes withLatestCancelRequestedEventId(Long latestCancelRequestedEventId) {
        setLatestCancelRequestedEventId(latestCancelRequestedEventId);
        return this;
    }
<p>
If set, contains the ID of the last <code>ActivityTaskCancelRequested</code> event recorded for this activity
task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to
this event.
</p>

@param latestCancelRequestedEventId
       If set, contains the ID of the last <code>ActivityTaskCancelRequested</code> event recorded for this
       activity task. This information can be useful for diagnosing problems by tracing back the chain of events
       leading up to this event.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/ActivityTaskCanceledEventAttributes.java