public void marshall(ListTrainingJobsRequest listTrainingJobsRequest, ProtocolMarshaller protocolMarshaller) {

        if (listTrainingJobsRequest == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(listTrainingJobsRequest.getNextToken(), NEXTTOKEN_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getMaxResults(), MAXRESULTS_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getCreationTimeAfter(), CREATIONTIMEAFTER_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getCreationTimeBefore(), CREATIONTIMEBEFORE_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getLastModifiedTimeAfter(), LASTMODIFIEDTIMEAFTER_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getLastModifiedTimeBefore(), LASTMODIFIEDTIMEBEFORE_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getNameContains(), NAMECONTAINS_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getStatusEquals(), STATUSEQUALS_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getSortBy(), SORTBY_BINDING);
            protocolMarshaller.marshall(listTrainingJobsRequest.getSortOrder(), SORTORDER_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ListTrainingJobsRequest listTrainingJobsRequest , ProtocolMarshaller protocolMarshaller ) { if ( listTrainingJobsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listTrainingJobsRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getCreationTimeAfter ( ) , CREATIONTIMEAFTER_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getCreationTimeBefore ( ) , CREATIONTIMEBEFORE_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getLastModifiedTimeAfter ( ) , LASTMODIFIEDTIMEAFTER_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getLastModifiedTimeBefore ( ) , LASTMODIFIEDTIMEBEFORE_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getNameContains ( ) , NAMECONTAINS_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getStatusEquals ( ) , STATUSEQUALS_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getSortBy ( ) , SORTBY_BINDING ) ; protocolMarshaller . marshall ( listTrainingJobsRequest . getSortOrder ( ) , SORTORDER_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.