code: @Override
      public SetLoggingOptionsResult setLoggingOptions(SetLoggingOptionsRequest request) {
          request = beforeClientExecution(request);
          return executeSetLoggingOptions(request);
      }
docs: <p>
  Sets the logging options.
  </p>
  <p>
  NOTE: use of this command is not recommended. Use <code>SetV2LoggingOptions</code> instead.
  </p>
  
  @param setLoggingOptionsRequest
  The input for the SetLoggingOptions operation.
  @return Result of the SetLoggingOptions operation returned by the service.
  @throws InternalException
  An unexpected error has occurred.
  @throws InvalidRequestException
  The request is not valid.
  @throws ServiceUnavailableException
  The service is temporarily unavailable.
  @sample AWSIot.SetLoggingOptions