docs: public void marshall(ResourceShareInvitation resourceShareInvitation, ProtocolMarshaller protocolMarshaller) {
  
          if (resourceShareInvitation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(resourceShareInvitation.getResourceShareInvitationArn(), RESOURCESHAREINVITATIONARN_BINDING);
              protocolMarshaller.marshall(resourceShareInvitation.getResourceShareName(), RESOURCESHARENAME_BINDING);
              protocolMarshaller.marshall(resourceShareInvitation.getResourceShareArn(), RESOURCESHAREARN_BINDING);
              protocolMarshaller.marshall(resourceShareInvitation.getSenderAccountId(), SENDERACCOUNTID_BINDING);
              protocolMarshaller.marshall(resourceShareInvitation.getReceiverAccountId(), RECEIVERACCOUNTID_BINDING);
              protocolMarshaller.marshall(resourceShareInvitation.getInvitationTimestamp(), INVITATIONTIMESTAMP_BINDING);
              protocolMarshaller.marshall(resourceShareInvitation.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(resourceShareInvitation.getResourceShareAssociations(), RESOURCESHAREASSOCIATIONS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }