public void marshall(GetResourceShareInvitationsRequest getResourceShareInvitationsRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(getResourceShareInvitationsRequest.getResourceShareInvitationArns(), RESOURCESHAREINVITATIONARNS_BINDING);
            protocolMarshaller.marshall(getResourceShareInvitationsRequest.getResourceShareArns(), RESOURCESHAREARNS_BINDING);
            protocolMarshaller.marshall(getResourceShareInvitationsRequest.getNextToken(), NEXTTOKEN_BINDING);
            protocolMarshaller.marshall(getResourceShareInvitationsRequest.getMaxResults(), MAXRESULTS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( GetResourceShareInvitationsRequest getResourceShareInvitationsRequest , ProtocolMarshaller protocolMarshaller ) { if ( getResourceShareInvitationsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getResourceShareInvitationsRequest . getResourceShareInvitationArns ( ) , RESOURCESHAREINVITATIONARNS_BINDING ) ; protocolMarshaller . marshall ( getResourceShareInvitationsRequest . getResourceShareArns ( ) , RESOURCESHAREARNS_BINDING ) ; protocolMarshaller . marshall ( getResourceShareInvitationsRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; protocolMarshaller . marshall ( getResourceShareInvitationsRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.