code: public void marshall(CreateHITRequest createHITRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createHITRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createHITRequest.getMaxAssignments(), MAXASSIGNMENTS_BINDING);
              protocolMarshaller.marshall(createHITRequest.getAutoApprovalDelayInSeconds(), AUTOAPPROVALDELAYINSECONDS_BINDING);
              protocolMarshaller.marshall(createHITRequest.getLifetimeInSeconds(), LIFETIMEINSECONDS_BINDING);
              protocolMarshaller.marshall(createHITRequest.getAssignmentDurationInSeconds(), ASSIGNMENTDURATIONINSECONDS_BINDING);
              protocolMarshaller.marshall(createHITRequest.getReward(), REWARD_BINDING);
              protocolMarshaller.marshall(createHITRequest.getTitle(), TITLE_BINDING);
              protocolMarshaller.marshall(createHITRequest.getKeywords(), KEYWORDS_BINDING);
              protocolMarshaller.marshall(createHITRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(createHITRequest.getQuestion(), QUESTION_BINDING);
              protocolMarshaller.marshall(createHITRequest.getRequesterAnnotation(), REQUESTERANNOTATION_BINDING);
              protocolMarshaller.marshall(createHITRequest.getQualificationRequirements(), QUALIFICATIONREQUIREMENTS_BINDING);
              protocolMarshaller.marshall(createHITRequest.getUniqueRequestToken(), UNIQUEREQUESTTOKEN_BINDING);
              protocolMarshaller.marshall(createHITRequest.getAssignmentReviewPolicy(), ASSIGNMENTREVIEWPOLICY_BINDING);
              protocolMarshaller.marshall(createHITRequest.getHITReviewPolicy(), HITREVIEWPOLICY_BINDING);
              protocolMarshaller.marshall(createHITRequest.getHITLayoutId(), HITLAYOUTID_BINDING);
              protocolMarshaller.marshall(createHITRequest.getHITLayoutParameters(), HITLAYOUTPARAMETERS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.