docs: public void marshall(AssociatePrincipalWithPortfolioRequest associatePrincipalWithPortfolioRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (associatePrincipalWithPortfolioRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(associatePrincipalWithPortfolioRequest.getAcceptLanguage(), ACCEPTLANGUAGE_BINDING);
              protocolMarshaller.marshall(associatePrincipalWithPortfolioRequest.getPortfolioId(), PORTFOLIOID_BINDING);
              protocolMarshaller.marshall(associatePrincipalWithPortfolioRequest.getPrincipalARN(), PRINCIPALARN_BINDING);
              protocolMarshaller.marshall(associatePrincipalWithPortfolioRequest.getPrincipalType(), PRINCIPALTYPE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }