code: private static String decodeIfSpecified(String value, boolean decode) {
          return decode ? SdkHttpUtils.urlDecode(value) : value;
      }
docs: Perform a url decode on the given value if specified.
  Return value by default;