docs: public void marshall(ScheduleActivityTaskFailedEventAttributes scheduleActivityTaskFailedEventAttributes, ProtocolMarshaller protocolMarshaller) {
  
          if (scheduleActivityTaskFailedEventAttributes == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(scheduleActivityTaskFailedEventAttributes.getActivityType(), ACTIVITYTYPE_BINDING);
              protocolMarshaller.marshall(scheduleActivityTaskFailedEventAttributes.getActivityId(), ACTIVITYID_BINDING);
              protocolMarshaller.marshall(scheduleActivityTaskFailedEventAttributes.getCause(), CAUSE_BINDING);
              protocolMarshaller.marshall(scheduleActivityTaskFailedEventAttributes.getDecisionTaskCompletedEventId(), DECISIONTASKCOMPLETEDEVENTID_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }