public void marshall(DescribeDirectConnectGatewayAssociationProposalsRequest describeDirectConnectGatewayAssociationProposalsRequest,
            ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(describeDirectConnectGatewayAssociationProposalsRequest.getDirectConnectGatewayId(), DIRECTCONNECTGATEWAYID_BINDING);
            protocolMarshaller.marshall(describeDirectConnectGatewayAssociationProposalsRequest.getProposalId(), PROPOSALID_BINDING);
            protocolMarshaller.marshall(describeDirectConnectGatewayAssociationProposalsRequest.getAssociatedGatewayId(), ASSOCIATEDGATEWAYID_BINDING);
            protocolMarshaller.marshall(describeDirectConnectGatewayAssociationProposalsRequest.getMaxResults(), MAXRESULTS_BINDING);
            protocolMarshaller.marshall(describeDirectConnectGatewayAssociationProposalsRequest.getNextToken(), NEXTTOKEN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( DescribeDirectConnectGatewayAssociationProposalsRequest describeDirectConnectGatewayAssociationProposalsRequest , ProtocolMarshaller protocolMarshaller ) { if ( describeDirectConnectGatewayAssociationProposalsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( describeDirectConnectGatewayAssociationProposalsRequest . getDirectConnectGatewayId ( ) , DIRECTCONNECTGATEWAYID_BINDING ) ; protocolMarshaller . marshall ( describeDirectConnectGatewayAssociationProposalsRequest . getProposalId ( ) , PROPOSALID_BINDING ) ; protocolMarshaller . marshall ( describeDirectConnectGatewayAssociationProposalsRequest . getAssociatedGatewayId ( ) , ASSOCIATEDGATEWAYID_BINDING ) ; protocolMarshaller . marshall ( describeDirectConnectGatewayAssociationProposalsRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; protocolMarshaller . marshall ( describeDirectConnectGatewayAssociationProposalsRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.