code: public void marshall(AdminSetUserMFAPreferenceRequest adminSetUserMFAPreferenceRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (adminSetUserMFAPreferenceRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(adminSetUserMFAPreferenceRequest.getSMSMfaSettings(), SMSMFASETTINGS_BINDING);
              protocolMarshaller.marshall(adminSetUserMFAPreferenceRequest.getSoftwareTokenMfaSettings(), SOFTWARETOKENMFASETTINGS_BINDING);
              protocolMarshaller.marshall(adminSetUserMFAPreferenceRequest.getUsername(), USERNAME_BINDING);
              protocolMarshaller.marshall(adminSetUserMFAPreferenceRequest.getUserPoolId(), USERPOOLID_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.