public void marshall(ListAggregateDiscoveredResourcesRequest listAggregateDiscoveredResourcesRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(listAggregateDiscoveredResourcesRequest.getConfigurationAggregatorName(), CONFIGURATIONAGGREGATORNAME_BINDING);
            protocolMarshaller.marshall(listAggregateDiscoveredResourcesRequest.getResourceType(), RESOURCETYPE_BINDING);
            protocolMarshaller.marshall(listAggregateDiscoveredResourcesRequest.getFilters(), FILTERS_BINDING);
            protocolMarshaller.marshall(listAggregateDiscoveredResourcesRequest.getLimit(), LIMIT_BINDING);
            protocolMarshaller.marshall(listAggregateDiscoveredResourcesRequest.getNextToken(), NEXTTOKEN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ListAggregateDiscoveredResourcesRequest listAggregateDiscoveredResourcesRequest , ProtocolMarshaller protocolMarshaller ) { if ( listAggregateDiscoveredResourcesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listAggregateDiscoveredResourcesRequest . getConfigurationAggregatorName ( ) , CONFIGURATIONAGGREGATORNAME_BINDING ) ; protocolMarshaller . marshall ( listAggregateDiscoveredResourcesRequest . getResourceType ( ) , RESOURCETYPE_BINDING ) ; protocolMarshaller . marshall ( listAggregateDiscoveredResourcesRequest . getFilters ( ) , FILTERS_BINDING ) ; protocolMarshaller . marshall ( listAggregateDiscoveredResourcesRequest . getLimit ( ) , LIMIT_BINDING ) ; protocolMarshaller . marshall ( listAggregateDiscoveredResourcesRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.