public void marshall(DescribeServicesRequest describeServicesRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(describeServicesRequest.getCluster(), CLUSTER_BINDING);
            protocolMarshaller.marshall(describeServicesRequest.getServices(), SERVICES_BINDING);
            protocolMarshaller.marshall(describeServicesRequest.getInclude(), INCLUDE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( DescribeServicesRequest describeServicesRequest , ProtocolMarshaller protocolMarshaller ) { if ( describeServicesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( describeServicesRequest . getCluster ( ) , CLUSTER_BINDING ) ; protocolMarshaller . marshall ( describeServicesRequest . getServices ( ) , SERVICES_BINDING ) ; protocolMarshaller . marshall ( describeServicesRequest . getInclude ( ) , INCLUDE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.