code: public void marshall(GatewaySummary gatewaySummary, ProtocolMarshaller protocolMarshaller) {
  
          if (gatewaySummary == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(gatewaySummary.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(gatewaySummary.getName(), NAME_BINDING);
              protocolMarshaller.marshall(gatewaySummary.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(gatewaySummary.getGatewayGroupArn(), GATEWAYGROUPARN_BINDING);
              protocolMarshaller.marshall(gatewaySummary.getSoftwareVersion(), SOFTWAREVERSION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.