public Request<CreateAdditionalAssignmentsForHITRequest> marshall(CreateAdditionalAssignmentsForHITRequest createAdditionalAssignmentsForHITRequest) { if (createAdditionalAssignmentsForHITRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<CreateAdditionalAssignmentsForHITRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller( SDK_OPERATION_BINDING, createAdditionalAssignmentsForHITRequest); protocolMarshaller.startMarshalling(); CreateAdditionalAssignmentsForHITRequestMarshaller.getInstance().marshall(createAdditionalAssignmentsForHITRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }