docs: public void marshall(CloudwatchMetricAction cloudwatchMetricAction, ProtocolMarshaller protocolMarshaller) {
  
          if (cloudwatchMetricAction == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(cloudwatchMetricAction.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(cloudwatchMetricAction.getMetricNamespace(), METRICNAMESPACE_BINDING);
              protocolMarshaller.marshall(cloudwatchMetricAction.getMetricName(), METRICNAME_BINDING);
              protocolMarshaller.marshall(cloudwatchMetricAction.getMetricValue(), METRICVALUE_BINDING);
              protocolMarshaller.marshall(cloudwatchMetricAction.getMetricUnit(), METRICUNIT_BINDING);
              protocolMarshaller.marshall(cloudwatchMetricAction.getMetricTimestamp(), METRICTIMESTAMP_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }