docs: public void marshall(DirectConnectGatewayAssociation directConnectGatewayAssociation, ProtocolMarshaller protocolMarshaller) {
  
          if (directConnectGatewayAssociation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(directConnectGatewayAssociation.getDirectConnectGatewayId(), DIRECTCONNECTGATEWAYID_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getDirectConnectGatewayOwnerAccount(), DIRECTCONNECTGATEWAYOWNERACCOUNT_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getAssociationState(), ASSOCIATIONSTATE_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getStateChangeError(), STATECHANGEERROR_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getAssociatedGateway(), ASSOCIATEDGATEWAY_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getAssociationId(), ASSOCIATIONID_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getAllowedPrefixesToDirectConnectGateway(),
                      ALLOWEDPREFIXESTODIRECTCONNECTGATEWAY_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getVirtualGatewayId(), VIRTUALGATEWAYID_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getVirtualGatewayRegion(), VIRTUALGATEWAYREGION_BINDING);
              protocolMarshaller.marshall(directConnectGatewayAssociation.getVirtualGatewayOwnerAccount(), VIRTUALGATEWAYOWNERACCOUNT_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }