docs: public void marshall(ActivityTaskCanceledEventAttributes activityTaskCanceledEventAttributes, ProtocolMarshaller protocolMarshaller) {
  
          if (activityTaskCanceledEventAttributes == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(activityTaskCanceledEventAttributes.getDetails(), DETAILS_BINDING);
              protocolMarshaller.marshall(activityTaskCanceledEventAttributes.getScheduledEventId(), SCHEDULEDEVENTID_BINDING);
              protocolMarshaller.marshall(activityTaskCanceledEventAttributes.getStartedEventId(), STARTEDEVENTID_BINDING);
              protocolMarshaller.marshall(activityTaskCanceledEventAttributes.getLatestCancelRequestedEventId(), LATESTCANCELREQUESTEDEVENTID_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }