code: @Override
      public SetUserMFAPreferenceResult setUserMFAPreference(SetUserMFAPreferenceRequest request) {
          request = beforeClientExecution(request);
          return executeSetUserMFAPreference(request);
      }
docs: <p>
  Set the user's multi-factor authentication (MFA) method preference.
  </p>
  
  @param setUserMFAPreferenceRequest
  @return Result of the SetUserMFAPreference operation returned by the service.
  @throws ResourceNotFoundException
  This exception is thrown when the Amazon Cognito service cannot find the requested resource.
  @throws InvalidParameterException
  This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
  @throws NotAuthorizedException
  This exception is thrown when a user is not authorized.
  @throws PasswordResetRequiredException
  This exception is thrown when a password reset is required.
  @throws UserNotFoundException
  This exception is thrown when a user is not found.
  @throws UserNotConfirmedException
  This exception is thrown when a user is not confirmed successfully.
  @throws InternalErrorException
  This exception is thrown when Amazon Cognito encounters an internal error.
  @sample AWSCognitoIdentityProvider.SetUserMFAPreference
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreference"
  target="_top">AWS API Documentation</a>