docs: public void marshall(GetResourceMetricsRequest getResourceMetricsRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getResourceMetricsRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getResourceMetricsRequest.getServiceType(), SERVICETYPE_BINDING);
              protocolMarshaller.marshall(getResourceMetricsRequest.getIdentifier(), IDENTIFIER_BINDING);
              protocolMarshaller.marshall(getResourceMetricsRequest.getMetricQueries(), METRICQUERIES_BINDING);
              protocolMarshaller.marshall(getResourceMetricsRequest.getStartTime(), STARTTIME_BINDING);
              protocolMarshaller.marshall(getResourceMetricsRequest.getEndTime(), ENDTIME_BINDING);
              protocolMarshaller.marshall(getResourceMetricsRequest.getPeriodInSeconds(), PERIODINSECONDS_BINDING);
              protocolMarshaller.marshall(getResourceMetricsRequest.getMaxResults(), MAXRESULTS_BINDING);
              protocolMarshaller.marshall(getResourceMetricsRequest.getNextToken(), NEXTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }