docs: public void marshall(GatewayInfo gatewayInfo, ProtocolMarshaller protocolMarshaller) {
  
          if (gatewayInfo == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(gatewayInfo.getGatewayId(), GATEWAYID_BINDING);
              protocolMarshaller.marshall(gatewayInfo.getGatewayARN(), GATEWAYARN_BINDING);
              protocolMarshaller.marshall(gatewayInfo.getGatewayType(), GATEWAYTYPE_BINDING);
              protocolMarshaller.marshall(gatewayInfo.getGatewayOperationalState(), GATEWAYOPERATIONALSTATE_BINDING);
              protocolMarshaller.marshall(gatewayInfo.getGatewayName(), GATEWAYNAME_BINDING);
              protocolMarshaller.marshall(gatewayInfo.getEc2InstanceId(), EC2INSTANCEID_BINDING);
              protocolMarshaller.marshall(gatewayInfo.getEc2InstanceRegion(), EC2INSTANCEREGION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }