public void marshall(CreateUserImportJobRequest createUserImportJobRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createUserImportJobRequest.getJobName(), JOBNAME_BINDING);
            protocolMarshaller.marshall(createUserImportJobRequest.getUserPoolId(), USERPOOLID_BINDING);
            protocolMarshaller.marshall(createUserImportJobRequest.getCloudWatchLogsRoleArn(), CLOUDWATCHLOGSROLEARN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateUserImportJobRequest createUserImportJobRequest , ProtocolMarshaller protocolMarshaller ) { if ( createUserImportJobRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createUserImportJobRequest . getJobName ( ) , JOBNAME_BINDING ) ; protocolMarshaller . marshall ( createUserImportJobRequest . getUserPoolId ( ) , USERPOOLID_BINDING ) ; protocolMarshaller . marshall ( createUserImportJobRequest . getCloudWatchLogsRoleArn ( ) , CLOUDWATCHLOGSROLEARN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.