docs: public void marshall(GetEntitlementsRequest getEntitlementsRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getEntitlementsRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getEntitlementsRequest.getProductCode(), PRODUCTCODE_BINDING);
              protocolMarshaller.marshall(getEntitlementsRequest.getFilter(), FILTER_BINDING);
              protocolMarshaller.marshall(getEntitlementsRequest.getNextToken(), NEXTTOKEN_BINDING);
              protocolMarshaller.marshall(getEntitlementsRequest.getMaxResults(), MAXRESULTS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }