code: public void marshall(TrainingJobSummary trainingJobSummary, ProtocolMarshaller protocolMarshaller) {
  
          if (trainingJobSummary == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(trainingJobSummary.getTrainingJobName(), TRAININGJOBNAME_BINDING);
              protocolMarshaller.marshall(trainingJobSummary.getTrainingJobArn(), TRAININGJOBARN_BINDING);
              protocolMarshaller.marshall(trainingJobSummary.getCreationTime(), CREATIONTIME_BINDING);
              protocolMarshaller.marshall(trainingJobSummary.getTrainingEndTime(), TRAININGENDTIME_BINDING);
              protocolMarshaller.marshall(trainingJobSummary.getLastModifiedTime(), LASTMODIFIEDTIME_BINDING);
              protocolMarshaller.marshall(trainingJobSummary.getTrainingJobStatus(), TRAININGJOBSTATUS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.