code: public void marshall(GetWorkflowExecutionHistoryRequest getWorkflowExecutionHistoryRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getWorkflowExecutionHistoryRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getWorkflowExecutionHistoryRequest.getDomain(), DOMAIN_BINDING);
              protocolMarshaller.marshall(getWorkflowExecutionHistoryRequest.getExecution(), EXECUTION_BINDING);
              protocolMarshaller.marshall(getWorkflowExecutionHistoryRequest.getNextPageToken(), NEXTPAGETOKEN_BINDING);
              protocolMarshaller.marshall(getWorkflowExecutionHistoryRequest.getMaximumPageSize(), MAXIMUMPAGESIZE_BINDING);
              protocolMarshaller.marshall(getWorkflowExecutionHistoryRequest.getReverseOrder(), REVERSEORDER_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.