docs: public void marshall(DirectConnectGateway directConnectGateway, ProtocolMarshaller protocolMarshaller) {
  
          if (directConnectGateway == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(directConnectGateway.getDirectConnectGatewayId(), DIRECTCONNECTGATEWAYID_BINDING);
              protocolMarshaller.marshall(directConnectGateway.getDirectConnectGatewayName(), DIRECTCONNECTGATEWAYNAME_BINDING);
              protocolMarshaller.marshall(directConnectGateway.getAmazonSideAsn(), AMAZONSIDEASN_BINDING);
              protocolMarshaller.marshall(directConnectGateway.getOwnerAccount(), OWNERACCOUNT_BINDING);
              protocolMarshaller.marshall(directConnectGateway.getDirectConnectGatewayState(), DIRECTCONNECTGATEWAYSTATE_BINDING);
              protocolMarshaller.marshall(directConnectGateway.getStateChangeError(), STATECHANGEERROR_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }