docs: public void marshall(GetResourceSharesRequest getResourceSharesRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getResourceSharesRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getResourceSharesRequest.getResourceShareArns(), RESOURCESHAREARNS_BINDING);
              protocolMarshaller.marshall(getResourceSharesRequest.getResourceShareStatus(), RESOURCESHARESTATUS_BINDING);
              protocolMarshaller.marshall(getResourceSharesRequest.getResourceOwner(), RESOURCEOWNER_BINDING);
              protocolMarshaller.marshall(getResourceSharesRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(getResourceSharesRequest.getTagFilters(), TAGFILTERS_BINDING);
              protocolMarshaller.marshall(getResourceSharesRequest.getNextToken(), NEXTTOKEN_BINDING);
              protocolMarshaller.marshall(getResourceSharesRequest.getMaxResults(), MAXRESULTS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }