public void marshall(QueryExecutionStatus queryExecutionStatus, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(queryExecutionStatus.getState(), STATE_BINDING);
            protocolMarshaller.marshall(queryExecutionStatus.getStateChangeReason(), STATECHANGEREASON_BINDING);
            protocolMarshaller.marshall(queryExecutionStatus.getSubmissionDateTime(), SUBMISSIONDATETIME_BINDING);
            protocolMarshaller.marshall(queryExecutionStatus.getCompletionDateTime(), COMPLETIONDATETIME_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( QueryExecutionStatus queryExecutionStatus , ProtocolMarshaller protocolMarshaller ) { if ( queryExecutionStatus == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( queryExecutionStatus . getState ( ) , STATE_BINDING ) ; protocolMarshaller . marshall ( queryExecutionStatus . getStateChangeReason ( ) , STATECHANGEREASON_BINDING ) ; protocolMarshaller . marshall ( queryExecutionStatus . getSubmissionDateTime ( ) , SUBMISSIONDATETIME_BINDING ) ; protocolMarshaller . marshall ( queryExecutionStatus . getCompletionDateTime ( ) , COMPLETIONDATETIME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.